From unknown Fri Jun 20 18:24:00 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2625: 23.0.90; C-x C-s in Rmail Edit mode Reply-To: rms@gnu.org, 2625@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Mar 2009 18:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2625 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123670923631874 (code B ref -1); Tue, 10 Mar 2009 18:30:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 18:20:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,GAPPY_SUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n2AIKXAX031868 for ; Tue, 10 Mar 2009 11:20:34 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lh6Z6-0004Qz-Ia; Tue, 10 Mar 2009 14:20:32 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: emacs-pretest-bug@gnu.org Message-Id: Date: Tue, 10 Mar 2009 14:20:32 -0400 I accidentally typed C-x C-s in Rmail Edit mode and it saved just the current message. Fortunately it occurred to me that this might have happened, so I checked, and I did not lose my Rmail data. But this should not happen: saving the buffer during Rmail Edit mode has to save the whole file. Ideally it would save the whole file with the edits done thus far, but that could be rather hard to implement. If it saves the whole file as it was when the e command was typed, that will at least avoid loss of data. `buffer-swapped-with' would have taken care of this effortlessly. In GNU Emacs 23.0.90.4 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-02-23 on lemote-yeeloong configured using `configure 'CFLAGS=-O0 -g -Wno-pointer-sign' 'mipsel-unknown-linux-gnu' 'build_alias=mipsel-unknown-linux-gnu' 'host_alias=mipsel-unknown-linux-gnu' 'target_alias=mipsel-unknown-linux-gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: p r i v a t e u r . RET ESC DEL i n j u s t e . RET C-x C-s C-x b RET C-n C-o C-u C-n C-n C-n C-n C-n C-n C-p C-o C-x o C-x 1 C-u C-u C-n C-n ESC f ESC f ESC f ESC f ESC f C-b DEL k C-n DEL , SPC b e c a u s e SPC s o m e t i m e s SPC t h h a t SPC ESC b C-f C-d C-e s p i r i t SPC i s SPC m i s t a k e n RET o r SPC c o n f u s e d SPC o r SPC e v e n SPC v i c i o u s . C-x C-s C-x b RET g ~ x y e s RET C-x b R TAB RET C-x 1 p C-d x p p o m e c e n TAB RET C-d C-v C-v C-p C-p C-p C-p ESC x m i m e RET C-x h ESC x w r SPC r e RET c r a c r a f t . d DEL p d f RET C-x k RET C-l C-x C-x C-v C-u C-n C-u C-n C-u C-n C-u C-n C-u C-n C-n C-n C-n C-n C-n C-n e C-w RET P u t SPC i n t o SPC c r a c C-x C-f ESC p C-g r a f t . p d f . RET C-x C-s C-c C-c C-x C-s m C-x 0 ESC x r e p o r t SPC e a v s DEL DEL DEL m a s c DEL c DEL DEL c s RET Recent messages: Showing message 265 Showing message 265...done Mark set [2 times] Wrote /home/rms/cracraft.pdf Editing: Type C-c C-c to return to Rmail, C-c C-] to abort Quit Saving file /home/rms/RMAIL... Wrote /home/rms/RMAIL Saving file /home/rms/RMAIL... Wrote /home/rms/RMAIL From unknown Fri Jun 20 18:24:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: rms@gnu.org Subject: bug#2625 closed by Glenn Morris (Re: bug#2625: 23.0.90; C-x C-s in Rmail Edit mode) Message-ID: References: X-Emacs-PR-Message: they-closed 2625 X-Emacs-PR-Package: emacs Reply-To: 2625@debbugs.gnu.org Date: Wed, 11 Mar 2009 03:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1236742203-9512-1" This is a multi-part message in MIME format... ------------=_1236742203-9512-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2625: 23.0.90; C-x C-s in Rmail Edit mode It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 2625: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2625 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1236742203-9512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2625-done) by emacsbugs.donarmstrong.com; 11 Mar 2009 03:23:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GAPPY_SUBJECT,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n2B3N8ME008250 for <2625-done@emacsbugs.donarmstrong.com>; Tue, 10 Mar 2009 20:23:09 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LhF2B-00085z-NM; Tue, 10 Mar 2009 23:23:07 -0400 From: Glenn Morris To: 2625-done@debbugs.gnu.org Subject: Re: bug#2625: 23.0.90; C-x C-s in Rmail Edit mode References: X-Spook: Osama Uzi csystems Saddam Hussein Chobetsu AGT. AMME Ruby X-Ran: 1vV6O!t+vp.iA#{s69%\;v]I?$n6wj;#K=j%V6{iyhZx8GC$d>:U='KV^.>kj)\|Ko]V16 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 10 Mar 2009 23:23:07 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Richard M Stallman wrote: > If it saves the whole file as it was when the e command was typed, > that will at least avoid loss of data. 2009-03-11 Glenn Morris * mail/rmailedit.el (rmail-edit-mode): Set write-region-annotate-functions. (Bug#2625) ------------=_1236742203-9512-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2009 18:20:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,GAPPY_SUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n2AIKXAX031868 for ; Tue, 10 Mar 2009 11:20:34 -0700 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lh6Z6-0004Qz-Ia; Tue, 10 Mar 2009 14:20:32 -0400 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: emacs-pretest-bug@gnu.org Subject: 23.0.90; C-x C-s in Rmail Edit mode Reply-to: rms@gnu.org Message-Id: Date: Tue, 10 Mar 2009 14:20:32 -0400 I accidentally typed C-x C-s in Rmail Edit mode and it saved just the current message. Fortunately it occurred to me that this might have happened, so I checked, and I did not lose my Rmail data. But this should not happen: saving the buffer during Rmail Edit mode has to save the whole file. Ideally it would save the whole file with the edits done thus far, but that could be rather hard to implement. If it saves the whole file as it was when the e command was typed, that will at least avoid loss of data. `buffer-swapped-with' would have taken care of this effortlessly. In GNU Emacs 23.0.90.4 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-02-23 on lemote-yeeloong configured using `configure 'CFLAGS=-O0 -g -Wno-pointer-sign' 'mipsel-unknown-linux-gnu' 'build_alias=mipsel-unknown-linux-gnu' 'host_alias=mipsel-unknown-linux-gnu' 'target_alias=mipsel-unknown-linux-gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: p r i v a t e u r . RET ESC DEL i n j u s t e . RET C-x C-s C-x b RET C-n C-o C-u C-n C-n C-n C-n C-n C-n C-p C-o C-x o C-x 1 C-u C-u C-n C-n ESC f ESC f ESC f ESC f ESC f C-b DEL k C-n DEL , SPC b e c a u s e SPC s o m e t i m e s SPC t h h a t SPC ESC b C-f C-d C-e s p i r i t SPC i s SPC m i s t a k e n RET o r SPC c o n f u s e d SPC o r SPC e v e n SPC v i c i o u s . C-x C-s C-x b RET g ~ x y e s RET C-x b R TAB RET C-x 1 p C-d x p p o m e c e n TAB RET C-d C-v C-v C-p C-p C-p C-p ESC x m i m e RET C-x h ESC x w r SPC r e RET c r a c r a f t . d DEL p d f RET C-x k RET C-l C-x C-x C-v C-u C-n C-u C-n C-u C-n C-u C-n C-u C-n C-n C-n C-n C-n C-n C-n e C-w RET P u t SPC i n t o SPC c r a c C-x C-f ESC p C-g r a f t . p d f . RET C-x C-s C-c C-c C-x C-s m C-x 0 ESC x r e p o r t SPC e a v s DEL DEL DEL m a s c DEL c DEL DEL c s RET Recent messages: Showing message 265 Showing message 265...done Mark set [2 times] Wrote /home/rms/cracraft.pdf Editing: Type C-c C-c to return to Rmail, C-c C-] to abort Quit Saving file /home/rms/RMAIL... Wrote /home/rms/RMAIL Saving file /home/rms/RMAIL... Wrote /home/rms/RMAIL ------------=_1236742203-9512-1--