[Haskell-cafe] Prettier pretty-printing of data types?
Ryan Newton
rrnewton at gmail.com
Sat Mar 17 14:35:28 CET 2012
Ah, great!
I gave it one very brief try with this mode:
http://www.emacswiki.org/emacs/FoldingMode
(folding-add-to-marks-list 'shell-mode "#{{{" "#}}}" nil t)
But I just got "not on a fold". Maybe it doesn't compose with shell mode?
It might be easier just to add similar functionality to a wrapper function
around Chris's folder/expander.
-Ryan
On Sat, Mar 17, 2012 at 9:10 AM, Brandon Allbery <allbery.b at gmail.com>wrote:
> On Sat, Mar 17, 2012 at 08:55, Ryan Newton <rrnewton at gmail.com> wrote:
>
>>
>> - If the source is available, the compiler could be tweaked to obey a
>> protocol, putting delimiters around collapsable output (possibly
>> non-printing control sequences??)
>>
>>
> I believe both emacs and vim have folding submodes which operate based on
> comments containing {{{ / }}} to bracket foldable regions.
>
> --
> brandon s allbery allbery.b at gmail.com
> wandering unix systems administrator (available) (412) 475-9364 vm/sms
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120317/6ebe0263/attachment.htm>
More information about the Haskell-Cafe
mailing list