[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unhighlight-regexp displays awful things.
From: |
Michaël Cadilhac |
Subject: |
unhighlight-regexp displays awful things. |
Date: |
Mon, 20 Aug 2007 18:57:56 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Hi guys !
Well, I don't know if the following is on purpose, but it is very
strange : highlight something with highlight-regexp, then try
unhighlighting it with M-x unhighlight-regexp, and you'll end-up with no
less than a POPUP MENU !
Gosh... So many years of fighting popups in our web browsers, and here
they are, in the middle of the almighty Emacs. Curse you damned popping
stuff !
It may be due, however, to a change in (this-command-keys)...
What about the following :
Index: hi-lock.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/hi-lock.el,v
retrieving revision 1.46
diff -B -w -c -r1.46 hi-lock.el
*** hi-lock.el 26 Jul 2007 05:26:25 -0000 1.46
--- hi-lock.el 20 Aug 2007 16:58:03 -0000
***************
*** 462,468 ****
\\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a
partially typed regexp.
\(See info node `Minibuffer History'.\)"
(interactive
! (if (and (display-popup-menus-p) (vectorp (this-command-keys)))
(catch 'snafu
(or
(x-popup-menu
--- 462,468 ----
\\<minibuffer-local-must-match-map>Use \\[minibuffer-complete] to complete a
partially typed regexp.
\(See info node `Minibuffer History'.\)"
(interactive
! (if (and (display-popup-menus-p) (not last-nonmenu-event))
(catch 'snafu
(or
(x-popup-menu
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.11583
diff -C 0 -r1.11583 ChangeLog
*** ChangeLog 20 Aug 2007 15:53:07 -0000 1.11583
--- ChangeLog 20 Aug 2007 16:58:08 -0000
***************
*** 0 ****
--- 1,5 ----
+ 2007-08-20 Michaël Cadilhac <address@hidden>
+
+ * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the
+ mouse was used.
+
TIA!
--
| Michaël `Micha' Cadilhac | The second-degree, |
| http://michael.cadilhac.name | is kind of |
| JID/MSN: | the semantic back slang. |
`---- address@hidden | - --'
pgpC5V9PIVTEO.pgp
Description: PGP signature
- unhighlight-regexp displays awful things.,
Michaël Cadilhac <=