help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are abbrevs for this?


From: Maurizio Vitale
Subject: Re: Are abbrevs for this?
Date: Thu, 11 Jun 2009 08:18:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> "Paulo" == Paulo J Matos <pocmatos@gmail.com> writes:

    Paulo> On Thu, Jun 11, 2009 at 2:13 AM, Maurizio
    Paulo> Vitale<mav@cuma.polymath-solutions.lan> wrote:
    >>>>>>> "Paulo" == Paulo J Matos <pocmatos@gmail.com> writes:
    >> 
    >>    Paulo> Hi all, I am developing a new major mode for a new  
    >>  Paulo> specification language which uses a lot of unicode
    >> symbols    Paulo> but it also has an ascii notation.  Like some
    >> scheme modes    Paulo> convert the lambda keyword into the greek
    >> lambda letter, I    Paulo> have a table of keywords that would
    >> like them to be changed    Paulo> into unicode symbols.
    >> 
    >>    Paulo> Can I use abbrevs for this?
    >> 
    >> Possibly, but take a look at Tuareg, a mode for editing Ocaml.
    >> They do replace keyword with unicode symbols, but they offer the
    >> capability of rather seamlessly editing the original keyword.

    Paulo> This is the kind of thing Tom mentioned, right?

Yes, although I'm not familiar with the Haskell mode implementation. You
know have two modes to get "inspiration" from. I'd really follow this
route rather than inserting unicode into the source code: some users may
use non-unicode aware editors, at times you may want to use Unix
commands (grep, sed, awk) that may not know of unicode, etc...
Cheers,

        Maurizio

-- 
Paulo Jorge Matos - pocmatos at gmail.com
    Paulo> http://www.pmatos.net




-- 
Maurizio Vitale
Polymath Solutions





reply via email to

[Prev in Thread] Current Thread [Next in Thread]