Am Sonntag, 28. Oktober 2007 22:03 schrieb Stefan Monnier: > >> > 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. > Attached a new abbrev.c with which you may choose the case for abbrevs freely: abbrev case takes no longer precedence for expansion for example wh => Whitehous Wh => whiteHouse WH => whiteHouse is possible at the same time. Some useless but harmless case-occurence counters are still in the code. Grüße Andreas Röhler (compiled with changed abbrev.c and CVS from october 28) GNU Emacs 23.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-10-30