[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow compilation-next-error-function to leave code line hig
From: |
Juri Linkov |
Subject: |
Re: [PATCH] Allow compilation-next-error-function to leave code line highlighted until next command is typed |
Date: |
Wed, 23 Jun 2004 02:19:16 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Francis Litterio <address@hidden> writes:
> This patch to lisp/progmodes/compile.el in the CVS Emacs sources allows
> compilation-next-error-function to either highlight the displayed line
> of code for a configurable amount of time (it used to be hard-coded at
> 0.5 seconds) or to leave it highlighted until the next command is
> entered.
>
> I hope this change is of value.
A similar change was discussed recently but was stuck with naming
of this option: it should be used by packages other than compile
(grep, diff, occur, ...), but neither `compilation-highlight' nor
`next-error-highlight' seems right when applied to non-compilation
buffers. Perhaps `locus-highlight' or `match-highlight' are better
names.
--
Juri Linkov
http://www.jurta.org/emacs/