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: Richard Stallman
Subject: Re: Toggling buffer-local variables from Options menu on menu bar
Date: Mon, 04 Dec 2006 00:14:56 -0500

    I think the fix below is a good one.  With it, Truncate Long Lines on the 
menu
    bar sets the default value just like Case Insensitive Search currently does.

Please do not install that change in menu-bar.el; it may be the wrong
direction to go.

I installed a different change which clarifies the doc
of the existing global options.

    --- simple.el       03 Dec 2006 20:45:47 +1300      
    ***************
    *** 4329,4335 ****
      (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines)

      (defun toggle-truncate-lines (&optional arg)
    !   "Toggle whether to fold or truncate long lines on the screen.
      With arg, truncate long lines iff arg is positive.
      Note that in side-by-side windows, truncation is always enabled."
        (interactive "P")
    --- 4329,4335 ----
      (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines)

      (defun toggle-truncate-lines (&optional arg)
    !   "Toggle whether to fold or truncate long lines for the current buffer.
      With arg, truncate long lines iff arg is positive.
      Note that in side-by-side windows, truncation is always enabled."
        (interactive "P")

Please do install that.




reply via email to

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