From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: popup-menu with keyboard menu Date: Wed, 01 Oct 2008 13:12:47 -0400 Message-ID: References: <86wsgya51q.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222881330 25275 80.91.229.12 (1 Oct 2008 17:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2008 17:15:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 01 19:16:25 2008 connect(): Connection refused 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 1Kl5J6-00056t-7D for ged-emacs-devel@m.gmane.org; Wed, 01 Oct 2008 19:16:12 +0200 Original-Received: from localhost ([127.0.0.1]:58851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl5I3-0004p5-2J for ged-emacs-devel@m.gmane.org; Wed, 01 Oct 2008 13:15:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl5Hy-0004oz-Mg for emacs-devel@gnu.org; Wed, 01 Oct 2008 13:15:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl5Hy-0004on-6q for emacs-devel@gnu.org; Wed, 01 Oct 2008 13:15:02 -0400 Original-Received: from [199.232.76.173] (port=53623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl5Hy-0004ok-30 for emacs-devel@gnu.org; Wed, 01 Oct 2008 13:15:02 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33193) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kl5Hy-0001s4-56; Wed, 01 Oct 2008 13:15:02 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kl5Fn-00026D-3F; Wed, 01 Oct 2008 13:12:47 -0400 X-Spook: Watergate Mole wire transfer AGT. AMME csim Mahmoud X-Ran: 8&D`{`>!{1ruTF]{ppJ/r;6eZ6I;.*v`({%wz*NCeWe-R^<2pu:m"FgYD]$|"~za@bFoJx X-Hue: cyan X-Attribution: GM In-Reply-To: (Stephen Leake's message of "Tue, 30 Sep 2008 07:31:55 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/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:104285 Archived-At: Stephen Leake wrote: > 'position' is passed to x-popup-menu; it was x-popup-menu that was > raising the error. > > The problem is that when the mouse is outside the window, 'position' > would have nil in it for the actual position. I can only say again that x-popup-menu seems to have code to handle the case where X and Y are nil, and that I don't get any error in such a case. Again, the relevant code seems to be missing from the version in w32menu.c.