From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: disappearing custom menu Date: Mon, 19 Nov 2007 07:25:49 -0500 Message-ID: References: <200711171647.lAHGlHqH024027@jane.dms.auburn.edu> <47409082.5030307@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195475277 5293 80.91.229.12 (19 Nov 2007 12:27:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 12:27:57 +0000 (UTC) Cc: rudalics@gmx.at, teirllm@dms.auburn.edu, 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 Mon Nov 19 13:28:03 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 1Iu5jM-0007kU-Th for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 13:28:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu5j9-0004N5-95 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 07:27:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu5hH-0003Yg-K7 for emacs-devel@gnu.org; Mon, 19 Nov 2007 07:25:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu5hG-0003YA-Q6 for emacs-devel@gnu.org; Mon, 19 Nov 2007 07:25:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu5hG-0003Y2-F0 for emacs-devel@gnu.org; Mon, 19 Nov 2007 07:25:50 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu5hG-0006P6-7y for emacs-devel@gnu.org; Mon, 19 Nov 2007 07:25:50 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Iu5hF-0000DH-W3; Mon, 19 Nov 2007 07:25:50 -0500 In-reply-to: (message from Dan Nicolaescu on Sun, 18 Nov 2007 11:33:52 -0800) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:83644 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. In some sense it would be logical for it to disappear when you move point into the field. That does not happen because mere cursor motion doesn't recompute the menus. It would be possible to implement that, but it might slow Emacs down a lot. However, to have the menu bar item appear and disappear as you move point would also look strange. I am not so sure it is really the right thing. A different solution occurs to me: arrange for the menu bar item to be active in these active fields too. Why not? The editable field needs to turn off the RET binding and other special key bindings of Custom mode. But it does not need to turn off the menu bar item. What do people think of this?