help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: use-package


From: Phillip Lord
Subject: Re: use-package
Date: Thu, 05 May 2016 14:34:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

>> For example, diminishing minor modes -- I think we have overloaded the
>> functionality of minor modes; many (company say, or eldoc) you either
>> want on or off. Do I really need mode-line space to be taken up telling
>> me that company is one? And is the mode-line the only place we can
>> display this information?
>
> There are of course ways (e.g. packages) to reduce the mode-line
> indications.  But I think it might be good if vanilla Emacs provided
> a simple way for a user to not display particular lighters (mode
> indications in the mode-line).

I don't think this is the right solution. Asking the user to choose
which lighters to hide is just passing the buck.

Currently my mode lighter is

Message pab MML yas Helm Abbrev Fill Narrow

pab == pabbrev is my own abbrev mode, but diminished
MML == is attachement
yas == yasnippet diminished
Helm == Completion
Abbrev == Another abbrev expansion
Fill == auto fill.
Narrow == is narrowing

Of these, pab is global, so why show it? MML is only and always on with
message, so why show it (right click functionality is in the main menu)?
yas is always on, so why show it? Helm is always on. Abbrev, not sure
why it is on. Narrow, actually I don't know what is being hidden in
message -- it's certainly not user functionality.

Only "Fill" tells me anything useful, since I turn this on and off in
the same buffer, and "Message", since knowing the mode is good.

Phil





reply via email to

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