From unknown Sat Aug 16 13:03:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1509 <1509@debbugs.gnu.org> To: bug#1509 <1509@debbugs.gnu.org> Subject: Status: 23.0.60; recover-file Reply-To: bug#1509 <1509@debbugs.gnu.org> Date: Sat, 16 Aug 2025 20:03:59 +0000 retitle 1509 23.0.60; recover-file reassign 1509 emacs submitter 1509 rms@gnu.org severity 1509 normal thanks From rms@gnu.org Sun Dec 7 01:06:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.6 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Dec 2008 09:06:30 +0000 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 mB796QXH017977 for ; Sun, 7 Dec 2008 01:06:27 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L9FaL-0001bv-NS; Sun, 07 Dec 2008 04:05:53 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: emacs-pretest-bug@gnu.org Subject: 23.0.60; recover-file Reply-to: rms@gnu.org Message-Id: 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 From rgm@gnu.org Tue Dec 9 12:25:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 65; neutral, 43; spammy, 0. spammytokens: hammytokens:0.000-+--23060, 0.000-+--23.0.60, 0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs X-Spam-Status: No, score=-12.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1509) by emacsbugs.donarmstrong.com; 9 Dec 2008 20:25:37 +0000 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 mB9KPYmL031969 for <1509@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 12:25:35 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LA98b-0001D2-Iz; Tue, 09 Dec 2008 15:24:57 -0500 From: Glenn Morris To: rms@gnu.org Cc: 1509@debbugs.gnu.org, Daiki Ueno Subject: Re: bug#1509: 23.0.60; recover-file References: X-Spook: bullion Ermes Watergate Axis of Evil Albania bomb CISU X-Ran: >gmyq!Yk'N=mU#X7l8V3w.R{2y (Richard M. Stallman's message of "Sun, 07 Dec 2008 04:05:53 -0500") 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: > 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. From daiki.ueno@gmail.com Tue Dec 9 17:49:17 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 151; neutral, 50; spammy, 0. spammytokens: hammytokens:0.000-+--23.0.60, 0.000-+--23060, 0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1509) by emacsbugs.donarmstrong.com; 10 Dec 2008 01:49:18 +0000 Received: from mail-qy0-f20.google.com (mail-qy0-f20.google.com [209.85.221.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBA1nEOR025112 for <1509@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 17:49:15 -0800 Received: by qyk13 with SMTP id 13so897936qyk.1 for <1509@emacsbugs.donarmstrong.com>; Tue, 09 Dec 2008 17:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=sHjZnLS65kx9aUtGmnEMJSyKOGWwxQ0vgjvH1Yn3U50=; b=qKJCpyb1iIaNUFUlWzxdqD9OAEWTYn858tpY0c7lBw7ZJdJGX+wjoxnvkWFyL4S9Gv t1OeP2+QDR0SLpI3JKN1YYOP2UhE4ySOT5jZ7Lqi6Gp4Y6uxiuLP1VF/YEkRPMDTSc4F Xlat2FiyK7h3exlvVtwcaOz9YwKxP1bul8xkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=f9Eaxp2aT5Jv/cFINUsnPBo8kS4Bz7PBZr0jA9QJw94Ac2edtANf9Y3o/8zzhHT4v/ 3cNXLMWzAji4vni5IHdZb5axz+EobmQTqB2+XHMLEG3DcsPLR9c39gp/ORn2Akx11Nvi VZXMlgsLVEGLV0MspW6xjnjcPyT7TPUzI0TqI= Received: by 10.214.116.19 with SMTP id o19mr1329239qac.13.1228873749147; Tue, 09 Dec 2008 17:49:09 -0800 (PST) Received: from p360 ([150.82.175.84]) by mx.google.com with ESMTPS id 5sm1529241ywl.55.2008.12.09.17.49.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 17:49:08 -0800 (PST) Sender: Daiki Ueno From: Daiki Ueno To: Glenn Morris Cc: rms@gnu.org, 1509@debbugs.gnu.org Subject: Re: bug#1509: 23.0.60; recover-file References: Date: Wed, 10 Dec 2008 10:49:03 +0900 In-Reply-To: (Glenn Morris's message of "Tue, 09 Dec 2008 15:24:57 -0500") Message-ID: <877i68241c.fsf@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> In >>>>> Glenn Morris 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 From rgm@gnu.org Tue Dec 9 18:21:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 30; neutral, 35; spammy, 0. spammytokens: hammytokens:0.000-+--23060, 0.000-+--23.0.60, 0.000-+--H*r:140.186.70, 0.000-+--H*r:ip*140.186.70.10, 0.000-+--H*r:sk:fencepo X-Spam-Status: No, score=-10.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1509-done) by emacsbugs.donarmstrong.com; 10 Dec 2008 02:21:23 +0000 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 mBA2LLMf002409 for <1509-done@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 18:21:22 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LAEgu-0000oY-Ef; Tue, 09 Dec 2008 21:20:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18751.10108.126866.184664@fencepost.gnu.org> Date: Tue, 9 Dec 2008 21:20:44 -0500 From: Glenn Morris To: Daiki Ueno Cc: Richard Stallman , 1509-done@debbugs.gnu.org In-Reply-To: <877i68241c.fsf@broken.deisui.org> References: <877i68241c.fsf@broken.deisui.org> Subject: Re: bug#1509: 23.0.60; recover-file Works for me; thanks. From unknown Sat Aug 16 13:03:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Jan 2009 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator