From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#2228: 23.0.90; rmail-cease-edit ignores changes to the message headers Date: Mon, 09 Feb 2009 22:38:30 -0500 Message-ID: References: Reply-To: Glenn Morris , 2228@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234238694 347 80.91.229.12 (10 Feb 2009 04:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2009 04:04:54 +0000 (UTC) Cc: 2228@emacsbugs.donarmstrong.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 10 05:06:09 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWjru-0006vw-CL for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Feb 2009 05:05:42 +0100 Original-Received: from localhost ([127.0.0.1]:54220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWjqa-0008QQ-KB for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Feb 2009 23:03:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWjqU-0008Px-TV for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2009 23:03:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWjqT-0008Ox-Q1 for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2009 23:03:38 -0500 Original-Received: from [199.232.76.173] (port=55095 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWjqS-0008Ol-W2 for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2009 23:03:37 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40121) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWjqR-0000WL-UD for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2009 23:03:36 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A43X30005605; Mon, 9 Feb 2009 20:03:33 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1A3j53J001088; Mon, 9 Feb 2009 19:45:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , Rmail Maintainers Resent-Date: Tue, 10 Feb 2009 03:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2228 X-Emacs-PR-Package: emacs,rmail X-Emacs-PR-Keywords: Original-Received: via spool by 2228-submit@emacsbugs.donarmstrong.com id=B2228.1234237229774 (code B ref 2228); Tue, 10 Feb 2009 03:45:05 +0000 Original-Received: (at 2228) by emacsbugs.donarmstrong.com; 10 Feb 2009 03:40:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A3eQvf000768 for <2228@emacsbugs.donarmstrong.com>; Mon, 9 Feb 2009 19:40:27 -0800 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LWjSA-0002TX-4k; Mon, 09 Feb 2009 22:38:30 -0500 X-Spook: SP4 DES monarchist terrorist MD5 JUWTF Jiang Zemin halcon X-Ran: QJIA(>],e0s%8M}zqv"x8`ZA0\]I']*n;|RC*PbY-}%:qPQv'+lCPYe&J^KYp:J X-Hue: red X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 09 Feb 2009 23:03:38 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25101 Archived-At: Richard M Stallman wrote: > I think that editing the pruned headers is an important feature. The > full headers are too long and inconvenient. > > As it is now, you get the choice. If you display the full headers and > then edit, then you get to edit the full headers. With the minor drawback that it doesn't actually work, hence this bug report. IMO fixing that method is too much work for too little gain. What I proposed is what both VM and Gnus do AFAIK. rmailedit as a whole seems overly complex to me. If I were doing it, I'd copy the expanded message text to a new buffer for editing, rather than re-using the rmail buffer. Aborting an edit would just kill the buffer. Saving an edit would compare the buffer text with the region between msgbeg and msgend in rmail-view-buffer, and swap it in if it differed, then call rmail-show-message.