GNU bug report logs - #30978
25.3; Suggestion: define-minor-mode should define mode-lighter variable

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Wed, 28 Mar 2018 20:13:02 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Found in version 25.3

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 30978 <at> debbugs.gnu.org
Subject: bug#30978: 25.3; Suggestion: define-minor-mode should define mode-lighter variable
Date: Sun, 23 Aug 2020 14:22:51 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

>> I think this makes sense -- define-minor-mode would define a
>> buffer-local variable, I guess, that the users could set to change the
>> lighter?
>>
>> Like...  `FOO-mode-lighter' or something?  Any opinions?
>
> Yes, it sounds like a good idea.
>
> I'm not sure why you propose that it should be buffer-local though.
> Wouldn't one want to configure this globally by default?

Hm...  yes, a global variable makes more sense.  I was thinking that
somebody would want a different lighter in different buffers, but that
does sound rather unlikely.





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

Previous Next


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