[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Key bindings for TeX-next-error
From: |
Ralf Angeli |
Subject: |
[AUCTeX-devel] Key bindings for TeX-next-error |
Date: |
Fri, 22 Apr 2005 10:45:52 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
As `C-c `' really is a pain in the, uh, fingers I finally want to get
a decision on and implementation of a better key binding for
`TeX-next-error'.
In recent CVS Emacs the bindings `M-g M-n' and `M-g n' were introduced
for `next-error' besides the traditional `C-x `'. I'd be fine if we
simply took the bindings for `next-error' and use them for
`TeX-next-error'. This could be done with something like
(if (featurep 'xemacs)
(substitute-key-definition 'next-error 'TeX-next-error map global-map)
(define-key map [remap next-error] 'TeX-next-error))
Problem is that this won't improve the situation for people using
Emacs 21 or XEmacs. `C-x `' isn't really better than `C-c `'. So we
might still need an alternative binding here. So far `C-c !', `C-c
SPC' and `C-c *' have been discussed. The last one was a proposal by
Frank for jumping to the next warning in contrast to the next error.
He noted that jumping to warnings could also be achieved by prefix
arguments. But I don't think that this is really necessary as one can
enable "Debug Bad Boxes" which only makes sense if there are no
errors anyway.
I have a weak preference for `C-c !' because of the related symbolism
with LaTeX errors. From an egoistical point of view I wouldn't even
introduce a new binding but use one of the remapped bindings of
`next-error'.
--
Ralf
- [AUCTeX-devel] Key bindings for TeX-next-error,
Ralf Angeli <=