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: Dan Nicolaescu
Subject: Re: print a warning when starting Gtk+ emacs in daemon mode
Date: Thu, 02 Jun 2011 12:58:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>>> 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.

Not sure what you mean here...
So please adjust the warning to make it less scary.  (although not too
much, as we do want users to complain about Gtk, not emacs...)



reply via email to

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