all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
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.