From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23604: desktop-restore-in-current-display should default to t Date: Mon, 23 May 2016 20:28:38 +0300 Message-ID: <83a8jg65vd.fsf@gnu.org> References: <278b113b-21aa-5c54-6550-79bf1e481530@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464024573 23789 80.91.229.3 (23 May 2016 17:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 May 2016 17:29:33 +0000 (UTC) Cc: 23604@debbugs.gnu.org, eggert@cs.ucla.edu To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 23 19:29:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b4tfK-0002s2-Qt for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 May 2016 19:29:18 +0200 Original-Received: from localhost ([::1]:49531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tfJ-0006A1-M5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 May 2016 13:29:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tf6-00064y-T2 for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:29:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4tf4-0007VN-Rq for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:29:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tf4-0007VI-Op for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b4tf4-0004sm-Ja for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 May 2016 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23604-submit@debbugs.gnu.org id=B23604.146402453618664 (code B ref 23604); Mon, 23 May 2016 17:29:02 +0000 Original-Received: (at 23604) by debbugs.gnu.org; 23 May 2016 17:28:56 +0000 Original-Received: from localhost ([127.0.0.1]:35078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4tex-0004qu-Ic for submit@debbugs.gnu.org; Mon, 23 May 2016 13:28:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4tev-0004pf-Su for 23604@debbugs.gnu.org; Mon, 23 May 2016 13:28:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4tel-0007SV-HG for 23604@debbugs.gnu.org; Mon, 23 May 2016 13:28:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4tel-0007SL-E2; Mon, 23 May 2016 13:28:43 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3426 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b4tej-0006r1-Fp; Mon, 23 May 2016 13:28:42 -0400 In-reply-to: (message from Drew Adams on Mon, 23 May 2016 10:13:58 -0700 (PDT)) 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:118574 Archived-At: > Date: Mon, 23 May 2016 10:13:58 -0700 (PDT) > From: Drew Adams > > The default value should, I think, be nil. A priori, it should > be nil because that was the chosen design for this variable. And > because that is generally the behavior for other desktop settings > that are recorded - desktop generally tries to restore as much of > the previous session as possible, by default. > > Reasonable arguments to the contrary could be presented. Until > then, I'm not convinced - a priori, I favor the nil default chosen > for the original design. Leaving it at nil makes no sense to me. It means that you invoke Emacs, which will then display on a different terminal -- could be a terminal half a world away. That could be something that is desired in some specialized use cases, but makes no sense at all as the default. > An alternative, and less inappropriate workaround could perhaps > be (i.e., have been) to change the default value only for the > platform where this bug was reported, if we had some idea that > other platforms were not necessarily affected by it. This problem will exist on any platform that supports X displays, i.e. on any Posix system. > Anyway, the right course of action now (if Emacs 25.1 is released > with the default value changed to t) is (after the 25.1 release) > to fix bug #20247 and revert the default value to nil. No, the right course is to set it to t and leave it at that.