From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86235 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: PATCH: Bind `rmail-dont-reply-to-names' Date: Mon, 19 Oct 2015 18:29:21 +0200 Message-ID: <87k2qivn32.fsf@igel.home> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445272244 32441 80.91.229.3 (19 Oct 2015 16:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 16:30:44 +0000 (UTC) Cc: ding@gnus.org To: Michael Sperber Original-X-From: ding-owner+M34469@lists.math.uh.edu Mon Oct 19 18:30:29 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZoDKO-0002yj-M1 for ding-account@gmane.org; Mon, 19 Oct 2015 18:30:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1ZoDJW-0001ep-Gk; Mon, 19 Oct 2015 11:29:34 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZoDJU-0001eW-Or for ding@lists.math.uh.edu; Mon, 19 Oct 2015 11:29:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZoDJQ-00013w-4d for ding@lists.math.uh.edu; Mon, 19 Oct 2015 11:29:32 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZoDJO-0005vZ-An for ding@gnus.org; Mon, 19 Oct 2015 18:29:26 +0200 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3nfk7R3Np0z3hjYM; Mon, 19 Oct 2015 18:29:23 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3nfk7R0NF4zvPsd; Mon, 19 Oct 2015 18:29:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id OWKhs0SBPdJN; Mon, 19 Oct 2015 18:29:22 +0200 (CEST) X-Auth-Info: 3j9Y0peWSrWKgqeOWJ9vwtD3So58XTyZHfjLe4wl2BDbtKvNIIdXZL0fIenEnsMy Original-Received: from igel.home (ppp-93-104-61-48.dynamic.mnet-online.de [93.104.61.48]) by mail.mnet-online.de (Postfix) with ESMTPA; Mon, 19 Oct 2015 18:29:22 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id CC7222C2E68; Mon, 19 Oct 2015 18:29:21 +0200 (CEST) X-Yow: .. If I had heart failure right now, I couldn't be a more fortunate man!! In-Reply-To: (Michael Sperber's message of "Sun, 18 Oct 2015 18:04:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86235 Archived-At: Michael Sperber writes: > diff --git a/lisp/message.el b/lisp/message.el > index 12e4e49..7d0534c 100644 > --- a/lisp/message.el > +++ b/lisp/message.el > @@ -6974,7 +6974,8 @@ want to get rid of this query permanently."))) > (while (string-match "[ \t][ \t]+" recipients) > (setq recipients (replace-match " " t t recipients))) > ;; Remove addresses that match `mail-dont-reply-to-names'. > - (let ((mail-dont-reply-to-names (message-dont-reply-to-names))) > + (let ((mail-dont-reply-to-names (message-dont-reply-to-names)) > + (rmail-dont-reply-to-names (message-dont-reply-to-names))) Perhaps avoid calling message-dont-reply-to-names more than once? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."