From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
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 [thread overview]
Message-ID: <BDEIJAFNGDOAGCJIPKPBKEGDCDAA.drew.adams@oracle.com> (raw)
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 reply other threads:[~2007-03-20 23:20 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 23:20 Drew Adams [this message]
2007-03-24 16:13 ` next-error-highlight = t - highlighting doesn't stay until you move to the next locus 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BDEIJAFNGDOAGCJIPKPBKEGDCDAA.drew.adams@oracle.com \
--to=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 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.