From: Stephen Leake <stephen_leake@member.fsf.org>
To: Glenn Morris <rgm@gnu.org>
Cc: Stephen Leake <stephen_leake@member.fsf.org>, emacs-devel@gnu.org
Subject: Re: popup-menu with keyboard menu
Date: Tue, 30 Sep 2008 07:31:55 -0400 [thread overview]
Message-ID: <u4p3xamz8.fsf@member.fsf.org> (raw)
In-Reply-To: <tiwsgunmzj.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue\, 30 Sep 2008 02\:53\:20 -0400")
Glenn Morris <rgm@gnu.org> writes:
> Stephen Leake wrote:
>
>> The bug was in popup-menu, not x-popup-menu; the fix was to rely on
>> x-popup-menu to do the right thing.
>
> But popup-menu does not use `position' for anything, it just passes it
> to x-popup-menu. So I don't so how you can get an error from a bad
> position element in popup-menu itself.
'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. Then x-popup-window
would try to convert that to an integer.
But since it's not failing with emacs -Q, I must have something that's
redefining mouse-position and returning incorrect results, that
x-popup-menu is then getting confused by.
--
-- Stephe
next prev parent reply other threads:[~2008-09-30 11:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 22:57 CVS HEAD still broken for OSX "make all install" for .app creation Randal L. Schwartz
2008-09-27 16:52 ` CVS HEAD still broken for OSX Adrian Robert
2008-09-27 19:48 ` popup-menu with keyboard menu Stephen Leake
2008-09-29 19:52 ` Glenn Morris
2008-09-30 6:49 ` Stephen Leake
2008-09-30 6:53 ` Glenn Morris
2008-09-30 11:31 ` Stephen Leake [this message]
2008-10-01 17:12 ` Glenn Morris
2008-09-28 17:33 ` CVS HEAD still broken for OSX Randal L. Schwartz
2008-09-29 21:34 ` Adrian Robert
2008-09-30 2:46 ` Randal L. Schwartz
2008-09-30 3:00 ` Randal L. Schwartz
2008-09-30 13:32 ` Adrian Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u4p3xamz8.fsf@member.fsf.org \
--to=stephen_leake@member.fsf.org \
--cc=emacs-devel@gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.