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: Howard Melman <hmelman <at> gmail.com>
To: 30978 <at> debbugs.gnu.org
Subject: bug#30978: 25.3; Suggestion: define-minor-mode should define mode-lighter variable
Date: Wed, 28 Mar 2018 16:11:52 -0400
Some packages define a user option to let users configure
the lighter string used in the mode-line, but some just use
a hard coded string. Packages such as diminish, delight and
dim exist to help customize these.

The define-minor-mode macro creates keymaps and other things
to help mode authors follow conventions. If it created a
mode-lighter user option when passed in a string (and not a
symbol) then users would have an easier time configuring
their mode-line without having to find and install a package
to do so.

Howard

In GNU Emacs 25.3.3 (x86_64-apple-darwin13.4.0, Carbon Version 157 AppKit 1265.21)
of 2017-09-28 built on Atago.local




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.