From: Glenn Morris <rgm@gnu.org>
To: 17693-done@debbugs.gnu.org
Subject: bug#17693: 24.3.91.1; desktop-save-mode disables option -nw
Date: Wed, 16 Jul 2014 00:30:43 -0400 [thread overview]
Message-ID: <vjd2d6udqk.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <folhs6xc1o.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 06 Jul 2014 20:11:47 -0400")
Version: 24.3.93
I applied a simple workaround. Hopefully good enough for now at least.
--- a/lisp/desktop.el 2014-07-03 23:48:24 +0000
+++ b/lisp/desktop.el 2014-07-16 04:28:42 +0000
@@ -1516,8 +1516,15 @@
(setq command-line-args (delete key command-line-args))
(desktop-save-mode 0)))
(when desktop-save-mode
- (desktop-read)
- (setq inhibit-startup-screen t))))
+ ;; People don't expect emacs -nw, or --daemon,
+ ;; to create graphical frames (bug#17693).
+ ;; TODO perhaps there should be a separate value
+ ;; for desktop-restore-frames to control this startup behavior?
+ (let ((desktop-restore-frames (and desktop-restore-frames
+ initial-window-system
+ (not (daemonp)))))
+ (desktop-read)
+ (setq inhibit-startup-screen t)))))
next prev parent reply other threads:[~2014-07-16 4:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-04 18:34 bug#17693: 24.3.91.1; desktop-save-mode disables option -nw Stefan Guath
2014-06-04 21:18 ` Juanma Barranquero
2014-06-05 7:00 ` Stefan Guath
2014-06-05 7:02 ` Juanma Barranquero
2014-06-05 7:05 ` Stefan Guath
2014-06-05 7:12 ` Juanma Barranquero
2014-06-22 7:11 ` Glenn Morris
2014-07-07 0:11 ` Glenn Morris
2014-07-16 4:30 ` Glenn Morris [this message]
2015-04-08 14:55 ` bug#17693: This bug is not resolved Jordon Biondo
2015-04-08 15:10 ` Jordon Biondo
2016-04-02 13:41 ` Eli Zaretskii
2016-05-19 16:23 ` bug#17693: PATCH Jun Hao
2016-05-21 19:40 ` bug#17693: 24.3.91.1; desktop-save-mode disables option -nw Paul Eggert
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vjd2d6udqk.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=17693-done@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).