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.)


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to