From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Lisp comments in Options menu Date: Sat, 29 Jun 2002 19:13:41 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025370998 20565 127.0.0.1 (29 Jun 2002 17:16:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2002 17:16:38 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17OLpu-0005La-00 for ; Sat, 29 Jun 2002 19:16:38 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17OLtZ-0002Cw-00 for ; Sat, 29 Jun 2002 19:20:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OLoc-0008OE-00; Sat, 29 Jun 2002 13:15:18 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OLn7-0008HN-00 for ; Sat, 29 Jun 2002 13:13:46 -0400 Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.5/8.12.5) with ESMTP id g5THDd6w019449 for ; Sat, 29 Jun 2002 19:13:39 +0200 Original-To: emacs-devel@gnu.org X-Hashcash: 020629:emacs-devel@gnu.org:7d7c121776c00ded Original-Lines: 55 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5264 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5264 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. Opinions? --- 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 () (interactive) (toggle-text-mode-auto-fill) @@ -872,7 +872,7 @@ ;; might have changed outside customize. ;; -- Per Abrahamsen 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