all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to pop-up a dialog from a pop-up menu?
@ 2007-01-19 13:24 wdtsxx-emacs
  0 siblings, 0 replies; only message in thread
From: wdtsxx-emacs @ 2007-01-19 13:24 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-19 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 13:24 How to pop-up a dialog from a pop-up menu? wdtsxx-emacs

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.