From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: brakjoller@hotmail.com (Barman Brakjoller) Newsgroups: gmane.emacs.help Subject: Re: Example using x-popup-menu needed Date: 17 Oct 2003 06:41:58 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1c58a7c3.0310170541.355468cd@posting.google.com> References: <%aMjb.86442$gv5.44941@fed1read05> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1066398403 3470 80.91.224.253 (17 Oct 2003 13:46:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2003 13:46:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 15:46:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAUwD-0001cV-00 for ; Fri, 17 Oct 2003 15:46:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAUvR-00075q-5y for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2003 09:45:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 193.41.170.225 Original-X-Trace: posting.google.com 1066398119 12183 127.0.0.1 (17 Oct 2003 13:41:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 17 Oct 2003 13:41:59 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:117360 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13290 > I need some help with x-popup-menu. I've searched through scores of > .el files and the Emacs manuals looking for really simple examples --- > but no luck. > > Can someone give a very short, simple example of using this function? How about this, which is quite hand too: (defun my-bookmark-menu-jump () (interactive) (bookmark-jump (x-popup-menu (list '(400 200) (selected-window)) (bookmark-menu-build-paned-menu "Select bookmark" (bookmark-all-names))))) /Mathias