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: Nick Roberts
Subject: Re: Toggling buffer-local variables from Options menu on menu bar
Date: Thu, 30 Nov 2006 13:26:21 +1300

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.


-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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