emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mailabbrev fixes [PATCH]


From: cyd
Subject: Mailabbrev fixes [PATCH]
Date: Sat, 1 Jan 2005 03:21:01 -0500 (EST)
User-agent: SquirrelMail/1.4.3a

Hi,

The attached patch should fix two items in FOR-RELEASE:

** Mailabbrev should quote addresses to correspond to RFC 822.
See http://article.gmane.org/gmane.emacs.devel/27585

** The '@' character should not expand addresses in mailabbrev
See http://article.gmane.org/gmane.emacs.devel/27585

The first bug is fixed by enclosing everything preceding the actual email
address in quotes <">. This is overkill, because quoting is only necessary
when there are illegal characters present, but it is not wrong. I think
that actually checking for the presence of illegal characters would cause
too much complexity for too little gain, but others may disagree.

The second bug is fixed by partially reverting the following commit:

2002-02-06  Richard M. Stallman  <address@hidden>
+
+       * mail/mailabbrev.el: Require sendmail only at compile time.
+       (mail-mode-header-syntax-table): Var deleted.

mail-mode-header-syntax-table has been re-introduced. It does not do
anything except ensure that abbrev expansion does not occur on typing @.

-- Yidong

Attachment: mailabbrev.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]