[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.82; More intelligent handling of starred sectioning
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] 11.82; More intelligent handling of starred sectioning commands |
Date: |
Sat, 22 Apr 2006 19:58:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
* Frank Küster (2006-04-18) writes:
> I suggest to always add the star if the previous command was starred
> (and no prefix is given); if you think it's necessary the user should
> be able to customize that.
I just looked at the code and extending it to support your suggestion
would be quite a challenge. AFAICS `LaTeX-current-section',
`LaTeX-down-section' and `LaTeX-up-section' would all have to return
more information than just the section level. Namely the section name
and a flag indicating if it is a starred version. (Instead of
providing a flag the star could be part of the section name.)
Juggling with a complex return value in and between the functions
mentioned above feels a bit odd and kludgy, though.
--
Ralf