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#20247: 24.4; Emacs hangs at startup in desktop mode Date: Fri, 20 May 2016 08:54:59 -0700 (PDT) Message-ID: <4a60533f-2b56-4187-8bd9-78cb4e032684@default> References: <551D5EB90201036000390576_0_67183@p057> <09b74092-e4db-4ee0-8508-a71cc29e0205@default> <866b4d59-3fe0-4086-cec5-0292be35a2a5@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463759793 4346 80.91.229.3 (20 May 2016 15:56:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 May 2016 15:56:33 +0000 (UTC) Cc: Richard Munitz , 20247@debbugs.gnu.org To: Paul Eggert , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 17:56:19 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 1b3mmf-0000Kz-3r for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 17:56:17 +0200 Original-Received: from localhost ([::1]:55336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mma-0004VM-U1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 11:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mmV-0004Ue-GM for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:56:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3mmP-0007vZ-U6 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:56:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mmP-0007vU-Qm for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b3mmP-0002Fs-LW for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:56: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: Fri, 20 May 2016 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20247 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20247-submit@debbugs.gnu.org id=B20247.14637597168614 (code B ref 20247); Fri, 20 May 2016 15:56:01 +0000 Original-Received: (at 20247) by debbugs.gnu.org; 20 May 2016 15:55:16 +0000 Original-Received: from localhost ([127.0.0.1]:59237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mlg-0002Er-2v for submit@debbugs.gnu.org; Fri, 20 May 2016 11:55:16 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:49595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mle-0002Ee-V1 for 20247@debbugs.gnu.org; Fri, 20 May 2016 11:55:15 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4KFt3cd024410 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 May 2016 15:55:03 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u4KFt2CR020073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 May 2016 15:55:02 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u4KFt1TJ030597; Fri, 20 May 2016 15:55:01 GMT In-Reply-To: <866b4d59-3fe0-4086-cec5-0292be35a2a5@cs.ucla.edu> 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:118486 Archived-At: > > A better fix, I think, would be to do something like this: >=20 > If someone has the time to develop an even-better patch, that would be > great. In the meantime, the question is whether the proposed patch > improves Emacs. All your patch does is make the _default_ value be one that doesn't manifest the bug. That does not sound like a fix, to me. I would hardly even characterize it as an improvement, though admittedly some users might be less likely to stumble on the bug. To me, this is, at best, papering over the cracks - and the paper is very thin. I certainly hope that the bug remains open, so this can be fixed, whether or not your patch gets applied. The bug will still exist. > I don't use desktop mode and don't know the pros and > cons of the various settings. That being said, it appears that > defaulting desktop-restore-in-current-display to nil caused significant > misbehavior for a real use case, whereas defaulting to t would have > worked for that use case. There is something to be said for choosing a > default that is less likely to cause a bug, even if you have not fixed > the bug in general. There might be something to be said for that, but it is not much, IMO. My recommendation would be to leave the default value as it is and leave the bug open until someone can debug it and fix it. This bug should not be a reason behind the default-value choice. What's the hurry to close bugs that would motivate not fixing them?