[Top][All Lists]

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

Re: [AUCTeX-devel] keybinding: next and previous error

From: Ralf Angeli
Subject: Re: [AUCTeX-devel] keybinding: next and previous error
Date: Fri, 27 May 2005 18:01:43 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Adrian Lanz (2005-05-27) writes:

> Emacs 22.1 adds a new prefix key M-g and
> M-g n and M-g M-n run next-error (like C-x `).
> Would be nice - especially on a Swiss German keyboard with "`" being a
> dead key - to see this keybinding in AUCTeX.

Unless somebody objects I'll install the code proposed in
<URL:> which will
remap the key binding of `next-error' to `TeX-next-error'.

I am not overly enthusiastic about this solution but I've had this
code enabled for about a month now and I got accustomed using `M-g n'
exclusively for jumping to the next error.  It's really much more
convenient than `C-c `'.

A better solution would be to use more of the native methods provided
by simple.el or compile.el as proposed by David earlier.  But that
would require major surgery.  `next-error-function' is not available
on XEmacs and `TeX-next-error' as well as functions called by it don't
qualify as functions to be used for `next-error-function' in their
current state.  We'll have to check how to interface with compile.el.

I think remapping the key binding of `next-error' would be an
acceptable solution for now.


reply via email to

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