On Mon, May 6, 2013 at 2:58 AM, Fidel Pérez <[email protected]> wrote:

> Thank you Terry, that is exactly what I would like meant.
>
> Is there a website where abbreviation files are shared so newcomers can
> quickly being to use advanced abbreviations?
> Id love to download a python version x)
>

I've just marked this thread as to-be-documented, so that I'll remember to
document Terry's example.  But at present, this is one of the *many* hidden
features that newcomers won't easily find.

BTW, I like Terry's ;; convention.  It's not likely to occur in text, so
it's a safe way of ensuring that abbreviations get expanded only when
wanted.

At present, I use a different way of preventing unwanted expansions.  Each
abbreviation defines three different end markers.  For example::

   alp =@language python\n
   alp\n=@language python\n
   alp\t=@language python\n

The space after alp in the first line is significant.  It prevents alps
from triggering an expansion.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to