From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fringe in Show/Hide menu? Date: Tue, 2 Apr 2002 11:27:02 -0700 (MST) Sender: emacs-devel-admin@gnu.org Message-ID: <200204021827.g32IR2d11593@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017778769 13520 127.0.0.1 (2 Apr 2002 20:19:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2002 20:19:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16sUkb-0003Vx-00 for ; Tue, 02 Apr 2002 22:19:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16sUwP-0003hD-00 for ; Tue, 02 Apr 2002 22:31:41 +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 16sT2n-0003Vl-00; Tue, 02 Apr 2002 13:30:09 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16sSzn-0003EC-00; Tue, 02 Apr 2002 13:27:04 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g32IR2a11002; Tue, 2 Apr 2002 11:27:02 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g32IR2d11593; Tue, 2 Apr 2002 11:27:02 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: Pavel@Janik.cz In-Reply-To: (Pavel@Janik.cz) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2326 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2326 There is one problem - I do not see an easy way of saving this to .emacs via customize. Do you have an idea? You need to first define a customizable variable to control the feature. Look at the defcustom for menu-bar-mode to see how that can be done. Then the menu commands can work by calling a function that sets that variable and calling customize-mark-as-set. However, I think it is a very bad idea to nest the menus so deeply. It is inconvenient to go down thru so many menus. Instead of having a submenu of fringe hiding commands, it is better to have one command that cycles thru all 4 possibilities. I think menu-bar-showhide-scroll-bar-menu is also inconvenient and should be replaced with a single command to cycle thru all 3 possibilities.