GNU bug report logs - #29972
25.3; dired-hide-details-mode does not persist in desktop session

Previous Next

Package: emacs;

Reported by: Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Thu, 4 Jan 2018 01:14:01 UTC

Severity: minor

Found in version 25.3

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29972 <at> debbugs.gnu.org, Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
Subject: Re: bug#29972: 25.3; dired-hide-details-mode does not persist in
 desktop session
Date: Fri, 5 Jan 2018 13:29:49 -0500
On Fri, Jan 5, 2018 at 1:20 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
>> Date: Fri, 5 Jan 2018 17:42:49 +0000
>> Cc: 29972 <at> debbugs.gnu.org
>>
>> The fundamental reason appears to be desktop.el needs an efficient and reliable way to know what buffer
>> local variables are minor modes, since `minor-mode-list` is just a global list of loaded minor-modes,
>> `minor-mode-alist` is as close as you get.
>
> So maybe desktop.el should have defcustom with the list of minor
> modes, whose default value is computed from minor-mode-alist, but
> which users could customize to add any additional minor modes?

Would it help if define-minor-mode recorded what the
variable/expression is (e.g., by putting a property on the function
symbol)?
This could also be useful for define-globalized-minor-mode (see
Bug#29081 - for which the current suggestion is to do without that,
but if such a thing has two uses, it will likely be helpful in even
more situations).




This bug report was last modified 3 years and 37 days ago.

Previous Next


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