[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: next-error-highlight = t - highlighting doesn't stay until youmoveto
From: |
Stefan Monnier |
Subject: |
Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus |
Date: |
Mon, 26 Mar 2007 11:34:22 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
> 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-error-highlight = t - highlighting doesn't stay until you move to the next locus, Drew Adams, 2007/03/20
- Re: next-error-highlight = t - highlighting doesn't stay until you move to the next locus, Eli Zaretskii, 2007/03/24
- RE: next-error-highlight = t - highlighting doesn't stay until you moveto the next locus, Drew Adams, 2007/03/24
- Re: next-error-highlight = t - highlighting doesn't stay until you moveto the next locus, Eli Zaretskii, 2007/03/24
- RE: next-error-highlight = t - highlighting doesn't stay until you moveto the next locus, Drew Adams, 2007/03/24
- Re: next-error-highlight = t - highlighting doesn't stay until you moveto the next locus, Richard Stallman, 2007/03/25
- RE: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus, Drew Adams, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus, Miles Bader, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus, Stefan Monnier, 2007/03/26
- RE: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus, Drew Adams, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus,
Stefan Monnier <=
- RE: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Drew Adams, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Chong Yidong, 2007/03/26
- RE: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Drew Adams, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Chong Yidong, 2007/03/26
- Re: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Richard Stallman, 2007/03/28
- RE: next-error-highlight = t - highlighting doesn't stayuntilyoumoveto the next locus, Drew Adams, 2007/03/28
- Re: next-error-highlight = t - highlighting doesn't stayuntilyoumoveto the next locus, Chong Yidong, 2007/03/28
- Re: next-error-highlight = t - highlighting doesn't stayuntilyoumoveto the next locus, Richard Stallman, 2007/03/29
- Re: next-error-highlight = t - highlighting doesn't stay untilyoumoveto the next locus, Chong Yidong, 2007/03/28
- Re: next-error-highlight = t - highlighting doesn't stay until youmoveto the next locus, Richard Stallman, 2007/03/26