From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus
Date: Mon, 26 Mar 2007 11:34:22 -0400 [thread overview]
Message-ID: <jwvwt149g0u.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <EIENLHALHGIMHGDOLMIMMEDBDAAA.drew.adams@oracle.com> (Drew Adams's message of "Mon\, 26 Mar 2007 08\:00\:46 -0700")
> The doc string description of the value t, and the behavior I prefer, is
> that the highlighting goes away when it is replaced by the next hit visit
> (`next-error'). Yes, this does always leave one occurrence highlighted.
> That doesn't bother me. If it did, I would make it go away by
> re-fontifying the buffer.
Since next-error uses an overlay, re-fontifying wouldn't help.
> I've been using a similar highlighting in my own code for years, and I in
> fact leave all of the visited occurences highlighted, "forever".
> That makes it very easy to compare bits of code - a bit like `occur'
> in context.
>> To make it bearable, you'd need at the very least a special way to make
>> it go away when you don't want it any more.
> Yes, I have a key that removes such highlighting (in the case of my own
> highlighting, which is of each visited hit).
But then it looks more and more like a new feature, i.e. not fit for Emacs-22.
Stefan
next prev parent reply other threads:[~2007-03-26 15:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 23:20 next-error-highlight = t - highlighting doesn't stay until you move to the next locus Drew Adams
2007-03-24 16:13 ` Eli Zaretskii
2007-03-24 16:50 ` next-error-highlight = t - highlighting doesn't stay until you moveto " Drew Adams
2007-03-24 17:43 ` Eli Zaretskii
2007-03-24 20:59 ` Drew Adams
2007-03-26 3:52 ` Richard Stallman
2007-03-26 5:41 ` next-error-highlight = t - highlighting doesn't stay until youmoveto " Drew Adams
2007-03-26 6:06 ` Miles Bader
2007-03-26 13:13 ` Stefan Monnier
2007-03-26 15:00 ` Drew Adams
2007-03-26 15:34 ` Stefan Monnier [this message]
2007-03-26 15:56 ` next-error-highlight = t - highlighting doesn't stay untilyoumoveto " Drew Adams
2007-03-26 16:41 ` Chong Yidong
2007-03-26 16:51 ` Drew Adams
2007-03-26 17:49 ` Chong Yidong
2007-03-28 4:56 ` Richard Stallman
2007-03-28 16:10 ` next-error-highlight = t - highlighting doesn't stayuntilyoumoveto " Drew Adams
2007-03-28 18:52 ` Chong Yidong
2007-03-29 15:33 ` Richard Stallman
2007-03-28 18:36 ` next-error-highlight = t - highlighting doesn't stay untilyoumoveto " Chong Yidong
2007-03-26 23:13 ` next-error-highlight = t - highlighting doesn't stay until youmoveto " Richard Stallman
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=jwvwt149g0u.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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).