From: Tim Johnson <tim@johnsons-web.com>
Subject: x-popup-menu - window object
Date: Wed, 27 Sep 2006 01:53:09 -0000 [thread overview]
Message-ID: <slrnehjmik.p0e.tim@linus.johnson.com> (raw)
Hi:
This works:
(x-popup-menu t '("Title" ("--" ("Line One" . 1))))
This:
(x-popup-menu
'((50 50) (selected-window)) '("Title" ("--" ("Line One" . 1))))
Throws the following:
Lisp error: (wrong-type-argument windowp (selected-window))
Documentation for x-popup-menu says
""" POSITION is a position specification. This is either a mouse button event
or a list ((XOFFSET YOFFSET) WINDOW) """
evaluating (windowp (selected-window)) returns t
So what is wrong the with the 'call' to selected-window?
Thanks
Tim
--
Tim Johnson <tim@johnsons-web.com>
http://www.alaska-internet-solutions.com
next reply other threads:[~2006-09-27 1:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 1:53 Tim Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-27 12:34 x-popup-menu - window object martin rudalics
2006-09-28 7:00 ` martin rudalics
[not found] ` <mailman.7528.1159426927.9609.help-gnu-emacs@gnu.org>
2006-09-28 15:52 ` Tim Johnson
[not found] <mailman.7492.1159360442.9609.help-gnu-emacs@gnu.org>
2006-09-27 15:53 ` Tim Johnson
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=slrnehjmik.p0e.tim@linus.johnson.com \
--to=tim@johnsons-web.com \
/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.