From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23604: desktop-restore-in-current-display should default to t Date: Mon, 23 May 2016 10:47:36 -0700 (PDT) Message-ID: <76836464-8187-469c-9ddd-df27b6da1acc@default> References: <<278b113b-21aa-5c54-6550-79bf1e481530@cs.ucla.edu>> <> <<83a8jg65vd.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1464025951 13672 80.91.229.3 (23 May 2016 17:52:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 May 2016 17:52:31 +0000 (UTC) Cc: 23604@debbugs.gnu.org, eggert@cs.ucla.edu To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 23 19:52:17 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 1b4u1Y-0003tH-4A for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 May 2016 19:52:16 +0200 Original-Received: from localhost ([::1]:49648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4u1X-00026g-E6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 May 2016 13:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4txX-0007fR-EE for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:48:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4txS-0003VT-As for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4txS-0003VO-6t for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b4txR-0005Ly-S7 for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 13:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 May 2016 17:48:01 +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.146402566720558 (code B ref 23604); Mon, 23 May 2016 17:48:01 +0000 Original-Received: (at 23604) by debbugs.gnu.org; 23 May 2016 17:47:47 +0000 Original-Received: from localhost ([127.0.0.1]:35101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4txD-0005LW-8n for submit@debbugs.gnu.org; Mon, 23 May 2016 13:47:47 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:17851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4txB-0005LJ-RQ for 23604@debbugs.gnu.org; Mon, 23 May 2016 13:47:46 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4NHlcLS002285 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 May 2016 17:47:39 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u4NHlcXf017329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 May 2016 17:47:38 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u4NHlbBL025492; Mon, 23 May 2016 17:47:37 GMT In-Reply-To: <<83a8jg65vd.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:118579 Archived-At: > 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. >=20 > This problem will exist on any platform that supports X displays, > i.e. on any Posix system. >=20 > > 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. >=20 > No, the right course is to set it to t and leave it at that. You elided this, just after that paragraph: At that point, if there is disagreement about the default value, ^^^^^^^^^^^^^ i.e., if someone really thinks it should be t by design (and not just as a workaround), then we can discuss the pros & cons for the default behavior. The proper default value to use, once bug #20274 is fixed, should be discussed in that context, not in the context of this temporary workaround (#23604). Let's have that discussion there and then. ____ As I said before, there are other things that desktop can try to restore by default that can sometimes not be restored. And it is designed to fall back when such a restoration attempt fails. The same design applies, a priori, to restoring to a recorded display. It should be possible to try that and fall back if it is not possible for some reason (e.g. the display does not exist). (This is not essentially different from `recentf-exclude' having a default value of nil, which can lead to problems if the next session is not in an environment that has access to, for example, a given host recorded in a remote file or directory entry.) But we should discuss this later and not here. This bug is only about the temporary workaround of setting the value to `t' _to avoid bug #20274_ rearing its head by default.