From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: bug on ognus 0.05 and emacs 21.2.50.1 Date: Wed, 3 Apr 2002 15:49:12 -0700 (MST) Sender: emacs-devel-admin@gnu.org Message-ID: <200204032249.g33MnCh12043@aztec.santafe.edu> References: <200204021826.g32IQSZ11518@aztec.santafe.edu> <2n3cyd4yak.fsf@zsh.cs.rochester.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017878583 511 127.0.0.1 (4 Apr 2002 00:03:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2002 00:03:03 +0000 (UTC) Cc: bugs@gnus.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16suiV-000088-00 for ; Thu, 04 Apr 2002 02:03:03 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16suuo-0007bI-00 for ; Thu, 04 Apr 2002 02:15:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16stap-00087g-00; Wed, 03 Apr 2002 17:51:03 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16stZF-0007uX-00; Wed, 03 Apr 2002 17:49:25 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g33MnCa20341; Wed, 3 Apr 2002 15:49:12 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g33MnCh12043; Wed, 3 Apr 2002 15:49:12 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: zsh@cs.rochester.edu Original-cc: covici@ccs.covici.com In-Reply-To: <2n3cyd4yak.fsf@zsh.cs.rochester.edu> (message from ShengHuo ZHU on Tue, 02 Apr 2002 15:53:55 -0500) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2367 I think, calling mail-abbrev-make-syntax-table in the very beginning of mail-abbrev-complete-alias fixes the problem. Ok, I did that. Thanks. John, does this fix work? Index: mailabbrev.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/mail/mailabbrev.el,v retrieving revision 1.65 retrieving revision 1.66 diff -c -c -r1.65 -r1.66 *** mailabbrev.el 23 Mar 2002 16:09:59 -0000 1.65 --- mailabbrev.el 3 Apr 2002 15:33:06 -0000 1.66 *************** *** 548,553 **** --- 548,554 ---- "Perform completion on alias preceding point." ;; Based on lisp.el:lisp-complete-symbol (interactive) + (mail-abbrev-make-syntax-table) (let* ((end (point)) (syntax-table (syntax-table)) (beg (unwind-protect