From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20247: 24.4; Emacs hangs at startup in desktop mode Date: Fri, 20 May 2016 08:34:41 -0700 Organization: UCLA Computer Science Department Message-ID: <866b4d59-3fe0-4086-cec5-0292be35a2a5@cs.ucla.edu> References: <551D5EB90201036000390576_0_67183@p057> <09b74092-e4db-4ee0-8508-a71cc29e0205@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1463758531 14972 80.91.229.3 (20 May 2016 15:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 May 2016 15:35:31 +0000 (UTC) Cc: Richard Munitz , 20247@debbugs.gnu.org To: Drew Adams , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 17:35: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 1b3mSL-0001JY-8I for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 17:35:17 +0200 Original-Received: from localhost ([::1]:55278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mSK-0007NC-IF for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 11:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mSB-0007Hv-KR for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:35:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3mS6-0001zT-Lq for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3mS6-0001zP-J4 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b3mS6-00008f-F6 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 11:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2016 15:35:02 +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.1463758489497 (code B ref 20247); Fri, 20 May 2016 15:35:02 +0000 Original-Received: (at 20247) by debbugs.gnu.org; 20 May 2016 15:34:49 +0000 Original-Received: from localhost ([127.0.0.1]:59226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mRt-00007w-48 for submit@debbugs.gnu.org; Fri, 20 May 2016 11:34:49 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3mRs-00007k-Dy for 20247@debbugs.gnu.org; Fri, 20 May 2016 11:34:48 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E46B416132B; Fri, 20 May 2016 08:34:42 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0Aj5Iy5Wbx6f; Fri, 20 May 2016 08:34:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 307F416132E; Fri, 20 May 2016 08:34:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GdFfVr8sy2aK; Fri, 20 May 2016 08:34:42 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1450716132B; Fri, 20 May 2016 08:34:42 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <09b74092-e4db-4ee0-8508-a71cc29e0205@default> 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:118485 Archived-At: On 05/20/2016 08:24 AM, Drew Adams wrote: > A better fix, I think, would be to do something like this: 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. 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.