From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: possible bug in M-/ (dabbrev-expand) Date: Sun, 22 Apr 2007 21:31:43 -0400 Message-ID: References: <87slatg0x2.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177291916 30862 80.91.229.12 (23 Apr 2007 01:31:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 01:31:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Dieter Wilhelm Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 03:31:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HfnPC-0002VB-SJ for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 03:31:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfnUX-0007HM-Uy for ged-emacs-devel@m.gmane.org; Sun, 22 Apr 2007 21:37:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfnUV-0007H0-BN for emacs-devel@gnu.org; Sun, 22 Apr 2007 21:37:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HfnUT-0007GZ-Se for emacs-devel@gnu.org; Sun, 22 Apr 2007 21:37:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfnUT-0007GO-Kv; Sun, 22 Apr 2007 21:37:17 -0400 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HfnP7-0002De-Li; Sun, 22 Apr 2007 21:31:45 -0400 Original-Received: from pastel.home ([74.12.206.245]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070423013144.RGND1637.tomts20-srv.bellnexxia.net@pastel.home>; Sun, 22 Apr 2007 21:31:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id EB93A8043; Sun, 22 Apr 2007 21:31:43 -0400 (EDT) In-Reply-To: <87slatg0x2.fsf@debby.local.net> (Dieter Wilhelm's message of "Sat\, 21 Apr 2007 18\:14\:17 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69821 gmane.emacs.help:43005 Archived-At: > (defun bla ( &optional a b c) ;dummy variables > (interactive) > (save-excursion > (re-search-forward "a" nil 'noerror))) > (add-hook 'after-change-functions 'bla nil t) You probably need to save-match-data as well. Stefan