emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100591: * src/emacs.c (main): War


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100591: * src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.
Date: Thu, 02 Jun 2011 09:56:04 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 100591
committer: Dan Nicolaescu <address@hidden>
branch nick: emacs-23
timestamp: Thu 2011-06-02 09:56:04 -0700
message:
  * src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.
modified:
  src/ChangeLog
  src/emacs.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-06-01 01:36:38 +0000
+++ b/src/ChangeLog     2011-06-02 16:56:04 +0000
@@ -1,3 +1,7 @@
+2011-06-02  Dan Nicolaescu  <address@hidden>
+
+       * emacs.c (main): Warn when starting a GTK emacs in daemon mode.
+
 2011-06-01  YAMAMOTO Mitsuharu  <address@hidden>
 
        * fringe.c (update_window_fringes): Don't update overlay arrow bitmap

=== modified file 'src/emacs.c'
--- a/src/emacs.c       2011-01-02 23:50:46 +0000
+++ b/src/emacs.c       2011-06-02 16:56:04 +0000
@@ -1120,6 +1120,11 @@
        }
 
 #ifndef NS_IMPL_COCOA
+#ifdef USE_GTK
+      fprintf (stderr, "\nWarning: due to a long standing Gtk+ 
bug\nhttp://bugzilla.gnome.org/show_bug.cgi?id=85715\n\
+Emacs might crash when run in daemon mode and the X11 connection is 
unexpectedly lost.\n\
+Using an Emacs configured with --with-x-toolkit=lucid does not have this 
problem.\n");
+#endif
       f = fork ();
 #else /* NS_IMPL_COCOA */
       /* Under Cocoa we must do fork+exec as CoreFoundation lib fails in


reply via email to

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