From unknown Mon Jun 23 07:47:48 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#17351 <17351@debbugs.gnu.org> To: bug#17351 <17351@debbugs.gnu.org> Subject: Status: Trunk emacs splats .emacs.desktop at startup Reply-To: bug#17351 <17351@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:48 +0000 retitle 17351 Trunk emacs splats .emacs.desktop at startup reassign 17351 emacs submitter 17351 Alan Mackenzie severity 17351 important thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 14:08:57 2014 Received: (at submit) by debbugs.gnu.org; 26 Apr 2014 18:08:57 +0000 Received: from localhost ([127.0.0.1]:59311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We720-0003ZF-E6 for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:08:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34866) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We71x-0003Z6-QW for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:08:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We71n-0001Ub-Mk for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:08:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We71n-0001UX-Jr for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:08:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We71g-0006OB-0T for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:08:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We71Y-0001RR-HW for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:08:35 -0400 Received: from colin.muc.de ([193.149.48.1]:20720 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We71Y-0001RC-Al for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:08:28 -0400 Received: (qmail 6232 invoked by uid 3782); 26 Apr 2014 18:08:25 -0000 Received: from acm.muc.de (pD951A62D.dip0.t-ipconnect.de [217.81.166.45]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Apr 2014 20:08:25 +0200 Received: (qmail 3029 invoked by uid 1000); 26 Apr 2014 18:04:27 -0000 Date: Sat, 26 Apr 2014 18:04:27 +0000 To: bug-gnu-emacs@gnu.org Subject: Trunk emacs splats .emacs.desktop at startup Message-ID: <20140426180427.GA2944@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Hello, Emacs. This is horrible. I started a GUI emacs session, and there were errors loading the desktop. I loaded the file .emacs.desktop into my emacs session to see what the problem was. And lo and behold, that file had already been overwritten by Emacs. :-( This is crazy. What's the point of overwriting .emacs.desktop at startup? It's either going to be overwriting itself with a functionally identical copy, or (as in the current case) its going to be losing information needed for debugging. This is surely a bug. My trunk is at revision number 116992. -- Alan Mackenzie. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 04:24:29 2014 Received: (at 17351) by debbugs.gnu.org; 27 Apr 2014 08:24:29 +0000 Received: from localhost ([127.0.0.1]:59515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeKNw-00064b-Lm for submit@debbugs.gnu.org; Sun, 27 Apr 2014 04:24:29 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:57878 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeKNu-00064N-Go for 17351@debbugs.gnu.org; Sun, 27 Apr 2014 04:24:27 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 3D21437C39DF0C; Sun, 27 Apr 2014 01:24:21 -0700 (PDT) From: Juri Linkov To: Alan Mackenzie Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> Date: Sun, 27 Apr 2014 11:22:39 +0300 In-Reply-To: <20140426180427.GA2944@acm.acm> (Alan Mackenzie's message of "Sat, 26 Apr 2014 18:04:27 +0000") Message-ID: <87eh0jji5s.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 17351 Cc: 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) > This is horrible. I started a GUI emacs session, and there were errors > loading the desktop. I loaded the file .emacs.desktop into my emacs > session to see what the problem was. And lo and behold, that file had > already been overwritten by Emacs. :-( I lost my desktop too. :-( After starting a GUI session, loading the desktop failed to read \.\.\. characters. I see the only way how \.\.\. got into the desktop: some mode temporarily changed the buffer-local value of `print-length' that abbreviated a value while saving the desktop. I added precautions against this problem on the emacs-24 branch. But the remaining problem is that it overwrote the desktop with the broken file while leaving no backups of the previous desktop. > This is crazy. What's the point of overwriting .emacs.desktop at > startup? It's either going to be overwriting itself with a functionally > identical copy, or (as in the current case) its going to be losing > information needed for debugging. If after startup you paused for 30 seconds then auto-saving overwrote your desktop indeed. It seems we need to keep a backup of the desktop from the previous session when saving the desktop in a new session for the case when the desktop gets broken by the errors in it. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 05:19:58 2014 Received: (at 17351) by debbugs.gnu.org; 27 Apr 2014 09:19:58 +0000 Received: from localhost ([127.0.0.1]:59603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeLFd-0007nh-PU for submit@debbugs.gnu.org; Sun, 27 Apr 2014 05:19:58 -0400 Received: from colin.muc.de ([193.149.48.1]:53895 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeLFb-0007nW-1j for 17351@debbugs.gnu.org; Sun, 27 Apr 2014 05:19:55 -0400 Received: (qmail 68352 invoked by uid 3782); 27 Apr 2014 09:19:54 -0000 Received: from acm.muc.de (pD9518658.dip0.t-ipconnect.de [217.81.134.88]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 27 Apr 2014 11:19:53 +0200 Received: (qmail 3666 invoked by uid 1000); 27 Apr 2014 09:15:55 -0000 Date: Sun, 27 Apr 2014 09:15:55 +0000 To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Message-ID: <20140427091555.GA3091@acm.acm> References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87eh0jji5s.fsf@mail.jurta.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 17351 Cc: 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Morning, Juri. On Sun, Apr 27, 2014 at 11:22:39AM +0300, Juri Linkov wrote: > > This is horrible. I started a GUI emacs session, and there were errors > > loading the desktop. I loaded the file .emacs.desktop into my emacs > > session to see what the problem was. And lo and behold, that file had > > already been overwritten by Emacs. :-( > I lost my desktop too. :-( After starting a GUI session, loading the > desktop failed to read \.\.\. characters. I see the only way how > \.\.\. got into the desktop: some mode temporarily changed the buffer-local > value of `print-length' that abbreviated a value while saving the desktop. > I added precautions against this problem on the emacs-24 branch. > But the remaining problem is that it overwrote the desktop with the > broken file while leaving no backups of the previous desktop. > > This is crazy. What's the point of overwriting .emacs.desktop at > > startup? It's either going to be overwriting itself with a functionally > > identical copy, or (as in the current case) its going to be losing > > information needed for debugging. > If after startup you paused for 30 seconds then auto-saving overwrote > your desktop indeed. It seems we need to keep a backup of the desktop > from the previous session when saving the desktop in a new session > for the case when the desktop gets broken by the errors in it. Yes, I think so. This needs to be mentioned in the manual, too. 30 seconds seems a very short time (by default) to trigger this saving of the desktop. Especially when there's been no change since the previous save. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 05:55:30 2014 Received: (at 17351) by debbugs.gnu.org; 27 Apr 2014 09:55:30 +0000 Received: from localhost ([127.0.0.1]:59623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeLo2-0000KD-1o for submit@debbugs.gnu.org; Sun, 27 Apr 2014 05:55:30 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:51147 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeLnz-0000K2-3h for 17351@debbugs.gnu.org; Sun, 27 Apr 2014 05:55:28 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2DE443727D2B73; Sun, 27 Apr 2014 02:55:23 -0700 (PDT) From: Juri Linkov To: Alan Mackenzie Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> Date: Sun, 27 Apr 2014 12:52:01 +0300 In-Reply-To: <20140427091555.GA3091@acm.acm> (Alan Mackenzie's message of "Sun, 27 Apr 2014 09:15:55 +0000") Message-ID: <87fvkzf6bi.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 17351 Cc: 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >> If after startup you paused for 30 seconds then auto-saving overwrote >> your desktop indeed. It seems we need to keep a backup of the desktop >> from the previous session when saving the desktop in a new session >> for the case when the desktop gets broken by the errors in it. > > Yes, I think so. This needs to be mentioned in the manual, too. 30 > seconds seems a very short time (by default) to trigger this saving of > the desktop. 30 seconds of idle time before desktop auto-saving is the default value inherited from `auto-save-timeout' used for file auto-saving. But they don't need to be the same. In ~/.emacs I customized it to 60 seconds, and maybe this default value would be better for everyone. > Especially when there's been no change since the previous save. Actually auto-saving already checks for changes and doesn't write the identical desktop. In practice this happens rarely, only when the session left inactive, because any minuscule change in window configuration (such as displaying a buffer with error messages) causes the desktop file to be overwritten with new contents. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 10:31:41 2014 Received: (at 17351) by debbugs.gnu.org; 27 Apr 2014 14:31:41 +0000 Received: from localhost ([127.0.0.1]:60040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeQ7I-0001UH-1U for submit@debbugs.gnu.org; Sun, 27 Apr 2014 10:31:40 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:56212) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeQ7E-0001U5-GN for 17351@debbugs.gnu.org; Sun, 27 Apr 2014 10:31:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IPAS-Result: ArUGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMQCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="59196098" Received: from 76-10-163-148.dsl.teksavvy.com (HELO pastel.home) ([76.10.163.148]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Apr 2014 10:31:35 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7BA5860085; Sun, 27 Apr 2014 10:31:35 -0400 (EDT) From: Stefan Monnier To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Message-ID: References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> Date: Sun, 27 Apr 2014 10:31:35 -0400 In-Reply-To: <87fvkzf6bi.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 27 Apr 2014 12:52:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> Yes, I think so. This needs to be mentioned in the manual, too. 30 >> seconds seems a very short time (by default) to trigger this saving of >> the desktop. No, it's not long at all. It only looks that way when the event is threatening, so the problem is the threat, not the delay. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 18:13:42 2014 Received: (at 17351) by debbugs.gnu.org; 27 Apr 2014 22:13:43 +0000 Received: from localhost ([127.0.0.1]:43322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeXKQ-0003k4-IQ for submit@debbugs.gnu.org; Sun, 27 Apr 2014 18:13:42 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:28097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeXKO-0003jr-KI for 17351@debbugs.gnu.org; Sun, 27 Apr 2014 18:13:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOAEDqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOAEDqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="59216958" Received: from 76-10-163-148.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.163.148]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 Apr 2014 18:13:34 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 6ABF3AE0D2; Sun, 27 Apr 2014 18:13:34 -0400 (EDT) From: Stefan Monnier To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Message-ID: References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> Date: Sun, 27 Apr 2014 18:13:34 -0400 In-Reply-To: (Stefan Monnier's message of "Sun, 27 Apr 2014 10:31:35 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > No, it's not long at all. It only looks that way when the event is ^^^^ short Sorry, Stfean From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 22 03:05:28 2014 Received: (at 17351) by debbugs.gnu.org; 22 Jun 2014 07:05:28 +0000 Received: from localhost ([127.0.0.1]:56626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WybqC-0006Jx-43 for submit@debbugs.gnu.org; Sun, 22 Jun 2014 03:05:28 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35368 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WybqA-0006Jo-AJ for 17351@debbugs.gnu.org; Sun, 22 Jun 2014 03:05:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wybq8-0006bX-AC; Sun, 22 Jun 2014 03:05:24 -0400 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> X-Spook: bomb Etacs UNSCOM Semtex United Nations blackjack X-Ran: K|n%.$Xl:>Z^75:>/OF0vzN|}_S?DOuD*#G%Fmh\'AZD3\a.s;CZ?^5oWtp1..mYM}4Z#[ X-Hue: red X-Attribution: GM Date: Sun, 22 Jun 2014 03:05:24 -0400 In-Reply-To: (Stefan Monnier's message of "Sun, 27 Apr 2014 18:13:34 -0400") Message-ID: <1ud2e177bf.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17351 Cc: Juri Linkov , Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) As a stopgap, how about disabling the autosave (with a warning, eg "error loading desktop; automatic save disabled until next manual save") if there were errors loading the desktop at startup? More generally, why does the autosaving actually save directly into the real desktop file? Why doesn't it use the normal autosave mechanism, ie write to a #desktop# file? Naively, it seems like this would be both simpler to implement and give better results. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 22 19:28:03 2014 Received: (at 17351) by debbugs.gnu.org; 22 Jun 2014 23:28:03 +0000 Received: from localhost ([127.0.0.1]:57429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WyrB5-0007Zo-03 for submit@debbugs.gnu.org; Sun, 22 Jun 2014 19:28:03 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:46632 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WyrAz-0007ZJ-WE for 17351@debbugs.gnu.org; Sun, 22 Jun 2014 19:27:59 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 97E0C30978B24D; Sun, 22 Jun 2014 16:27:55 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> Date: Mon, 23 Jun 2014 02:01:16 +0300 In-Reply-To: <1ud2e177bf.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 22 Jun 2014 03:05:24 -0400") Message-ID: <87y4wo5ynb.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > As a stopgap, how about disabling the autosave (with a warning, eg > "error loading desktop; automatic save disabled until next manual save") > if there were errors loading the desktop at startup? It's not clear where to catch errors and handle them, because they can occur everywhere and it's better to leave the default error processing that enters the debugger. [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > As a stopgap, how about disabling the autosave (with a warning, eg > "error loading desktop; automatic save disabled until next manual save") > if there were errors loading the desktop at startup? It's not clear where to catch errors and handle them, because they can occur everywhere and it's better to leave the default error processing that enters the debugger. [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] > As a stopgap, how about disabling the autosave (with a warning, eg > "error loading desktop; automatic save disabled until next manual save") > if there were errors loading the desktop at startup? It's not clear where to catch errors and handle them, because they can occur everywhere and it's better to leave the default error processing that enters the debugger. But without such warning message, it's possible to disable autosaving when loading desktop with a simple patch below. > More generally, why does the autosaving actually save directly into the > real desktop file? Why doesn't it use the normal autosave mechanism, ie > write to a #desktop# file? Naively, it seems like this would be both > simpler to implement and give better results. This would keep the desktop file open all the time, and users might not like to see it in the buffer list. If this is not desirable then a backup copy needs to be saved once per session after reading the desktop. === modified file 'lisp/desktop.el' --- lisp/desktop.el 2014-06-06 23:38:40 +0000 +++ lisp/desktop.el 2014-06-22 22:52:31 +0000 @@ -174,11 +174,8 @@ (define-minor-mode desktop-save-mode :global t :group 'desktop (if desktop-save-mode - (when (and (integerp desktop-auto-save-timeout) - (> desktop-auto-save-timeout 0)) - (add-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer)) - (remove-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer) - (desktop-auto-save-cancel-timer))) + (desktop-auto-save-enable) + (desktop-auto-save-disable))) (defun desktop-save-mode-off () "Disable `desktop-save-mode'. Provided for use in hooks." @@ -219,9 +216,8 @@ (defcustom desktop-auto-save-timeout aut (set-default symbol value) (ignore-errors (if (and (integerp value) (> value 0)) - (add-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer) - (remove-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer) - (desktop-auto-save-cancel-timer)))) + (desktop-auto-save-enable value) + (desktop-auto-save-disable)))) :group 'desktop :version "24.4") @@ -1132,6 +1128,7 @@ (defun desktop-read (&optional dirname) (unless desktop-dirname (message "Desktop file in use; not loaded."))) (desktop-lazy-abort) + (desktop-auto-save-disable) ;; Evaluate desktop buffer and remember when it was modified. (load (desktop-full-file-name) t t t) (setq desktop-file-modtime (nth 5 (file-attributes (desktop-full-file-name)))) @@ -1184,6 +1181,7 @@ (defun desktop-read (&optional dirname) (set-window-prev-buffers window nil) (set-window-next-buffers window nil)))) (setq desktop-saved-frameset nil) + (desktop-auto-save-enable) t)) ;; No desktop file found. (desktop-clear) @@ -1230,6 +1228,15 @@ (defun desktop-save-in-desktop-dir () ;; Auto-Saving. (defvar desktop-auto-save-timer nil) +(defun desktop-auto-save-enable (&optional timeout) + (when (and (integerp (or timeout desktop-auto-save-timeout)) + (> (or timeout desktop-auto-save-timeout) 0)) + (add-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer))) + +(defun desktop-auto-save-disable () + (remove-hook 'window-configuration-change-hook 'desktop-auto-save-set-timer) + (desktop-auto-save-cancel-timer)) + (defun desktop-auto-save () "Save the desktop periodically. Called by the timer created in `desktop-auto-save-set-timer'." From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 22 20:05:56 2014 Received: (at 17351) by debbugs.gnu.org; 23 Jun 2014 00:05:56 +0000 Received: from localhost ([127.0.0.1]:57443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wyrlk-0008VH-CS for submit@debbugs.gnu.org; Sun, 22 Jun 2014 20:05:56 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47585 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wyrlh-0008V6-Cx for 17351@debbugs.gnu.org; Sun, 22 Jun 2014 20:05:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wyrlg-0003yX-E1; Sun, 22 Jun 2014 20:05:52 -0400 From: Glenn Morris To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> X-Spook: JSOFC3IP Jyllandsposten Audiotel Baranyi CID Rubin wire X-Ran: 8gsdGqIA3*6tE34PAEUs{:RenZzSfpZHY1w.i:"#nu,+0m=f%({q\$-Oaen_ljd#If?-eY X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 22 Jun 2014 20:05:52 -0400 In-Reply-To: <87y4wo5ynb.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 23 Jun 2014 02:01:16 +0300") Message-ID: <0rionsjxr3.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Juri Linkov wrote: > This would keep the desktop file open all the time, > and users might not like to see it in the buffer list. So read it into an invisible buffer, set buffer-file-name, and enable auto-save-mode. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 23 19:31:53 2014 Received: (at 17351) by debbugs.gnu.org; 23 Jun 2014 23:31:54 +0000 Received: from localhost ([127.0.0.1]:58676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzDiL-0006vu-6b for submit@debbugs.gnu.org; Mon, 23 Jun 2014 19:31:53 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:39921 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzDiJ-0006vg-FD for 17351@debbugs.gnu.org; Mon, 23 Jun 2014 19:31:52 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4ADED3714357A6; Mon, 23 Jun 2014 16:31:49 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> Date: Tue, 24 Jun 2014 01:57:52 +0300 In-Reply-To: <0rionsjxr3.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 22 Jun 2014 20:05:52 -0400") Message-ID: <874mzbz11m.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> This would keep the desktop file open all the time, >> and users might not like to see it in the buffer list. > > So read it into an invisible buffer, set buffer-file-name, and enable > auto-save-mode. [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> This would keep the desktop file open all the time, >> and users might not like to see it in the buffer list. > > So read it into an invisible buffer, set buffer-file-name, and enable > auto-save-mode. [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] >> This would keep the desktop file open all the time, >> and users might not like to see it in the buffer list. > > So read it into an invisible buffer, set buffer-file-name, and enable > auto-save-mode. auto-save-mode doesn't seem necessary because the contents of the desktop file buffer has to be generated at the given time interval anyway, so at the end it can be saved as well like in this patch: === modified file 'lisp/desktop.el' --- lisp/desktop.el 2014-06-06 23:38:40 +0000 +++ lisp/desktop.el 2014-06-23 22:45:20 +0000 @@ -1038,8 +1038,15 @@ (defun desktop-save (dirname &optional r (point)))) (checksum (and beg (md5 (current-buffer) beg (point-max) 'emacs-mule)))) (unless (and checksum (equal checksum desktop-file-checksum)) - (let ((coding-system-for-write 'emacs-mule)) - (write-region (point-min) (point-max) (desktop-full-file-name) nil 'nomessage)) + (let ((coding-system-for-write 'emacs-mule) + (buffer-string (buffer-string))) + (with-current-buffer (find-file-noselect (desktop-full-file-name)) + ;; Make the buffer invisible + (unless (eq (aref (buffer-name) 0) ?\s) + (rename-buffer (concat " " (buffer-name)))) + (erase-buffer) + (insert buffer-string) + (save-buffer))) (setq desktop-file-checksum checksum) ;; We remember when it was modified (which is presumably just now). (setq desktop-file-modtime (nth 5 (file-attributes (desktop-full-file-name))))))))))) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 24 14:30:27 2014 Received: (at 17351) by debbugs.gnu.org; 24 Jun 2014 18:30:27 +0000 Received: from localhost ([127.0.0.1]:59581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzVU6-0000Zr-BX for submit@debbugs.gnu.org; Tue, 24 Jun 2014 14:30:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35423 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzVTz-0000ZX-FB for 17351@debbugs.gnu.org; Tue, 24 Jun 2014 14:30:20 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WzVTy-00035H-4M; Tue, 24 Jun 2014 14:30:14 -0400 From: Glenn Morris To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> X-Spook: Perl-RSA Janet Reno IMF Medco Freeh Sears Tower LLNL PET X-Ran: 9E/TANJ8D-X#/vXG)nW2)UGCI>:n2X2[lSo=EK`X>-8"a5Z0g-5pmpHrr<;hTnC X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 24 Jun 2014 14:30:13 -0400 In-Reply-To: <874mzbz11m.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 24 Jun 2014 01:57:52 +0300") 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 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Juri Linkov wrote: > auto-save-mode doesn't seem necessary because the contents of the > desktop file buffer has to be generated at the given time interval > anyway, so at the end it can be saved as well like in this patch: As I see it, the point is that normal auto-save distinguishes automatic save from a manual save initiated by the user, by using separate files. Whereas desktop's version of auto-save removes that distinction. (But I'm not familiar with the details.) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 24 19:27:31 2014 Received: (at 17351) by debbugs.gnu.org; 24 Jun 2014 23:27:32 +0000 Received: from localhost ([127.0.0.1]:59743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wza7f-0001G1-BZ for submit@debbugs.gnu.org; Tue, 24 Jun 2014 19:27:31 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:51368 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wza7c-0001Fs-QX for 17351@debbugs.gnu.org; Tue, 24 Jun 2014 19:27:29 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 69633301927BEB; Tue, 24 Jun 2014 16:27:26 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> Date: Wed, 25 Jun 2014 02:23:54 +0300 In-Reply-To: (Glenn Morris's message of "Tue, 24 Jun 2014 14:30:13 -0400") Message-ID: <87fvitj3hx.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > As I see it, the point is that normal auto-save distinguishes automatic > save from a manual save initiated by the user, by using separate files. > Whereas desktop's version of auto-save removes that distinction. > (But I'm not familiar with the details.) [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > As I see it, the point is that normal auto-save distinguishes automatic > save from a manual save initiated by the user, by using separate files. > Whereas desktop's version of auto-save removes that distinction. > (But I'm not familiar with the details.) [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] > As I see it, the point is that normal auto-save distinguishes automatic > save from a manual save initiated by the user, by using separate files. > Whereas desktop's version of auto-save removes that distinction. > (But I'm not familiar with the details.) It's possible to periodically update the desktop file buffer, but not to save it, thus allowing normal auto-save to create a #desktop# backup. But this might cause some problems, e.g. modes that call `save-some-buffers' like `compilation-mode' will ask whether to save the updated desktop file. Also it's not clear how to restore the auto-saved backup copy after a crash. OTOH, saving the desktop file buffer will create a desktop~ backup that the user can restore when something goes wrong. This is implemented in the latest patch that is intended for the trunk. Meanwhile, I installed the patch that temporarily disables the autosave in `desktop-read' into the emacs-24 branch, so people won't lose the desktop in case of errors. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 26 15:31:59 2014 Received: (at 17351) by debbugs.gnu.org; 26 Jun 2014 19:31:59 +0000 Received: from localhost ([127.0.0.1]:34040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0FOl-0007uH-Ds for submit@debbugs.gnu.org; Thu, 26 Jun 2014 15:31:59 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:59144 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0FOf-0007u3-5V for 17351@debbugs.gnu.org; Thu, 26 Jun 2014 15:31:53 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X0FOd-0007Dx-Tp; Thu, 26 Jun 2014 15:31:47 -0400 From: Glenn Morris To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> X-Spook: Glock analyzer supercomputer North Korea War on Terrorism X-Ran: 6Fm";*wQoBG5AP.vU1fh%YOmqzp|YdH,wANb{OGjLSvQ}9qD`KnaK7N-g:01#Um_^]:9QW X-Hue: yellow X-Attribution: GM Date: Thu, 26 Jun 2014 15:31:47 -0400 In-Reply-To: <87fvitj3hx.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 25 Jun 2014 02:23:54 +0300") 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 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Juri Linkov wrote: > But this might cause some problems, e.g. modes that call > `save-some-buffers' like `compilation-mode' will ask whether to save > the updated desktop file. I iamgine a solution could be found. I could equally well say that using save-buffer will cause the desktop to be included in the recentf list, which some people may dislike. (Cf http://debbugs.gnu.org/17155) > Also it's not clear how to restore the auto-saved backup copy after a > crash. Using the normal "file foo has auto-save, recover it" prompt? (This topic makes me wonder if desktop could have used the standard interlock mechanism, rather than inventing its own version of that too.) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 26 20:48:26 2014 Received: (at 17351) by debbugs.gnu.org; 27 Jun 2014 00:48:26 +0000 Received: from localhost ([127.0.0.1]:34113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0KL3-0002TT-RX for submit@debbugs.gnu.org; Thu, 26 Jun 2014 20:48:26 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:54971 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0KKy-0002T5-Sh for 17351@debbugs.gnu.org; Thu, 26 Jun 2014 20:48:21 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id DB15930A1F5486; Thu, 26 Jun 2014 17:48:18 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> Date: Fri, 27 Jun 2014 02:44:01 +0300 In-Reply-To: (Glenn Morris's message of "Thu, 26 Jun 2014 15:31:47 -0400") Message-ID: <87r42b8aji.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I could equally well say that using save-buffer will cause the desktop > to be included in the recentf list, which some people may dislike. > (Cf http://debbugs.gnu.org/17155) A solution in bug#17155 was to replace `save-buffer' with `write-region' that is already currently used by desktop.el. This means continuing using low-level `write-region' would be less problematic than `save-buffer' (and normal auto-saving of a file buffer that still requires `save-buffer' at the end of the session). [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I could equally well say that using save-buffer will cause the desktop > to be included in the recentf list, which some people may dislike. > (Cf http://debbugs.gnu.org/17155) A solution in bug#17155 was to replace `save-buffer' with `write-region' that is already currently used by desktop.el. This means continuing using low-level `write-region' would be less problematic than `save-buffer' (and normal auto-saving of a file buffer that still requires `save-buffer' at the end of the session). [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] > I could equally well say that using save-buffer will cause the desktop > to be included in the recentf list, which some people may dislike. > (Cf http://debbugs.gnu.org/17155) A solution in bug#17155 was to replace `save-buffer' with `write-region' that is already currently used by desktop.el. This means continuing using low-level `write-region' would be less problematic than `save-buffer' (and normal auto-saving of a file buffer that still requires `save-buffer' at the end of the session). > (This topic makes me wonder if desktop could have used the standard > interlock mechanism, rather than inventing its own version of that too.) This would be possible if the desktop file used `save-buffer' on a normal file buffer instead of `write-region'. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 02 20:21:43 2014 Received: (at 17351) by debbugs.gnu.org; 3 Jul 2014 00:21:43 +0000 Received: from localhost ([127.0.0.1]:40880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2UmV-0003KB-Cp for submit@debbugs.gnu.org; Wed, 02 Jul 2014 20:21:43 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:39043 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2UmS-0003K1-OY for 17351@debbugs.gnu.org; Wed, 02 Jul 2014 20:21:41 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 57F2F30935D6FF; Wed, 2 Jul 2014 17:21:39 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> Date: Thu, 03 Jul 2014 02:52:41 +0300 In-Reply-To: <87fvitj3hx.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 25 Jun 2014 02:23:54 +0300") Message-ID: <87ha2zuxme.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Meanwhile, I installed the patch that temporarily disables the > autosave in `desktop-read' into the emacs-24 branch, so people > won't lose the desktop in case of errors. This handles the case when there are errors in the desktop file. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Meanwhile, I installed the patch that temporarily disables the > autosave in `desktop-read' into the emacs-24 branch, so people > won't lose the desktop in case of errors. This handles the case when there are errors in the desktop file. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] > Meanwhile, I installed the patch that temporarily disables the > autosave in `desktop-read' into the emacs-24 branch, so people > won't lose the desktop in case of errors. This handles the case when there are errors in the desktop file. But another case is when the errors are in the init file, and the buffer *Warnings* is displayed. The remaining problem is that the buffer *Warnings* becomes hidden behind the restored window configuration, so the user has no indication about the errors in the init file. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 02 22:42:23 2014 Received: (at 17351) by debbugs.gnu.org; 3 Jul 2014 02:42:23 +0000 Received: from localhost ([127.0.0.1]:40937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2Wyc-0000Mt-GP for submit@debbugs.gnu.org; Wed, 02 Jul 2014 22:42:22 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55915 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2WyZ-0000Mg-ID for 17351@debbugs.gnu.org; Wed, 02 Jul 2014 22:42:20 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X2WyY-0000ax-GJ; Wed, 02 Jul 2014 22:42:18 -0400 From: Glenn Morris To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> <87ha2zuxme.fsf@mail.jurta.org> X-Spook: blackjack airframe Gazprom brigand offensive information X-Ran: D?g:lRznD9%H3\"".4Car_x)Mvl/oy/7=3xp*[!?&!Vry7hFxeM_(Y~U1wd.XirHh_dm[s X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 02 Jul 2014 22:42:18 -0400 In-Reply-To: <87ha2zuxme.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 03 Jul 2014 02:52:41 +0300") 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 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Juri Linkov wrote: > But another case is when the errors are in the init file, and the buffer > *Warnings* is displayed. The remaining problem is that the buffer > *Warnings* becomes hidden behind the restored window configuration, > so the user has no indication about the errors in the init file. That seems unrelated to this report? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 19:35:54 2014 Received: (at 17351) by debbugs.gnu.org; 3 Jul 2014 23:35:54 +0000 Received: from localhost ([127.0.0.1]:42108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2qXi-0008JK-2D for submit@debbugs.gnu.org; Thu, 03 Jul 2014 19:35:54 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:60684 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X2qXf-0008J9-ME for 17351@debbugs.gnu.org; Thu, 03 Jul 2014 19:35:52 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 86D61348328E36; Thu, 3 Jul 2014 16:35:48 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> <87ha2zuxme.fsf@mail.jurta.org> Date: Fri, 04 Jul 2014 02:35:00 +0300 In-Reply-To: (Glenn Morris's message of "Wed, 02 Jul 2014 22:42:18 -0400") Message-ID: <871tu22ezf.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> But another case is when the errors are in the init file, and the buffer >> *Warnings* is displayed. The remaining problem is that the buffer >> *Warnings* becomes hidden behind the restored window configuration, >> so the user has no indication about the errors in the init file. > > That seems unrelated to this report? [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> But another case is when the errors are in the init file, and the buffer >> *Warnings* is displayed. The remaining problem is that the buffer >> *Warnings* becomes hidden behind the restored window configuration, >> so the user has no indication about the errors in the init file. > > That seems unrelated to this report? [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] >> But another case is when the errors are in the init file, and the buffer >> *Warnings* is displayed. The remaining problem is that the buffer >> *Warnings* becomes hidden behind the restored window configuration, >> so the user has no indication about the errors in the init file. > > That seems unrelated to this report? Fortunately, it doesn't cause the desktop file corruption, so I created a separate bug#17927. It seems for this bug#17351 to be closed, what remains to do is to generate a backup copy of the desktop file. I see two ways: 1. manually write a backup file once after reading the desktop and locking it. This solution fits into the current design of desktop.el. 2. Use normal mechanisms of making a backup and locking by using save-buffer instead of write-region, but this will cause more problems (including in the recentf list, etc.) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 10 21:18:27 2014 Received: (at 17351) by debbugs.gnu.org; 11 Aug 2014 01:18:27 +0000 Received: from localhost ([127.0.0.1]:38156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGeFn-00079A-37 for submit@debbugs.gnu.org; Sun, 10 Aug 2014 21:18:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33626 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGeFl-000791-6e for 17351@debbugs.gnu.org; Sun, 10 Aug 2014 21:18:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XGeFk-0005OL-2s; Sun, 10 Aug 2014 21:18:24 -0400 From: Glenn Morris To: Juri Linkov Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> <87r42b8aji.fsf@mail.jurta.org> X-Spook: JPL Commecen ICE MIT-LL red noise e-cash Bin Laden virus X-Ran: #o\4?OdIpvD"n2=>o-~*.~7w*Q=jsYYP'u}EY}lxeD}0.#a11n(:WR/;vwofpd><}]?g0< X-Hue: yellow X-Attribution: GM Date: Sun, 10 Aug 2014 21:18:23 -0400 In-Reply-To: <87r42b8aji.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 27 Jun 2014 02:44:01 +0300") Message-ID: <5xsil33jts.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17351 Cc: Alan Mackenzie , Stefan Monnier , 17351@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) I lost track of this. Did the "starting Emacs may delete your deskop file" aspect get fixed? If so, this can be downgraded to severity normal (or closed). From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 12 02:53:09 2014 Received: (at 17351-done) by debbugs.gnu.org; 12 Aug 2014 06:53:09 +0000 Received: from localhost ([127.0.0.1]:40005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XH5xE-0004aE-Pn for submit@debbugs.gnu.org; Tue, 12 Aug 2014 02:53:08 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:38063 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XH5xA-0004a3-Hh for 17351-done@debbugs.gnu.org; Tue, 12 Aug 2014 02:53:05 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 3D97F369D360FA; Mon, 11 Aug 2014 23:53:01 -0700 (PDT) From: Juri Linkov To: Glenn Morris Subject: Re: bug#17351: Trunk emacs splats .emacs.desktop at startup Organization: JURTA References: <20140426180427.GA2944@acm.acm> <87eh0jji5s.fsf@mail.jurta.org> <20140427091555.GA3091@acm.acm> <87fvkzf6bi.fsf@mail.jurta.org> <1ud2e177bf.fsf@fencepost.gnu.org> <87y4wo5ynb.fsf@mail.jurta.org> <0rionsjxr3.fsf@fencepost.gnu.org> <874mzbz11m.fsf@mail.jurta.org> <87fvitj3hx.fsf@mail.jurta.org> <87r42b8aji.fsf@mail.jurta.org> <5xsil33jts.fsf@fencepost.gnu.org> Date: Tue, 12 Aug 2014 09:52:12 +0300 In-Reply-To: <5xsil33jts.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 10 Aug 2014 21:18:23 -0400") Message-ID: <87lhqui4ir.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I lost track of this. > Did the "starting Emacs may delete your deskop file" aspect get fixed? > If so, this can be downgraded to severity normal (or closed). The fixes already installed in the emacs-24 branch were intended to reduce the number of cases that might break the desktop file, so I'm closing this bug report. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] X-Debbugs-Envelope-To: 17351-done Cc: Alan Mackenzie , Stefan Monnier , 17351-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > I lost track of this. > Did the "starting Emacs may delete your deskop file" aspect get fixed? > If so, this can be downgraded to severity normal (or closed). The fixes already installed in the emacs-24 branch were intended to reduce the number of cases that might break the desktop file, so I'm closing this bug report. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] > I lost track of this. > Did the "starting Emacs may delete your deskop file" aspect get fixed? > If so, this can be downgraded to severity normal (or closed). The fixes already installed in the emacs-24 branch were intended to reduce the number of cases that might break the desktop file, so I'm closing this bug report. The remaining feature to create a backup copy is optional and could be implemented later for the trunk in a new separate feature request. From unknown Mon Jun 23 07:47:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Sep 2014 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator