GNU bug report logs - #1509
23.0.60; recover-file

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 7 Dec 2008 09:15:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1509 in the body.
You can then email your comments to 1509 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1509; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Richard M Stallman <rms <at> gnu.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; recover-file
Date: Sun, 07 Dec 2008 04:05:53 -0500
It seems that M-x recover-file fails to make the buffer as modified.
So the user will tend not to save the file afterwards.



In GNU Emacs 23.0.60.9 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.11)
 of 2008-12-05 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: Dired by name

Minor modes in effect:
  diff-auto-refine-mode: t
  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:
E n g l i s h SPC i s n DEL DEL n SPC t h a t SPC p 
a g e SPC i s SPC s o SPC b a d SPC t h a t SPC i t 
SPC w i l l SPC e m b a r r a s s ESC b ESC b ESC d 
w i l l C-e SPC y o u . C-a ( C-e ESC DEL ESC DEL ESC 
DEL i s SPC e m b a r r a s s i n g . RET I SPC w o 
n d e r SPC w h o SPC w r o t e SPC i t . ) C-x 1 DEL 
SPC SPC W a s SPC i t r SPC w r i t t e n ESC b C-b 
ESC [ 2 ~ DEL C-e SPC ESC b C-b s DEL t C-e b y SPC 
s o m e o n e SPC i n SPC C h i n a ? ) RET C-c C-c 
C-x C-f e n d o r TAB RET ESC x r e C-g C-x d ESC p 
* ESC b ESC b * RET C-p C-x b C-g C-@ C-n = RET C-x 
o C-v C-x b RET ESC x r e c o v e r SPC f i l e RET 
ESC p DEL C-a C-d RET y e s RET C-x 1 C-v ESC v C-x 
b C-h C-g C-x C-g C-x C-b C-x o C-n C-n f g C-x o 1 
\ DEL DEL C-x C-s C-x o g C-x C-g ESC x r e p o r t 
SPC e m a s DEL c s SPC b u g RET

Recent messages:
Mark set [2 times]
Auto-saving...done
Sending...
Wrote /home/rms/outgoing/out-21
Sending...done
endorsements.text has auto save data; consider M-x recover-this-file
Quit [2 times]
Mark set
Quit
Wrote /home/rms/endorsements.text




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1509; Package emacs. Full text and rfc822 format available.

Message #8 received at 1509 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: rms <at> gnu.org
Cc: 1509 <at> debbugs.gnu.org, Daiki Ueno <ueno <at> unixuser.org>
Subject: Re: bug#1509: 23.0.60; recover-file
Date: Tue, 09 Dec 2008 15:24:57 -0500
Richard M Stallman wrote:

> It seems that M-x recover-file fails to make the buffer as modified.

It works as it should if you remove epa-file-find-file-hook from
find-file-hook.

recover-file calls after-find-file which runs find-file-hook.

epa-file-find-file-hook marks any non-epa files as unmodified for some
reason.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1509; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Daiki Ueno <ueno <at> unixuser.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #13 received at 1509 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Daiki Ueno <ueno <at> unixuser.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: rms <at> gnu.org, 1509 <at> debbugs.gnu.org
Subject: Re: bug#1509: 23.0.60; recover-file
Date: Wed, 10 Dec 2008 10:49:03 +0900
>>>>> In <cbprk1p04m.fsf <at> fencepost.gnu.org> 
>>>>>	Glenn Morris <rgm <at> gnu.org> wrote:
GM> > It seems that M-x recover-file fails to make the buffer as modified.

GM> It works as it should if you remove epa-file-find-file-hook from
GM> find-file-hook.

GM> recover-file calls after-find-file which runs find-file-hook.

Thanks for pointing out this.  I've just installed a fix, which adjusts
modtime in epa-file's insert-file-contents handler instead of
find-file-hook.

GM> epa-file-find-file-hook marks any non-epa files as unmodified for some
GM> reason.

Perhaps this is the appropriate bug report (preceded by "Finally,
buffer..."): http://article.gmane.org/gmane.emacs.gnus.general/64734

Regards,
-- 
Daiki Ueno




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to rms <at> gnu.org:
bug acknowledged by developer. Full text and rfc822 format available.

Message #18 received at 1509-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Daiki Ueno <ueno <at> unixuser.org>
Cc: Richard Stallman <rms <at> gnu.org>, 1509-done <at> debbugs.gnu.org
Subject: Re: bug#1509: 23.0.60; recover-file
Date: Tue, 9 Dec 2008 21:20:44 -0500
Works for me; thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 07 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.