Ralf Angeli <[EMAIL PROTECTED]> wrote: >> Maybe it would make sense to allow section names "section*" and >> "section[" as reply to the C-c C-s query of the section level. A >> starred entry would not ask for a label, and a "section[" would ask >> for a toc entry (when using memoir, section[[ might ask for both toc >> entry and running header).
That sounds sensible to me, although I agree with you that section[ is a bit strange. > Personally I'd find "section*" natural but "section[" a bit obscure. > "section*" is something you can already use. Currently it just > doesn't inhibit prompting for a label. For that one would have to > temporarily remove `LaTeX-section-label' from `LaTeX-section-hook' or > let-bind a variable which gets checked by `LaTeX-section-label'. But > that doesn't help with the default-to-starred-section-if-section- > before-was-starred-as-well business. I have no idea how the code works, but it already knows whether I've used section or paragraphs the last time. If "section*" would be part of the list, wouldn't it remember that complete string just as it now remembers "section" and "subsection"? Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX) _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
