From ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 Sep 1996 00:19:02 +0000 Subject: [PATCH] (rmail-dont-reply-to): Recognize the names to delete when they appear within <...>. --- lisp/mail/mail-utils.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2