* Need better doc of compilation mode
@ 2006-09-11 0:10 Drew Adams
2006-09-11 3:18 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Drew Adams @ 2006-09-11 0:10 UTC (permalink / raw)
1. I just discovered this feature (yes, I think it's a feature) by accident:
Click (mouse-2) a grep hit on the file name or line number, and the text
that matches the regexp is highlighted in the source buffer. Click instead
anywhere else on the grep hit and the whole line is highlighted in the
source buffer. Nice.
I see no documentation for this. The logical place to document it would be
in the Compilation Mode node of the Emacs manual.
2. Node Compilation Mode says that the source hit is only momentarily
highlighted. The word "momentarily" should be removed - that is just the
default behavior. It also says "You can change the behavior of this
highlighting with the variable `next-error-highlight'." It should instead
say that that variable determines whether and for how long the hit is
highlighted.
3. I filed a bug separately about the default highlight period
(`next-error-highligt') being ridiculously short - it is 0.1 sec, so short I
never even see the highlighting; it should be perhaps 10 or 30 seconds. I
personally think the default value should be `t', which just moves the
highlight each time you use `next-error'.
4. Node Grep Searching does not even say that what is said about
`compilation-mode' in node Compilation Mode applies also to grep. It should
say that buffer *grep* is in Grep mode, which has Compilation mode as a
parent mode. More importantly, it should contain a link to node Compilation
Mode, so readers can learn how to use Grep mode! We should never assume that
users read the manual linearly, front to back. If a user goes to the manual
looking for information on `grep', then s?he should be able to easily get to
all pertinent information about it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need better doc of compilation mode
2006-09-11 0:10 Need better doc of compilation mode Drew Adams
@ 2006-09-11 3:18 ` Eli Zaretskii
2006-09-11 19:58 ` Richard Stallman
2006-09-17 15:30 ` Drew Adams
2 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2006-09-11 3:18 UTC (permalink / raw)
Cc: emacs-devel
> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Sun, 10 Sep 2006 17:10:03 -0700
>
> 3. I filed a bug separately about the default highlight period
> (`next-error-highligt') being ridiculously short - it is 0.1 sec, so short I
> never even see the highlighting; it should be perhaps 10 or 30 seconds. I
> personally think the default value should be `t', which just moves the
> highlight each time you use `next-error'.
FWIW, I like the current default of this variable, and vote against
its change.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Need better doc of compilation mode
2006-09-11 0:10 Need better doc of compilation mode Drew Adams
2006-09-11 3:18 ` Eli Zaretskii
@ 2006-09-11 19:58 ` Richard Stallman
2006-09-11 20:13 ` Drew Adams
2006-09-17 15:30 ` Drew Adams
2 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2006-09-11 19:58 UTC (permalink / raw)
Cc: emacs-devel
Thanks. I improved that.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Need better doc of compilation mode
2006-09-11 0:10 Need better doc of compilation mode Drew Adams
2006-09-11 3:18 ` Eli Zaretskii
2006-09-11 19:58 ` Richard Stallman
@ 2006-09-17 15:30 ` Drew Adams
2 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2006-09-17 15:30 UTC (permalink / raw)
1. I just discovered this feature (yes, I think it's a feature)
by accident:
Click (mouse-2) a grep hit on the file name or line number, and the text
that matches the regexp is highlighted in the source buffer.
Click instead
anywhere else on the grep hit and the whole line is highlighted in the
source buffer. Nice.
I see no documentation for this. The logical place to document
it would be in the Compilation Mode node of the Emacs manual.
I was mistaken about this. The undocumented feature was from my own code(!).
I had forgotten that my code did this:
(setq grep-regexp-alist
(mapcar (lambda (elt)`(,(concat (car elt) ".*") ,@(cdr elt)))
grep-regexp-alist))
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-17 15:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 0:10 Need better doc of compilation mode Drew Adams
2006-09-11 3:18 ` Eli Zaretskii
2006-09-11 19:58 ` Richard Stallman
2006-09-11 20:13 ` Drew Adams
2006-09-17 15:30 ` Drew Adams
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.