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

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

Re: Style in elisp: how to show a flag value in the modeline?


From: Kai Großjohann
Subject: Re: Style in elisp: how to show a flag value in the modeline?
Date: Fri, 21 Feb 2003 22:59:01 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50

francois.fleuret@noos.fr (François Fleuret) writes:

> Yes, but the flag appears in the modeline whatever the buffer is. I
> still could not decide if this was a bad or a good thing. Let me think
> about it a few more days :)

You could omit the flag if off.  (That's what Emacs does for the
other flags.)

Or you turn it into a three-way thing with values on, off, unset.
Then you can set the default value of the buffer-local variable to be
unset.

-- 
A preposition is not a good thing to end a sentence with.


reply via email to

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