unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: <wdtsxx-emacs@yahoo.com.cn>
Subject: How to pop-up a dialog from a pop-up menu?
Date: Fri, 19 Jan 2007 21:24:31 +0800 (CST)	[thread overview]
Message-ID: <884307.17492.qm@web15209.mail.cnb.yahoo.com> (raw)

I run Emacs 22.0.50.2 on Windows2000.
This is my elisp.

(easy-menu-add-item nil '("edit")
   ["pop-up a dialog"
    (lambda()
       (interactive)
       (x-popup-dialog t '("dialog" ("item" . t))))
    1])

(global-set-key [mouse-3] 
  '(lambda()
     (interactive)
     (popup-menu menu-bar-edit-menu)))

When I click the mouse-3 and choose "pop-up a dialog"
from the pop-up menu, the "dialog" dialog doesn't 
show up.

How to fix it?





		
___________________________________________________________ 
抢注雅虎免费邮箱-3.5G容量,20M附件! 
http://cn.mail.yahoo.com

                 reply	other threads:[~2007-01-19 13:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=884307.17492.qm@web15209.mail.cnb.yahoo.com \
    --to=wdtsxx-emacs@yahoo.com.cn \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).