From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: rmail-message-filter Date: Wed, 04 Mar 2009 18:29:00 -0500 Message-ID: References: <4s8wnn8ca0.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236209366 23522 80.91.229.12 (4 Mar 2009 23:29:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2009 23:29:26 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 00:30:39 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lf0Xq-00070h-Vc for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 00:30:35 +0100 Original-Received: from localhost ([127.0.0.1]:47389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf0WV-0002Y1-Lu for ged-emacs-devel@m.gmane.org; Wed, 04 Mar 2009 18:29:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf0WQ-0002Xm-Ml for emacs-devel@gnu.org; Wed, 04 Mar 2009 18:29:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf0WO-0002Xa-8c for emacs-devel@gnu.org; Wed, 04 Mar 2009 18:29:05 -0500 Original-Received: from [199.232.76.173] (port=33784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf0WO-0002XX-2I for emacs-devel@gnu.org; Wed, 04 Mar 2009 18:29:04 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:30400) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf0WL-0005Hu-KP; Wed, 04 Mar 2009 18:29:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEABOdrknO+KX2/2dsb2JhbACBTtZ/hAgGhAU X-IronPort-AV: E=Sophos;i="4.38,304,1233550800"; d="scan'208";a="34709236" Original-Received: from 206-248-165-246.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.246]) by ironport2-out.teksavvy.com with ESMTP; 04 Mar 2009 18:29:01 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D48624B454; Wed, 4 Mar 2009 18:29:00 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Wed, 04 Mar 2009 17:18:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109457 Archived-At: > i) I don't see that this offers anything that rmail-show-message-hook > does not. Compatibility with previous code that used rmail-message-filter (and which did that because back then rmail-message-filter and rmail-show-message-hook were not called at the same moment). > ii) This is not exactly the same as the old behaviour, since > previously pruning was not necessarily done every time a message was > shown (if the previous time it was shown it was pruned). > To recreate the "before obeying `rmail-ignored-headers'" part would > require something like the following. But it seems dangerous to me to > mess about with the real rmail buffer rather than the "view" copy. It needs to work on a copy, indeed. Stefan