[Top][All Lists]

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

Lisp comments in Options menu

From: Simon Josefsson
Subject: Lisp comments in Options menu
Date: Sat, 29 Jun 2002 19:13:41 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

The Options buffer contains a few entries such as as Syntax
Highlighting with the elisp mode name inside parentheses, which makes
the menu quite wide.  This patch moves the text into balloon help.
Perhaps it should be removed completely, users that are interested in
knowing more about a certain menu item can use C-h k.


--- menu-bar.el.~1.222.~        Fri Jun 14 17:07:59 2002
+++ menu-bar.el Sun Jun 16 22:49:45 2002
@@ -864,7 +864,7 @@
                        "Case-Insensitive Search %s"
                        "Ignore letter-case in search"))
 (define-key menu-bar-options-menu [auto-fill-mode]
-  '(menu-item "Word Wrap in Text Modes (Auto Fill)"
+  '(menu-item "Word Wrap in Text Modes"
               (lambda ()
@@ -872,7 +872,7 @@
                ;; might have changed outside customize.
                ;; -- Per Abrahamsen <address@hidden> 2002-02-11.
                (customize-mark-as-set 'text-mode-hook))
-             :help "Automatically fill text between left and right margins"
+             :help "Automatically fill text between left and right margins 
(Auto Fill)"
               :button (:toggle . (if (listp text-mode-hook)
                                     (member 'turn-on-auto-fill text-mode-hook)
                                   (eq 'turn-on-auto-fill text-mode-hook)))))
@@ -891,20 +891,20 @@
 (define-key menu-bar-options-menu [highlight-paren-mode]
   (menu-bar-make-toggle toggle-highlight-paren-mode show-paren-mode
-                       "Paren Match Highlighting (Show Paren mode)"
+                       "Paren Match Highlighting"
                        "Show Paren mode %s"
-                       "Highlight matching/mismatched parentheses at cursor"))
+                       "Highlight matching/mismatched parentheses at cursor 
(Show Paren mode)"))
 (define-key menu-bar-options-menu [transient-mark-mode]
   (menu-bar-make-toggle toggle-transient-mark-mode transient-mark-mode
-                       "Active Region Highlighting (Transient Mark mode)"
+                       "Active Region Highlighting"
                        "Transient Mark mode %s"
-                       "Make text in active region stand out in color"
+                       "Make text in active region stand out in color 
(Transient Mark mode)"
                        (:enable (not cua-mode))))
 (define-key menu-bar-options-menu [toggle-global-lazy-font-lock-mode]
   (menu-bar-make-toggle toggle-global-lazy-font-lock-mode global-font-lock-mode
-                       "Syntax Highlighting (Global Font Lock mode)"
+                       "Syntax Highlighting"
                        "Global Font Lock mode %s"
-                       "Colorize text based on language syntax"))
+                       "Colorize text based on language syntax (Global Font 
Lock mode)"))
 ;; The "Tools" menu items

reply via email to

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