From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Customize fringe Date: Sat, 11 May 2002 13:13:24 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <8632-Sat11May2002131324+0300-eliz@is.elta.co.il> References: <877kmd7bf5.fsf@tc-1-100.kawasaki.gol.ne.jp> <9003-Thu09May2002210730+0300-eliz@is.elta.co.il> <200205091835.g49IZDZ17232@rum.cs.yale.edu> <200205092118.g49LIsR17755@rum.cs.yale.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021112285 18616 127.0.0.1 (11 May 2002 10:18:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 May 2002 10:18:05 +0000 (UTC) Cc: Pavel@Janik.cz, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 176Twz-0004q9-00 for ; Sat, 11 May 2002 12:18:05 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 176U6W-0004kL-00 for ; Sat, 11 May 2002 12:27:56 +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 176Tx2-0006X7-00; Sat, 11 May 2002 06:18:08 -0400 Original-Received: from frigg.inter.net.il ([192.114.186.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 176TuO-0006TE-00 for ; Sat, 11 May 2002 06:15:24 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.54-GA) with ESMTP id BKQ68829; Sat, 11 May 2002 13:14:34 +0300 (IDT) Original-To: jas@extundo.com X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: (message from Simon Josefsson on Sat, 11 May 2002 11:14:46 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3839 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3839 > From: Simon Josefsson > Date: Sat, 11 May 2002 11:14:46 +0200 > > +(setq menu-bar-showhide-fringe-menu (make-sparse-keymap "Fringe")) > + > +(define-key menu-bar-showhide-fringe-menu [customize] > + '(menu-item "Customize" > + (lambda () > + (interactive) > + (customize-variable 'fringe-mode)) > + :help "Detailed customization of fringe" > + :visible (display-graphic-p))) I think it's generally best to avoid anonymous lambda expressions in the menu bar bindings, since they cause "C-h c" and "C-h k" to display useless information for anyone but Lisp hackers.