all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* next-error-highlight = t - highlighting doesn't stay until you move to the next locus
@ 2007-03-20 23:20 Drew Adams
  2007-03-24 16:13 ` Eli Zaretskii
  0 siblings, 1 reply; 21+ messages in thread
From: Drew Adams @ 2007-03-20 23:20 UTC (permalink / raw)
  To: Emacs-Devel

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.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-03-29 15:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.