From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: x-popup-menu - window object Date: Wed, 27 Sep 2006 01:53:09 -0000 Organization: Alaska Internet Solutions Message-ID: Reply-To: tim@johnsons-web.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159324862 13094 80.91.229.2 (27 Sep 2006 02:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 02:41:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 27 04:40:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSPM0-0002XX-LI for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Sep 2006 04:40:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSPM0-0007mP-7C for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2006 22:40:56 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!news.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.0 (Linux) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 24 Original-Xref: shelby.stanford.edu gnu.emacs.help:142040 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37660 Archived-At: 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 http://www.alaska-internet-solutions.com