all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Richard Munitz <rmunitz1@bloomberg.net>
Cc: 20247@debbugs.gnu.org
Subject: bug#20247: 24.4; Emacs hangs at startup in desktop mode
Date: Wed, 15 Apr 2015 14:03:50 -0400	[thread overview]
Message-ID: <h3pp75z2t5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <551D5EB90201036000390576_0_67183@p057> (Richard Munitz's message of "Thu, 2 Apr 2015 15:22:33 -0000")

"Richard Munitz (BLOOMBERG/ 731 LEX)" wrote:

> Some more information. This problem could be related to tmux. The last
> time the hang occurred I noticed that my environment settings had
> different values for XTERM and DISPLAY. Currently they look like the
> below, but on that day they were different. Unfortunately, I don't
> remember which was which. But the .emacs.desktop file had one of the
> two values and it hung. When I edited the file and changed it to the
> other of the two values, it started flawlessly.
> XTERM=/usr/bin/X11/xterm -ls -sb -sl 4000 -display sundev28:37.0
> DISPLAY=sundev28:37.0
>
> Of course I don't understand the internals, but I don't understand why
> emacs starts up and tries to use a saved "display" value at all? Why
> doesn't it just always use the display value defined in the current
> shell in which I am invoking emacs? Perhaps this is sometimes
> desirable, but is there a setting I can use to make emacs ignore this
> value saved in the desktop file and always use the value from the
> current environment?


Maybe setting desktop-restore-in-current-display to t will help?

I suspect that in that variable's doc:

   If nil, restores frames into their original displays (if possible).

the "(if possible)" part is going to be tricky to get right.

See also http://debbugs.gnu.org/17693#40





  reply	other threads:[~2015-04-15 18:03 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 [this message]
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
     [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

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

  git send-email \
    --in-reply-to=h3pp75z2t5.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=20247@debbugs.gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.