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#20247: 24.4; Emacs hangs at startup in desktop mode Date: Fri, 20 May 2016 20:44:01 +0300 Message-ID: <837feo8w0u.fsf@gnu.org> References: <<551D5EB90201036000390576_0_67183@p057> <09b74092-e4db-4ee0-8508-a71cc29e0205@default>> <<83d1og90iw.fsf@gnu.org>> <4eebea73-4fcb-4dc7-b149-cef7a34a3c16@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463766384 20530 80.91.229.3 (20 May 2016 17:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 May 2016 17:46:24 +0000 (UTC) Cc: rmunitz1@bloomberg.net, eggert@cs.ucla.edu, 20247@debbugs.gnu.org, lekktu@gmail.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 20 19:46:13 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 1b3oV2-0004Vu-Hz for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 19:46:12 +0200 Original-Received: from localhost ([::1]:55802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oV1-0003O9-ME for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 May 2016 13:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oTy-0002gR-JM for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 13:45:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3oTu-0000bh-ER for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 13:45:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oTu-0000bd-BB for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 13:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b3oTu-0006N7-75 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 13:45: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: Fri, 20 May 2016 17:45: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.146376625524430 (code B ref 20247); Fri, 20 May 2016 17:45:02 +0000 Original-Received: (at 20247) by debbugs.gnu.org; 20 May 2016 17:44:15 +0000 Original-Received: from localhost ([127.0.0.1]:59299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3oT9-0006Ly-6P for submit@debbugs.gnu.org; Fri, 20 May 2016 13:44:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3oT7-0006Lm-If for 20247@debbugs.gnu.org; Fri, 20 May 2016 13:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3oSz-0000R3-3c for 20247@debbugs.gnu.org; Fri, 20 May 2016 13:44:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3oSp-0000PH-By; Fri, 20 May 2016 13:43:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3464 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3oSn-0003KN-Np; Fri, 20 May 2016 13:43:54 -0400 In-reply-to: <4eebea73-4fcb-4dc7-b149-cef7a34a3c16@default> (message from Drew Adams on Fri, 20 May 2016 10:15:53 -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:118494 Archived-At: > Date: Fri, 20 May 2016 10:15:53 -0700 (PDT) > From: Drew Adams > Cc: eggert@cs.ucla.edu, rgm@gnu.org, rmunitz1@bloomberg.net, > 20247@debbugs.gnu.org, lekktu@gmail.com > > > > Can we not leave the default to respecting the saved display value, > > > but also use a `condition-case' or similar to DTRT if that display > > > does not exist or trying to use it raises an error in some other way? > > > > Can you explain why using display that is not the current one even > > makes sense? > > Ask Juanma, or whoever else might have been responsible for designing > this aspect of desktop. Juanma is not the one who claims that the current default value is the correct one; you are. I hoped you could explain why you think so. > Desktop is designed to support exactly that, no? You are apparently > questioning the design. The design supports both values. I question the default. I don't object to allow the other value if it is useful in some marginal use cases. > Desktop records lots of stuff that might not be usable when > an attempt is made to restore the recorded desktop. Actually, no, it doesn't. It generally records only values that should be usable. > > > I don't have the code for #2. No doubt Someone (TM) would need to > > > _actually try to debug this_, to find out just what happens when a > > > bad display value is tried. > > > > I think it's clear without any debugging. > > Really? In that case, can you please make it raise an error instead > of hanging? I don't see how that is relevant. Being able to explain the problem doesn't necessarily mean a solution is at hand. > Just trying to help. You aren't.