From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21833@debbugs.gnu.org, si@siancu.net
Subject: bug#21833: 24.4; desktop-kill, which is interactive, is in kill-emacs-hook
Date: Fri, 13 Nov 2015 11:14:57 +0100 [thread overview]
Message-ID: <CAAeL0SR-NN81hWOhmbtZNJKqvHjJF+49bzaewCFhxKRkmhzfmQ@mail.gmail.com> (raw)
In-Reply-To: <83wptmfcao.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
On Fri, Nov 13, 2015 at 11:01 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> Sorry, I don't understand: what frames? We are talking about
> non-interactive situations, no?
There's nothing non-interactive in the OP use case. And desktop.el already
contains
(unless noninteractive
(add-hook 'kill-emacs-hook 'desktop-kill))
Try
emacs -Q --batch --eval "(progn (desktop-save-mode 1) (kill-emacs))"
so what I'm discussing is whether desktop.el should try to protect the
desktop when the user, or some code, runs `kill-emacs'.
> Why? In "emacs -Q", the desktop you have is ephemeral
Obviously, I'm not talking about the -Q case, and I don't thing the OP is,
either. That's just a recipe to show that kill-emacs asks an interactive
question.
[-- Attachment #2: Type: text/html, Size: 1103 bytes --]
next prev parent reply other threads:[~2015-11-13 10:14 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 22:43 bug#21833: 24.4; desktop-kill, which is interactive, is in kill-emacs-hook Michael Arntzenius
2015-11-12 20:07 ` Stelian Iancu
2015-11-12 20:11 ` Glenn Morris
2015-11-12 20:24 ` Stelian Iancu
2015-11-12 20:50 ` Eli Zaretskii
2015-11-12 21:38 ` Glenn Morris
2015-11-12 23:04 ` Juanma Barranquero
2015-11-12 23:38 ` Glenn Morris
2015-11-12 23:53 ` Juanma Barranquero
2015-11-13 0:27 ` Juanma Barranquero
2015-11-13 7:59 ` Eli Zaretskii
2015-11-13 9:39 ` Juanma Barranquero
2015-11-13 10:03 ` Eli Zaretskii
2015-11-13 10:17 ` Juanma Barranquero
2015-11-13 14:07 ` Eli Zaretskii
2015-11-13 14:36 ` Juanma Barranquero
2015-11-13 7:56 ` Eli Zaretskii
2015-11-13 9:30 ` Juanma Barranquero
2015-11-13 10:01 ` Eli Zaretskii
2015-11-13 10:14 ` Juanma Barranquero [this message]
2015-11-13 14:05 ` Eli Zaretskii
2015-11-13 14:35 ` Juanma Barranquero
2015-11-13 18:55 ` Eli Zaretskii
2015-11-15 11:54 ` Juanma Barranquero
2015-11-15 19:40 ` Eli Zaretskii
2015-11-13 8:36 ` Eli Zaretskii
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=CAAeL0SR-NN81hWOhmbtZNJKqvHjJF+49bzaewCFhxKRkmhzfmQ@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=21833@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=si@siancu.net \
/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.