auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Suggested feature...


From: David Kastrup
Subject: [AUCTeX-devel] Suggested feature...
Date: Sun, 03 Apr 2005 16:14:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

For macro insertion like \usepackage, it would make sense to check
whether we are
a) in the master file
b) outside of the document environment properly.

If we aren't, it would be nice to
a) change to the master file if not there already, just before
   \begin{document} and announce that C-c ^ can be used for returning
b) Push the mark at the previous location and announce that C-u C-SPC
   can be used for returning.

This means that AUCTeX would need to have an idea about what commands
are preamble-only.  This can be automatically guessed when parsing,
since such commands usually are marked with

address@hidden

and similar.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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