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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel