From unknown Fri Jun 20 07:25:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11674 <11674@debbugs.gnu.org> To: bug#11674 <11674@debbugs.gnu.org> Subject: Status: 24.1; desktop doesn't handle unclean restart under daemon mode Reply-To: bug#11674 <11674@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:25:22 +0000 retitle 11674 24.1; desktop doesn't handle unclean restart under daemon mode reassign 11674 emacs submitter 11674 Ken Raeburn severity 11674 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 14:28:03 2012 Received: (at submit) by debbugs.gnu.org; 11 Jun 2012 18:28:03 +0000 Received: from localhost ([127.0.0.1]:38169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9LM-0007Nq-FI for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:28:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60308) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Se9LK-0007Nj-7s for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:27:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se9Ik-0006Vt-AL for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:25:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:59062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se9Ik-0006VK-6y for submit@debbugs.gnu.org; Mon, 11 Jun 2012 14:25:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se9Ih-0005YQ-Uu for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 14:25:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Se9If-0006UZ-FK for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 14:25:15 -0400 Received: from pbit-mailserver.permabit.com ([204.246.225.83]:54014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Se9If-0006Tp-AS for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2012 14:25:13 -0400 Received: from just-testing.permabit.com (just-testing.permabit.com [10.95.208.54]) by pbit-mailserver.permabit.com (Postfix) with ESMTPS id 9998B148E11B; Mon, 11 Jun 2012 14:25:10 -0400 (EDT) From: Ken Raeburn To: bug-gnu-emacs@gnu.org Subject: 24.1; desktop doesn't handle unclean restart under daemon mode Date: Mon, 11 Jun 2012 14:25:02 -0400 Message-ID: <6etxyhhfk1.fsf@just-testing.permabit.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) The default configuration of desktop (aside from actually enabling it, via customize) can prompt as to whether a desktop configuration that "appears to be in use" by another process should be used. In daemon mode (e.g., started by emacsclient -c -a ""), the prompt is displayed to stdout on the tty invoking emacsclient, if there is one. (Maybe because emacs is started on that tty initially?) If emacsclient is launched by a button in the gnome panel, so there is no tty available, a stream of "Back to top level" messages seems to get written to a log file (.xsession-errors), and I doesn't see anything happen; no window comes up. Yes, I can just adjust my preferences, and I probably will, but the default behavior when both of these handy modes are used together shouldn't be to loop if the desktop file seems to be in use. In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-06-11 on just-testing.permabit.com Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Configured using: `configure '--prefix=/permabit/user/raeburn/I64/install/emacs-24.1.squeeze' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: CPerl Minor modes in effect: rcirc-track-minor-mode: t whitespace-mode: t desktop-save-mode: t jabber-activity-mode: t display-time-mode: t which-function-mode: t icomplete-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x u C-x u M-x e m a c s - r e p o r t C-g M-x e r e p o r t - q d e s k t o p , d a e m o n C-l C-x C-b C-x 0 C-v C-v M-v M-v M-v M-< C-x k C-f C-f C-h f C-g C-h c C-x k M-x r e p o r t - e m Recent messages: Undo! [2 times] Message in it@conference.chat.permabit.com Message in punt@conference.chat.permabit.com Quit Making completion list... Contacting host: debbugs.gnu.org:80 Reporting new bug! scroll-down-command: Beginning of buffer Mark set Quit RET (translated from ) runs the command widget-button-press Load-path shadows: None found. Features: (shadow sort mail-extr gnus-msg network-stream url-cache url-http url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars emacsbug sendmail goto-addr thingatpt jabber-keepalive jabber-bookmarks jabber-private sasl-digest hmac-md5 hex-util help-mode view mule-util server autorevert make-mode sh-script executable vc-git c-eldoc eldoc rcirc whitespace desktop cus-start cus-load jabber jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline easy-mmode jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse jabber-search jabber-register jabber-roster edmacro kmacro jabber-presence jabber-muc jabber-newdisco jabber-widget jabber-disco jabber-chat ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-keymap jabber-core jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls jabber-xml jabber-menu jabber-autoloads jabber-util cl idutils compile cperl-mode p4 timeclock time cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs warnings which-func imenu icomplete kr-stuff ses unsafep nnimap parse-time tls utf7 netrc browse-url edit-server gnus-demon nntp gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit iso-transl notifications dbus xml tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util time-date mm-util mail-prsvr password-cache format-spec tramp-loaddefs ssh shell pcomplete comint regexp-opt ansi-color ring uniquify advice help-fns advice-preload tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 03:11:11 2012 Received: (at 11674) by debbugs.gnu.org; 21 Jun 2012 07:11:11 +0000 Received: from localhost ([127.0.0.1]:50585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbXq-00081K-7N for submit@debbugs.gnu.org; Thu, 21 Jun 2012 03:11:10 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40231) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbXm-00081C-TA for 11674@debbugs.gnu.org; Thu, 21 Jun 2012 03:11:08 -0400 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShbUM-0004F0-3c; Thu, 21 Jun 2012 03:07:34 -0400 From: Chong Yidong To: Ken Raeburn Subject: Re: 24.1; desktop doesn't handle unclean restart under daemon mode Date: Thu, 21 Jun 2012 03:07:33 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11674 Cc: 11674@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > The default configuration of desktop (aside from actually enabling it, > via customize) can prompt as to whether a desktop configuration that > "appears to be in use" by another process should be used. > > If emacsclient is launched by a button in the gnome panel, so there is > no tty available, a stream of "Back to top level" messages seems to > get written to a log file (.xsession-errors), and I doesn't see > anything happen; no window comes up. Fixed in trunk. Now the prompt defaults to no if Emacs is running as a daemon. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 21 03:11:25 2012 Received: (at control) by debbugs.gnu.org; 21 Jun 2012 07:11:25 +0000 Received: from localhost ([127.0.0.1]:50588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbY4-00081l-JV for submit@debbugs.gnu.org; Thu, 21 Jun 2012 03:11:25 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40233) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShbY3-00081f-DE for control@debbugs.gnu.org; Thu, 21 Jun 2012 03:11:24 -0400 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShbUd-0004FH-Oc for control@debbugs.gnu.org; Thu, 21 Jun 2012 03:07:51 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 11674 Date: Thu, 21 Jun 2012 03:07:51 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 11674 thanks From unknown Fri Jun 20 07:25:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Jul 2012 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator