emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print a warning when starting Gtk+ emacs in daemon mode


From: Stefan Monnier
Subject: Re: print a warning when starting Gtk+ emacs in daemon mode
Date: Tue, 31 May 2011 12:05:37 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> We get many duplicate bug reports of Gtk+ emacs crashing when run in
>>> daemon mode and the X11 connection dies.
>>> How about printing a warning when starting Gtk+ emacs in daemon mode so
>>> that the users are aware of the potential risks (and blame Gtk+ not
>>> Emacs ...)
>> We already print a blurb when the connection dies.  Presumably it gets
>> printed to the same place as your patch would, so if they don't see the
>> one we already have, they probably won't see the one you suggest.

> A very likely scenario:
> 1. user starts emacs --daemon
> 2. some time later starts an ssh connection to the machine and opens an
>   X11 frame, the terminal that started emacs --daemon is long unavailable
> 3. if the ssh connection has a problem, then trying to print a message
>   there won't work

OK.

> What is the downside of printing a message at startup, where it is most
> likely to be seen?

I don't know if there could be a significant downside, tho I do expect
that most daemon users only use Emacs with a single X11 display.
So I'm OK with such a message (presuming it won't introduce any real
problem), but please try to make the message less scary and making it
clear that it only applies to the case of multiple displays.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]