From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 12647@debbugs.gnu.org,
Toby Cubitt <toby-dated-1351439087.748fe4@dr-qubit.org>
Subject: bug#12647: 24.2.50; emacs --daemon broken in tty
Date: Tue, 16 Oct 2012 09:20:06 -0400 [thread overview]
Message-ID: <jwvbog2k1a8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <v5a9vm7vga.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 16 Oct 2012 03:00:21 -0400")
> This is due to the various changes related to display handling in
> r110444 (cygw32). The specific error is from x-initialize-window-system,
> which cannot find a display (don't ask me why getenv DISPLAY doesn't
> work here).
He said he started "emacs --daemon" outside of X windows, so DISPLAY is
not set.
> In the past, frame.el set x-display-name, but it does not do
> that any more.
Where did it do it?
> The following example frame.el change makes it work again, but someone
> should check this area.
To a large extent x-display-name should disappear, replaced by explicit
parameters, since it doesn't make much sense in a multi-display context.
So this part of the code is pretty ugly. Your patch is probably OK in
the sense that it doesn't seem to make things significantly worse.
Stefan
next prev parent reply other threads:[~2012-10-16 13:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 15:44 bug#12647: 24.2.50; emacs --daemon broken in tty Toby Cubitt
2012-10-16 7:00 ` Glenn Morris
2012-10-16 13:20 ` Stefan Monnier [this message]
2012-10-16 15:47 ` Glenn Morris
2012-10-16 21:34 ` Stefan Monnier
2012-10-16 21:42 ` Toby Cubitt
2012-10-18 23:46 ` Glenn Morris
2012-10-18 23:56 ` Ulrich Mueller
2012-10-19 0:23 ` Daniel Colascione
2012-10-19 1:40 ` Stefan Monnier
2012-10-20 3:45 ` Daniel Colascione
2012-10-20 12:30 ` Ulrich Mueller
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=jwvbog2k1a8.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12647@debbugs.gnu.org \
--cc=rgm@gnu.org \
--cc=toby-dated-1351439087.748fe4@dr-qubit.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.