unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: lispref/frames.texi and xmenu.c
Date: Sun, 1 May 2005 16:04:39 -0500 (CDT)	[thread overview]
Message-ID: <200505012104.j41L4d124463@raven.dms.auburn.edu> (raw)
In-Reply-To: <42751558.4020007@swipnet.se> (jan.h.d@swipnet.se)

Jan D. wrote:

   Quit.  But it does that by checking if the menu was invoked with the 
   mouse.  If it was invoked by the mouse, we return nil, otherwise we 
   quit.

I was not worrying about menus invoked with the mouse.  It is OK for
those to return nil.

   So if a menu is popped up programatically by x-popup-menu, it 
   will also quit even if it is not popped up as a dialog.

In my tests (see the precise tests cases I sent to Eli), x-popup-menu
returned nil instead of quitting.  But since Richard's changes, it quits.

I do not believe that passing `t' for POSITION counts as "invoked with
the mouse", even though the menu pops up at the mouse position.  But
anyway, replacing `t' with (list '(0 0) (selected-window)) still used
to return nil (before Richards changes).

Sincerely,

Luc.

  reply	other threads:[~2005-05-01 21:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01 13:35 lispref/frames.texi and xmenu.c Luc Teirlinck
2005-05-01 13:45 ` Andreas Schwab
2005-05-01 13:56   ` Luc Teirlinck
2005-05-01 14:06 ` Luc Teirlinck
2005-05-01 17:43 ` Jan D.
2005-05-01 21:04   ` Luc Teirlinck [this message]
2005-05-01 18:57 ` Richard Stallman
2005-05-01 20:32   ` Luc Teirlinck
2005-05-02  3:06   ` Luc Teirlinck
2005-05-02 23:40     ` Richard Stallman
2005-05-03 23:11       ` Luc Teirlinck
2005-05-04 22:05         ` Richard Stallman
2005-05-05  3:04           ` Luc Teirlinck
2005-05-05 19:46             ` Richard Stallman
2005-05-02  3:28   ` Luc Teirlinck
2005-05-01 19:01 ` Eli Zaretskii
2005-05-01 20:55   ` Luc Teirlinck
2005-05-02  3:33     ` Luc Teirlinck
  -- strict thread matches above, loose matches on Subject: below --
2005-04-30  2:02 Luc Teirlinck
2005-05-01 18:48 ` Luc Teirlinck

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=200505012104.j41L4d124463@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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