emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Toggling buffer-local variables from Options menu on menu bar


From: Lennart Borgman
Subject: Re: Toggling buffer-local variables from Options menu on menu bar
Date: Thu, 30 Nov 2006 02:31:47 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Nick Roberts wrote:
Nick Roberts writes:
> > If you toggle some buffer-local variables from the menu bar e.g
 > case-fold-search, indicate-empty-lines then you change the default values and
 > not the local ones.  This is because they use menu-bar-make-toggle and means
 > that if you are in a buffer where the local value has been set e.g Info, you
 > see no difference.
> > It is a departure from behaviour in Emacs 21 and other options e.g
 > truncate-lines are changed locally on the menu bar.

Thinking further, the buffer local variables like truncate-lines should be
toggled from the mode-line, just as earlier I removed the global minor modes
(line-/column-number-mode) from the mode-line, leaving them just on the
menu bar (the converse).

Maybe the user wants to set case-fold-search for the session and the menu bar
is the right place for that, but he is likely to be confused (as I was) if
it is masked by a local value as in Info.


I think it is a very bad user interface to just be able to toggle this variables from the mode-line with a mouse. Why not have a "Buffer Local Options" entry in the Buffer menu in the menu bar instead? (Or additionally perhaps.)




reply via email to

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