From: "Jakub Narębski" <jnareb@fuw.edu.pl>
Subject: Re: Calling function after any abbrev expansion
Date: 12 Nov 2003 23:21:12 GMT [thread overview]
Message-ID: <bouf98$pbt$4@h1.uw.edu.pl> (raw)
In-Reply-To: 87wua5grfn.fsf@newsguy.com
Ian Zimmerman <bayard@newsguy.com> wrote:
>
> Jakub> There is `pre-abbrev-expand-hook' for functions to execute just
> Jakub> _before_ any expansion of an abbrev. Is there any way to define
> Jakub> function to execute just _after_ an expansion of _any_ abbrev,
> Jakub> possibly before caling auto-fill[-function]? Yes, I know that I
> Jakub> can define the function to call after expansion of the specific
> Jakub> abbrev, but is there any simple and fast solution for all abbrevs
> Jakub> at once?
>
> I don't know if there's a hook variable that solves your problem. If
> not, it (like anything :) can be done with defadvice.
Yeah, defadvice, but defadvice what? I have thought about advising
define-abbrev and the likes and going thru the defined (and appropriate)
advices and add after abbrev hooks to appropriate abbrevs. But I really
hope that there is a faster/simpler way...
--
Jakub Narębski mailto:jnareb@fuw.edu.pl
ZTHiL IFT UW http://info.fuw.edu.pl/~jnareb/
prev parent reply other threads:[~2003-11-12 23:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 21:11 Calling function after any abbrev expansion Jakub Narebski
2003-11-12 22:20 ` Ian Zimmerman
2003-11-12 23:21 ` Jakub Narębski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bouf98$pbt$4@h1.uw.edu.pl' \
--to=jnareb@fuw.edu.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).