Discussion:
Another docTeX deficiency
David Kastrup
2005-03-09 20:04:33 UTC
Permalink
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.

Take the docTeX document consisting of a single percent sign with the
cursor behind it. Press C-c C-e mactocode RET. The result is

% \begin{macrocode}
% -#-
% \end{macrocode}

With the cursor at the -#- location. This is wrong because of the
indentation of the \begin, and it is wrong because the middle line
should be a plain no-comment line, and it is wrong because the
indentation of the middle line should correspond to a no-comment line
(but that might probably follow if the other stuff gets fixed).

Emacs : GNU Emacs 22.0.50.29 (i686-pc-linux-gnu, GTK+ Version 2.6.2)
of 2005-03-03 on lola.goethe.zz
Package: AUCTeX CVS-5.485 (2005-02-12)

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 t
)
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Loading...