* highlight regexp in buffer *Tags List* generated by tags-apropos ?
@ 2009-09-15 10:54 tom.smith
0 siblings, 0 replies; only message in thread
From: tom.smith @ 2009-09-15 10:54 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
It'is more readable to highlight regexp in *Tags List* buffer, at least for me. Can official gnu emacs do this ?
I'am new in emacs lisp. Can anybody improve tags-apropos with better methods ?
Index: lisp/progmodes/etags.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/etags.el,v
retrieving revision 1.214
diff -u -r1.214 etags.el
--- lisp/progmodes/etags.el 1 Sep 2009 03:26:32 -0000 1.214
+++ lisp/progmodes/etags.el 15 Sep 2009 10:03:31 -0000
@@ -1925,6 +1925,8 @@
(with-current-buffer "*Tags List*"
(eval-and-compile (require 'apropos))
(apropos-mode)
+ (hi-lock-mode)
+ (highlight-regexp regexp)
;; apropos-mode is derived from fundamental-mode and it kills
;; all local variables.
(setq buffer-read-only t)))
[-- Attachment #2: Type: text/html, Size: 1269 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-15 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 10:54 highlight regexp in buffer *Tags List* generated by tags-apropos ? tom.smith
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.