From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs 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 Message-ID: <0B035E3804994F438945B1992D500EC3@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291486531 19166 80.91.229.12 (4 Dec 2010 18:15:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 18:15:31 +0000 (UTC) To: 7554@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 04 19:15:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POwdp-0001Sf-Mz for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 19:15:26 +0100 Original-Received: from localhost ([127.0.0.1]:57299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POwdo-0004VG-V0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Dec 2010 13:15:25 -0500 Original-Received: from [140.186.70.92] (port=39210 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POwdg-0004UF-Ld for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:15:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POwdf-0002jJ-M8 for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:15:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POwdf-0002jE-JS for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:15:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1POwTm-0008Cx-7J; Sat, 04 Dec 2010 13:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2010 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7554 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.129148585131484 (code B ref -1); Sat, 04 Dec 2010 18:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2010 18:04:11 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POwSw-0008Bk-Sl for submit@debbugs.gnu.org; Sat, 04 Dec 2010 13:04:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1POwSv-0008Ba-C4 for submit@debbugs.gnu.org; Sat, 04 Dec 2010 13:04:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POwYV-0000RI-VR for submit@debbugs.gnu.org; Sat, 04 Dec 2010 13:09:56 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:45162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POwYV-0000RD-TE for submit@debbugs.gnu.org; Sat, 04 Dec 2010 13:09:55 -0500 Original-Received: from [140.186.70.92] (port=38513 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POwYU-0003EQ-7s for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:09:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POwYT-0000QY-7c for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:09:54 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:31769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POwYT-0000Q5-2X for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2010 13:09:53 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oB4I9oLi007883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 4 Dec 2010 18:09:51 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oB4C7jwn003831 for ; Sat, 4 Dec 2010 18:09:49 GMT Original-Received: from abhmt019.oracle.com by acsmt355.oracle.com with ESMTP id 844567911291486074; Sat, 04 Dec 2010 10:07:54 -0800 Original-Received: from dradamslap1 (/10.159.220.1) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 04 Dec 2010 10:07:54 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcuT3i2D6faV2IF0QdyirU8s0nns3A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Dec 2010 13:05:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42149 Archived-At: 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'