bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.82; More intelligent handling of starred sectioning


From: Frank Küster
Subject: Re: [Bug-AUCTeX] 11.82; More intelligent handling of starred sectioning commands
Date: Mon, 24 Apr 2006 10:17:13 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Ralf Angeli <address@hidden> 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)





reply via email to

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