From: "Richard Munitz (BLOOMBERG/ 731 LEX)" <rmunitz1@bloomberg.net>
To: rgm@gnu.org
Cc: 20247@debbugs.gnu.org
Subject: bug#20247: 24.4; Emacs hangs at startup in desktop mode
Date: Thu, 16 Apr 2015 13:46:57 -0000 [thread overview]
Message-ID: <552FBD5101C5021600390460_0_62170@p057> (raw)
In-Reply-To: <551D5EB90201036000390576_0_67183@p057>
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
Thanks. On my first restart attempt, setting desktop-restore-in-current-display to t seems to have enabled me to restore as expected (unless by coincidence I was given the same display as the last time - I didn't check).
From: rgm@gnu.org At: Apr 15 2015 14:03:51
To: Richard Munitz (BLOOMBERG/ 731 LEX)
Cc: 20247@debbugs.gnu.org
Subject: Re: bug#20247: 24.4; Emacs hangs at startup in desktop mode
"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
[-- Attachment #2: Type: text/html, Size: 3002 bytes --]
next prev parent reply other threads:[~2015-04-16 13:46 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) [this message]
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=552FBD5101C5021600390460_0_62170@p057 \
--to=rmunitz1@bloomberg.net \
--cc=20247@debbugs.gnu.org \
--cc=rgm@gnu.org \
/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.