emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: Ability to Tweak "/l" in mode-name


From: Basil L. Contovounesios
Subject: Re: Feature Request: Ability to Tweak "/l" in mode-name
Date: Wed, 08 Feb 2023 12:30:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii [2023-02-08 14:04 +0200] wrote:

>> From: "T.V Raman" <raman@google.com>
>> Date: Tue, 7 Feb 2023 19:57:21 -0800
>> 
>> At present the "/l" vs "/d" for lexical vs dynamic scoping is
>> hard-wired in the definition of emacs-lisp-mode; Could we make this
>> configurable?
>
> Do we offer customization of the mode lighter in any other modes?

Some modes expose the mode lighter as a user option,
e.g. flymake-mode-line-lighter.  I suspect fewer do so in emacs.git than
in the wider ecosystem.

> You can always customize any part of the mode line directly, by
> changing mode-line-format or its portions, so I'm unsure why we would
> need yet another knob, and in this specific case in particular.

FWIW I use delight from GNU ELPA for this purpose, e.g.:

  (delight
   '((emacs-lisp-mode "(ε)" :major)
     (lisp-interaction-mode "(ι)" :major)))

-- 
Basil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]