From: Richard M. Stallman Date: Mon, 2 Sep 1996 00:19:02 +0000 (+0000) Subject: (rmail-dont-reply-to): Recognize the names to delete X-Git-Tag: emacs-20.1~3882 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f;p=emacs.git (rmail-dont-reply-to): Recognize the names to delete when they appear within <...>. --- diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el index d0c569b0471..ebf2f617789 100644 --- a/lisp/mail/mail-utils.el +++ b/lisp/mail/mail-utils.el @@ -144,9 +144,11 @@ Usenet paths ending in an element that matches are removed also." "\\>")))) (let ((match (concat "\\(^\\|,\\)[ \t\n]*\\([^,\n]*!\\|\\)\\(" rmail-dont-reply-to-names + "\\|[^\,.<]*<\\(" rmail-dont-reply-to-names "\\)" "\\)")) (case-fold-search t) pos epos) + (setq foo match) (while (setq pos (string-match match userids)) (if (> pos 0) (setq pos (match-beginning 2))) (setq epos