emacs-devel
[Top][All Lists]
Advanced

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

Re: Abbrev tables in elisp with some extra stuff


From: Richard Stallman
Subject: Re: Abbrev tables in elisp with some extra stuff
Date: Wed, 17 Oct 2007 10:10:33 -0400

    >> - :abbrev-before-point-function holds a function to use to find the
    >> abbrev at point.

    Now that we have :regexp, I'm not sure it's worth the trouble.

That is good.

    >> - :enable-function can be set to a function of no argument which returns
    >> non-nil iff the abbrevs in this table should be used for this instance
    >> of `expand-abbrev'.  Useful to disable skeleton-abbrevs in strings and
    >> comments.

    Actually, it's different from :case-preserve because its used earlier
    (before we've3 have found the abbrev): it's important that it be global to
    an abbrev-table because it determines whether or not to look for a word

It is no disaster to look for a word, find it, see it is disabled,
and not expand it.  So please make this work for individual abbrevs
even if it is not as efficient.  Abbrev expansion will still be far
faster than humans can type.




reply via email to

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