emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lispref/frames.texi and xmenu.c


From: Luc Teirlinck
Subject: Re: lispref/frames.texi and xmenu.c
Date: Sun, 1 May 2005 22:06:59 -0500 (CDT)

Richard Stallman wrote:

   Seeing this, I concluded that the right thing to do is to make all the
   implementations of x-popup-menu quit also, under the same condition.
   I implemented this in xmenu.c, but not in w32menu.c and macmenu.c.

   Would you please document this behavior?

I did install my doc changes, _except_ those concerned with the above
problem.  After your changes, there still is an apparent difference
between `x-popup-menu' and `x-popup-dialog' in this respect, at least
on my system.  Is the following difference intentional?

ELISP> (x-popup-menu (read-event) '("TITLE" ("PANE" . ("LINE1" . 1))))

Then click the mouse, the menu pops up, make it disappear by clicking
the mouse away from the menu.  Result: the function returns nil,
fitting your above description.

Now do:

ELISP> (x-popup-dialog (read-event) '("PANE" . ("LINE1" . 1)))

Click the mouse, the dialog pops up,. make it disappear using the
window manager (on my system, I can not make it disappear by clicking
away from the menu).  Result: a quit, no return value.

Sincerely,

Luc.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]