From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: mailabbrev.el, mailalias.el and related package. Date: Sat, 16 Feb 2002 14:18:42 -0600 (CST) Message-ID: <200202162018.OAA29980@eel.dms.auburn.edu> References: <200202140440.WAA20427@eel.dms.auburn.edu> <200202151036.g1FAaMU07264@santafe.santafe.edu> <200202160447.WAA29111@eel.dms.auburn.edu> <200202161610.KAA29664@eel.dms.auburn.edu> NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013891638 20455 195.204.10.66 (16 Feb 2002 20:33:58 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 16 Feb 2002 20:33:58 GMT Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16cBWw-0005Jp-00 for ; Sat, 16 Feb 2002 21:33:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cBKX-00044Z-00; Sat, 16 Feb 2002 15:21:09 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16cBHx-0003jN-00; Sat, 16 Feb 2002 15:18:29 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id OAA27076; Sat, 16 Feb 2002 14:18:27 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id OAA29980; Sat, 16 Feb 2002 14:18:42 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: keichwa@gmx.net In-reply-to: (message from Karl Eichwalder on Sat, 16 Feb 2002 20:04:47 +0100) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1219 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1219 Dear Karl, The problem is not a local configuration error on your side. This was not a problem in the original mailabbrev, but a new problem occurring in changes instituted in mailabbrev.el after Emacs21.1.90, changes made to take care of other problems that did occur in the old mailabbrev. When before applying Richard's change, something like: gnu@gnu. made gnu expand there were two problems involved: "@" had the wrong syntax and "." had the wrong syntax. (Richard actually alluded to that second problem in his reply to you.) Since @ was not considered a word constituent, the second gnu is a valid mailabbrev. However, . should nevertheless not expand mailabbrevs. Now you apply Richard's patch, making @ a word constituent and type: gnu@gnu at this stage the "word" before point is gnu@gnu, which is not a valid mailabbrev any more. But then you go on and type: gnu@gnu.gnu. You did not make "." a word constituent, so the word before point is again gnu. Since you did not fix anything for . ,it still expands that mailabbrev. You seem to suggest that the problem sometimes happens and sometimes not. That would make perfect sense, because it all seems to depend on the syntax table you start out with. (It actually should not depend on that.) When I have time to look deeper into it, I will double check this and look at the technical details involved. In any case my new package takes care of the problems that the changes were intended to take care of without introducing this new problem. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel