GNU bug report logs - #28943
25.2; desktop-kill should not be in kill-emacs-hook

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>

Date: Sun, 22 Oct 2017 16:28:01 UTC

Severity: minor

Merged with 21833

Found in versions 24.4, 25.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 28943 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Pierre Neidhardt <ambrevar <at> gmail.com>, 28943 <at> debbugs.gnu.org
Subject: Re: bug#28943: 25.2; desktop-kill should not be in kill-emacs-hook
Date: Tue, 31 Oct 2017 09:41:04 +0100
> In the meanwhile, `desktop-kill':
>
>> If the desktop should be saved and ‘desktop-dirname’
>> is nil, ask the user where to save the desktop.
>
> I suggest either we move `desktop-kill' to `kill-emacs-query-functions'
> or we define two functions, one with user interaction, the other one
> unattended.

I think we should just move it to ‘kill-emacs-query-functions’.  A
cursory look reveals that at least ‘eshell-save-some-last-dir’,
‘eshell-save-some-history’ and ‘ps-kill-emacs-check’ seem to have the
same problem.

martin





This bug report was last modified 4 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.