On Sun, Dec 28, 2008 at 2:04 AM, Gwern Branwen <[email protected]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > So it would be nice if Yi's haskell-mode has Unicodifying as well as > the current syntax highlighting. > > (If you don't know what I mean by this, see: > http://www.haskell.org/haskellwiki/Haskell_mode_for_Emacs#Unicodifying_symbols_.28Pretty_Lambda_for_Haskell-mode.29 > http://mult.ifario.us/p/emacs-haskell-mode-unicode-cuteness > http://www.emacswiki.org/emacs-fr/PrettyLambda ) > > But I'm not particularly familiar with Yi's codebase that has to do > with the actual contents and display. Where would one do this sort of > functionality? (The way Emacs does it is one is always manipulating > and working with regular text; just some of the regular text is > displayed as Unicode symbols.) Would it need to be specific to one UI?
I just pushed a patch that implements this. Hopefully it is self-explanatory. Otherwise, I'd be happy to comment on it. I've split it into an infrastructure and example patches to make things easier to understand. Feel free to extend on the example patch. I've put it in the "fast haskell" mode for testing. If we agree on what we want to display we can put this in the default/all haskell mode. Cheers, JP. --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
