GNU bug report logs - #12647
24.2.50; emacs --daemon broken in tty

Previous Next

Package: emacs;

Reported by: Toby Cubitt <toby-dated-1351439087.748fe4 <at> dr-qubit.org>

Date: Sun, 14 Oct 2012 15:47:01 UTC

Severity: important

Merged with 12678

Found in version 24.2.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12647 <at> debbugs.gnu.org, Toby Cubitt <toby-dated-1351439087.748fe4 <at> dr-qubit.org>
Subject: bug#12647: 24.2.50; emacs --daemon broken in tty
Date: Tue, 16 Oct 2012 09:20:06 -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




This bug report was last modified 12 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.