From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: lispref/frames.texi and xmenu.c Date: Sun, 1 May 2005 22:06:59 -0500 (CDT) Message-ID: <200505020306.j4236xc26850@raven.dms.auburn.edu> References: <200505011335.j41DZK123269@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115061328 30018 80.91.229.2 (2 May 2005 19:15:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 May 2005 19:15:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:15:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DSgND-00054D-8G for ged-emacs-devel@m.gmane.org; Mon, 02 May 2005 21:14:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSgUA-00008v-KY for ged-emacs-devel@m.gmane.org; Mon, 02 May 2005 15:21:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSfBm-0004r9-Rj for emacs-devel@gnu.org; Mon, 02 May 2005 13:58:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSfBj-0004o8-28 for emacs-devel@gnu.org; Mon, 02 May 2005 13:58:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSfBh-0004me-E0 for emacs-devel@gnu.org; Mon, 02 May 2005 13:58:33 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1DSfEk-0008U3-5M; Mon, 02 May 2005 14:01:42 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by mx20.gnu.org with esmtp (Exim 4.34) id 1DSRQE-0004vb-H8; Sun, 01 May 2005 23:16:38 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j42378og025781; Sun, 1 May 2005 22:07:08 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j4236xc26850; Sun, 1 May 2005 22:06:59 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 01 May 2005 14:57:16 -0400) 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:36591 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36591 Richard Stallman wrote: Seeing this, I concluded that the right thing to do is to make all the implementations of x-popup-menu quit also, under the same condition. I implemented this in xmenu.c, but not in w32menu.c and macmenu.c. Would you please document this behavior? I did install my doc changes, _except_ those concerned with the above problem. After your changes, there still is an apparent difference between `x-popup-menu' and `x-popup-dialog' in this respect, at least on my system. Is the following difference intentional? ELISP> (x-popup-menu (read-event) '("TITLE" ("PANE" . ("LINE1" . 1)))) Then click the mouse, the menu pops up, make it disappear by clicking the mouse away from the menu. Result: the function returns nil, fitting your above description. Now do: ELISP> (x-popup-dialog (read-event) '("PANE" . ("LINE1" . 1))) Click the mouse, the dialog pops up,. make it disappear using the window manager (on my system, I can not make it disappear by clicking away from the menu). Result: a quit, no return value. Sincerely, Luc.