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 Jul 2021 15:10:00 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> It's already pretty easy to just alter the lighters -- just say:
>
> (setcar (cdr (assoc 'foo-mode minor-mode-alist)) "whatever")

Maybe include an example of disabling a lighter in the elisp
manual (where minor-mode-alist is mentioned).  E.g.,

    (setcar (cdr (assoc 'eldoc-mode minor-mode-alist)) "")

I realize this is "pretty easy" lisp but it's not a simple
setq and I think non-lispers might want to do this.

-- 

Howard





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

Previous Next


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