From: Dan Nicolaescu <dann@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: print a warning when starting Gtk+ emacs in daemon mode
Date: Tue, 31 May 2011 10:00:15 -0400 [thread overview]
Message-ID: <yxq7h97vukw.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwv7h97t41a.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 31 May 2011 10:05:35 -0300")
Stefan Monnier <monnier@iro.umontreal.ca> 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
What is the downside of printing a message at startup, where it is most
likely to be seen?
next prev parent reply other threads:[~2011-05-31 14:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 7:00 print a warning when starting Gtk+ emacs in daemon mode Dan Nicolaescu
2011-05-31 12:01 ` Juanma Barranquero
2011-05-31 13:05 ` Stefan Monnier
2011-05-31 14:00 ` Dan Nicolaescu [this message]
2011-05-31 15:05 ` Stefan Monnier
2011-06-02 16:58 ` Dan Nicolaescu
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=yxq7h97vukw.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.