emacs-devel
[Top][All Lists]
Advanced

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

Re: Testing new abbrev tables in elisp


From: Stefan Monnier
Subject: Re: Testing new abbrev tables in elisp
Date: Sun, 28 Oct 2007 17:03:19 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> > What about `case-sensitive'? For me as non-english
>> > speaker `folding' is not easy to follow because of the
>> > word-sence - as something knitting into. Sensitive as
>> > awareness is understood from the beginning.
>> 
>> Could work, but also suffers from the fact that the current behavior (which
>> expands `sm' to `stefan monnier' but `Sm' to `Stefan Monnier'") can be
>> considered as being "sensitive" to case.
>> 

> Beside of case-sensitivity another theme is in the
> pipe: to allow multi-word abbrevs.

Since I've installed my code this is now possible.  Just set the :regexp
property of the abbrev table accordingly.

> As it's wanted for translations, cases in one language
> (abbrevs) should not predict i.e. force cases in
> expansion.

It's easier to write ad-hoc code than to try and extend abbrevs to "do the
right thing" for that kind of unusal situation.


        Stefan




reply via email to

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