Bad indentation of docstrip flags.

David Kastrup <[email protected]> Fri, 11 Mar 2005 00:37:22 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

If the bug (or problem) is triggered by a specific (La)TeX
file, you should try to produce a minimal sample file showing the
problem and include it in your report.

Your bug report will be posted to the AUCTeX mailing list.

If you press TAB at the given position in

%<trace>\DeclareOption{trace}{%
%<trace>-#-

then you get

%<trace>\DeclareOption{trace}{%
%  <trace>-#-

in docTeX mode.  However, stuff starting with %< in docTeX mode
(actually, in anything processed with docstrip, which could be other
files as well) is a special conditional: the comment prefix only ends
with the following > and should not be tempered with: indentation
starts after that.

I have no clue whether our current infrastructure can easily support
this.

Emacs  : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-03-10 on lola.goethe.zz
Package: AUCTeX 11.55

current state:
==============
(setq
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style/" "auto/"
		  "/usr/local/emacs-21/share/emacs/site-lisp/auctex/style/"
		  "/usr/local/emacs-21/var/auctex/")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master "bigfoot.drv"
 )
-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum