unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 7554@debbugs.gnu.org
Subject: bug#7554: 24.0.50; hi-lock-unface-buffer: incorrect `interactive' spec - never pops up menu
Date: Sat, 4 Dec 2010 10:07:56 -0800	[thread overview]
Message-ID: <0B035E3804994F438945B1992D500EC3@us.oracle.com> (raw)

emacs -Q
 
Load hi-lock.el.
 
Choose from the menu-bar menu: Edit > Regexp Highlighting > Highlight
Regexp...
 
Finish the dialog, so that some pattern is highlighted.
 
Choose from the menu-bar menu: Edit > Regexp Highlighting > Unhighlight
Regexp...
 
You are prompted to enter the pattern in the minibuffer, instead of
being asked to choose it from a popup menu.
 
The problem is this code in the `interactive' spec:
 
 (and (display-popup-menus-p) (not last-nonmenu-event))
 
Assume the first conjunct is true.  The second ends up being this: (not
'(menu-bar)), so it is never true.  The first part of the `if' is never
executed.  `x-popup-menu' is never called.
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-30 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 






             reply	other threads:[~2010-12-04 18:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-04 18:07 Drew Adams [this message]
2011-08-09 21:56 ` bug#7554: 24.0.50; hi-lock-unface-buffer: incorrect `interactive' spec - never pops up menu Chong Yidong

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=0B035E3804994F438945B1992D500EC3@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7554@debbugs.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).