From: Jambunathan K <kjambunathan@gmail.com>
To: 14438@debbugs.gnu.org
Subject: bug#14438: 24.3.50; Honor `hi-lock-auto-select-face' for non-interactive use
Date: Wed, 22 May 2013 13:32:32 +0530 [thread overview]
Message-ID: <87wqqr1lyf.fsf@gmail.com> (raw)
Enable `hi-lock-auto-select-face''
(custom-set-variables
'(hi-lock-auto-select-face t))
Install the following occur specific customizations.
(0) Always lookup symbol at point
(setq occur-read-regexp-defaults-function 'find-tag-default-as-regexp)
(1) Delete occur window
(add-hook 'occur-hook (lambda nil (next-error)
(delete-other-windows)))
(2) Highlight the regexp that was looked up.
(add-hook 'occur-mode-find-occurrence-hook
(lambda nil (highlight-regexp
(find-tag-default-as-regexp))))
Current behaviour
1. Run M-x occur twice on two different symbols
2. Note that both the symbols are highlighted in hi-yellow
Expected behaviour
Since face auto-selection is on, I would prefer that the two symbols be
highlighted with two *different* colors.
In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2013-05-20 on debian-6.05
Bzr revision: 112643 mituharu@math.s.chiba-u.ac.jp-20130520031520-pq1c1qjertan94kq
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
next reply other threads:[~2013-05-22 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 8:02 Jambunathan K [this message]
2013-05-22 20:57 ` bug#14438: 24.3.50; Honor `hi-lock-auto-select-face' for non-interactive use Juri Linkov
2013-06-03 8:59 ` Juri Linkov
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=87wqqr1lyf.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=14438@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).