[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
next-error-highlight = t - highlighting doesn't stay until you move to t
From: |
Drew Adams |
Subject: |
next-error-highlight = t - highlighting doesn't stay until you move to the next locus |
Date: |
Tue, 20 Mar 2007 16:20:33 -0700 |
The doc string says:
"If t, highlight the locus indefinitely until some
other locus replaces it."
I wish it were so. However, the code says this:
(if (or (eq next-error-highlight t)
(numberp next-error-highlight))
;; We want highlighting:
;; delete overlay on next input. <---------- NOT GOOD
(add-hook 'pre-command-hook 'compilation-goto-locus-delete-o)
...
What I want: Leave the highlighting in place, until I ask to move to another
locus (and then highlight that one) - just as the doc says.
What happens: The highlighting disappears completely upon the next event.
For example, if I use pop-up-frames, and I click in the source buffer
(frame), the highlighting disappears. If the source-buffer frame is slightly
behind the *grep* frame, then I can't see where the hit is - as soon as I
click the frame, the highlighting disappears.
IOW, why add the deletion to pre-command-hook? It should, as the doc says,
be associated with the request to move to another hit.
- next-error-highlight = t - highlighting doesn't stay until you move to the next locus,
Drew Adams <=
- 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, 2007/03/26