From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: disappearing custom menu Date: Sun, 18 Nov 2007 20:44:14 +0100 Message-ID: <4740960E.4040607@gmx.at> References: <200711171647.lAHGlHqH024027@jane.dms.auburn.edu> <47409082.5030307@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195414979 20848 80.91.229.12 (18 Nov 2007 19:42:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 19:42:59 +0000 (UTC) Cc: teirllm@dms.auburn.edu, rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 20:43:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Itq2k-00040q-54 for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 20:42:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itq2W-0005wR-Se for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 14:42:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Itq2T-0005ui-5B for emacs-devel@gnu.org; Sun, 18 Nov 2007 14:42:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Itq2R-0005uG-Un for emacs-devel@gnu.org; Sun, 18 Nov 2007 14:42:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itq2R-0005tt-NV for emacs-devel@gnu.org; Sun, 18 Nov 2007 14:42:39 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Itq2Q-0007dM-Rm for emacs-devel@gnu.org; Sun, 18 Nov 2007 14:42:39 -0500 Original-Received: (qmail invoked by alias); 18 Nov 2007 19:42:37 -0000 Original-Received: from N880P022.adsl.highway.telekom.at (EHLO [62.47.53.246]) [62.47.53.246] by mail.gmx.net (mp058) with SMTP; 18 Nov 2007 20:42:37 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18Sd4NOMAcSC9m9tlhYIzT45gXl/jlvIRAztDDUz8 thGuCkSsGDTxoK User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83558 Archived-At: > If that is the case, then there's something wrong with the mechanism to > set the map. The menu does not disappear when the point is moved to the > field (and does not appear when the point is moved out of the field). It > disappears when trying to click on it, this is strange for the users. > Try (easy-menu-define Custom-mode-menu (list custom-mode-map custom-field-keymap) "Menu used in customization buffers." (nconc (list "Custom" (customize-menu-create 'customize)) (mapcar (lambda (arg) (let ((tag (nth 0 arg)) (command (nth 1 arg)) (active (nth 2 arg)) (help (nth 3 arg))) (vector tag command :active (eval active) :help help))) custom-commands)))