From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Covici Newsgroups: gmane.emacs.bugs Subject: bug#24298: Acknowledgement (25.1; problem with restoring desktop) Date: Sat, 10 Dec 2016 13:46:15 -0500 Organization: Covici Computer Systems Message-ID: References: <83oa0rlnmw.fsf@gnu.org> <83pokzg944.fsf@gnu.org> <83mvg3g4wi.fsf@gnu.org> <83h96bfzgz.fsf@gnu.org> Reply-To: covici@ccs.covici.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1481395637 23957 195.159.176.226 (10 Dec 2016 18:47:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 18:47:17 +0000 (UTC) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 24298@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 19:47:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFmfr-0004bI-Kv for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 19:47:07 +0100 Original-Received: from localhost ([::1]:52775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFmfv-0002fa-GM for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 13:47:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFmfp-0002fT-GG for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 13:47:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFmfm-00015q-D1 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 13:47:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFmfm-00015i-9R for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 13:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFmfm-0006FP-3I for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 13:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Covici Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2016 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24298 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24298-submit@debbugs.gnu.org id=B24298.148139558323959 (code B ref 24298); Sat, 10 Dec 2016 18:47:02 +0000 Original-Received: (at 24298) by debbugs.gnu.org; 10 Dec 2016 18:46:23 +0000 Original-Received: from localhost ([127.0.0.1]:37228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFmf8-0006EN-PO for submit@debbugs.gnu.org; Sat, 10 Dec 2016 13:46:23 -0500 Original-Received: from mail0205.smtp25.com ([174.37.170.205]:33494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFmf6-0006EE-If for 24298@debbugs.gnu.org; Sat, 10 Dec 2016 13:46:21 -0500 Original-Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.9/8.14.8) with ESMTP id uBAIkGKg001442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 10 Dec 2016 13:46:16 -0500 Original-Received: (from covici@localhost) by ccs.covici.com (8.14.9/8.13.7/Submit) id uBAIkF5X001437; Sat, 10 Dec 2016 13:46:15 -0500 In-Reply-To: <83h96bfzgz.fsf@gnu.org> X-SpamH-Filter: s-out-001.smtp25.com-uBAIkGNb015000 X-SpamH-OriginatingIP: 70.109.53.110 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126824 Archived-At: On Sat, 10 Dec 2016 12:47:24 -0500, Eli Zaretskii wrote: > > > Date: Sat, 10 Dec 2016 11:02:47 -0500 > > From: John Covici > > Cc: 24298@debbugs.gnu.org > > > > > The desktop file you sent doesn't have Makefile, it has default.xml > > > and brltty-9999.ebuild. The buffer that's expected to be the current > > > one after restoring is the first one in the list, and in your case > > > it's default.xml. So if that buffer becomes the current after > > > restoring desktop, I don't see a problem in the restore stage, and > > > don't understand how that commit could have changed this. > > > > > > What do you see in the list returned by buffer-list, before you end a > > > session? The buffers are recorded in the desktop file in the order > > > they appear in that list, and in my case, this is the current buffer > > > when I invoke desktop-save. > > > > I am sorry, it wasn't a makefile, you are correct. OK, let me try > > again. Before the restore commit, when I enter emacs, the current > > buffer is brltty-9999.ebuild but after the commit the current buffer > > is the default.xml. Before the restore commit, if I do c-x-b the > > default buffer it wants to switch to is default.xml. After the > > restore commit, when the current buffer is default.xml when it should > > be brltty-9999.ebuild the default buffer to switch to is the scratch > > buffer. In a desktop with many buffers, after the restore commit, it > > seems to pick a random buffer to be the current buffer rather than the > > one it should be. > > > > I hope this is clear now. > > It is, thanks. But please also answer my question above about the > order of buffers in the list returned by buffer-list, before you quite > Emacs which writes the desktop file. Here is what I have before the restore commit. CRM Buffer Size Mode File . brltty-9999.ebuild 4916 Text /usr/local/portage/app-accessibility/brltty/brltty-9999.ebuild default.xml 48920 nXML Invalid /etc/freeswitch/conf/dialplan/default.xml %* *Completions* 275 Completion List *scratch* 145 Lisp Interaction %* *Messages* 578 Messages And here is what I get after the commit CRM Buffer Size Mode File *scratch* 145 Lisp Interaction %* *Messages* 206 Messages brltty-9999.ebuild 4916 Text /usr/local/portage/app-accessibility/brltty/brltty-9999.ebuild . default.xml 48920 nXML Invalid /etc/freeswitch/conf/dialplan/default.xml and if I quit emacs and use emacs before the commit, I get the first one. Hope this helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com