From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: Re: Calling function after any abbrev expansion Date: 12 Nov 2003 14:20:12 -0800 Organization: http://extra.newsguy.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87wua5grfn.fsf@newsguy.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068678038 16371 80.91.224.253 (12 Nov 2003 23:00:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 23:00:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 13 00:00:31 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AK3yR-0006AU-00 for ; Thu, 13 Nov 2003 00:00:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AK4uv-0006zc-Ht for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2003 19:00:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4 Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: p-315.newsdawg.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:118186 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14126 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14126 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 sovles your problem. If not, it (like anything :) can be done with defadvice. -- "Rap music is our punishment for neglecting music education." An anonymous teacher