From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24298: Acknowledgement (25.1; problem with restoring desktop) Date: Sat, 10 Dec 2016 17:50:05 +0200 Message-ID: <83mvg3g4wi.fsf@gnu.org> References: <83oa0rlnmw.fsf@gnu.org> <83pokzg944.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481385015 28975 195.159.176.226 (10 Dec 2016 15:50:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 15:50:15 +0000 (UTC) Cc: 24298@debbugs.gnu.org To: covici@ccs.covici.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 10 16:50:11 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 1cFjuc-0006kJ-7T for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 16:50:10 +0100 Original-Received: from localhost ([::1]:52144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFjug-0006bF-8e for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2016 10:50:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFjuX-0006aB-JA for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:50:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFjuU-00053a-Hp for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:50:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFjuU-00053U-FP for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFjuU-0008OV-72 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2016 15:50: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.148138498632237 (code B ref 24298); Sat, 10 Dec 2016 15:50:02 +0000 Original-Received: (at 24298) by debbugs.gnu.org; 10 Dec 2016 15:49:46 +0000 Original-Received: from localhost ([127.0.0.1]:37121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFjuD-0008Ns-VV for submit@debbugs.gnu.org; Sat, 10 Dec 2016 10:49:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFjuC-0008Ne-9n for 24298@debbugs.gnu.org; Sat, 10 Dec 2016 10:49:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFju3-0004ob-Ek for 24298@debbugs.gnu.org; Sat, 10 Dec 2016 10:49:38 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFju3-0004oR-BA; Sat, 10 Dec 2016 10:49:35 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1503 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cFju2-0001bb-Dr; Sat, 10 Dec 2016 10:49:34 -0500 In-reply-to: (message from John Covici on Sat, 10 Dec 2016 10:02:11 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:126810 Archived-At: > Date: Sat, 10 Dec 2016 10:02:11 -0500 > From: John Covici > Cc: 24298@debbugs.gnu.org > > I can reproduce this with a desktop with just two buffers, what > happens is when the commit is there, the wrong buffer is the current > one and if I do c-x-b it has the scratch buffer as the next one > rather than the previous buffer. For instance in the desktop I will > send you, the current buffer is the Makefile, but when I restore the > desktop, default.xml is made the current buffer instead and the > scratch buffer is the default for c-x-b. 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.