emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

next-error refactoring (was: compilation-highlight-duration)


From: Ted Zlatanov
Subject: next-error refactoring (was: compilation-highlight-duration)
Date: Fri, 28 May 2004 11:45:06 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

On Fri, 28 May 2004, address@hidden wrote:

> Adding `next-error-highlight' and `next-error-highlight-no-select'
> reveals one problem.  When these user options are defined by
> `defcustom' it requires to specify a group name under which they
> should be placed.  The current logic by using the `next-error-' prefix
> suggests the group name `next-error'.  But it would be misleading for modes
> other than compile.  For grep, diff and occur this name makes no
> sense.

I think it makes sense to have a next-error group for other modes.

Is it time to make next-error a minor mode with its own next-error.el
file?  It seems like a useful thing, instead of manually hooking it
into all the user modes.  The minor mode could provide hooks that
would replace the current code; this would also facilitate adoption
by other modes.

Ted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]