unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: rmunitz1@bloomberg.net, eggert@cs.ucla.edu, 20247@debbugs.gnu.org
Subject: bug#20247: 24.4; Emacs hangs at startup in desktop mode
Date: Fri, 20 May 2016 19:06:47 +0300	[thread overview]
Message-ID: <83d1og90iw.fsf@gnu.org> (raw)
In-Reply-To: <09b74092-e4db-4ee0-8508-a71cc29e0205@default> (message from Drew Adams on Fri, 20 May 2016 08:24:04 -0700 (PDT))

> Date: Fri, 20 May 2016 08:24:04 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: Richard Munitz <rmunitz1@bloomberg.net>, 20247@debbugs.gnu.org
> 
> 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?

> The proposed cure sounds like killing the patient.

To me it sounds like the only sane behavior.

> And it doesn't solve the underlying problem for a user who decides
> to customize the value to use the recorded display value.

The assumption is that if such a customization produces problematic
behavior, users won't do that.

> A better fix, I think, would be to do something like this:
> 
> 1. Leave the default as is (not specifically important to this bug,
> however, as I mentioned: changing the default does NOT solve the
> problem, AFAICT).
> 
> 2. If the current value says to use the recorded display then try
> to do that.  If an error is raised then do not use it.

That's okay to try on master (if someone thinks it would be better),
but not on the release branch.  Note that trying to use it might
display some of the frames, which would then be tricky to remove, and
flashing them might not look good.

> 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.

> The first task is for Someone (TM) to actually try to find out
> what the problem is - what happens - when the display value is
> inappropriate.

The same thing that happens when you try to communicate with a machine
that is down or disconnected.





  parent reply	other threads:[~2016-05-20 16:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-02 15:22 bug#20247: 24.4; Emacs hangs at startup in desktop mode Richard Munitz (BLOOMBERG/ 731 LEX)
2015-04-15 18:03 ` Glenn Morris
2015-04-16 13:46 ` Richard Munitz (BLOOMBERG/ 731 LEX)
2016-05-20 15:08 ` Paul Eggert
2016-05-20 15:24   ` Drew Adams
2016-05-20 15:34     ` Paul Eggert
2016-05-20 15:54       ` Drew Adams
2016-05-20 16:10         ` Eli Zaretskii
2016-05-20 16:31         ` Paul Eggert
2016-05-20 16:09       ` Eli Zaretskii
2016-05-20 16:06     ` Eli Zaretskii [this message]
     [not found]     ` <<83d1og90iw.fsf@gnu.org>
2016-05-20 17:15       ` Drew Adams
2016-05-20 17:44         ` Eli Zaretskii
     [not found]     ` <<<83d1og90iw.fsf@gnu.org>
     [not found]       ` <<4eebea73-4fcb-4dc7-b149-cef7a34a3c16@default>
     [not found]         ` <<837feo8w0u.fsf@gnu.org>
2016-05-20 17:54           ` Drew Adams
2016-05-23 16:53 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d1og90iw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20247@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=eggert@cs.ucla.edu \
    --cc=rmunitz1@bloomberg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).