[Top][All Lists]

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

Re: [Bug-AUCTeX] TeX fill instead of LaTeX fill for \subsection at top o

From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] TeX fill instead of LaTeX fill for \subsection at top of file
Date: Fri, 21 Nov 2008 18:39:24 +0100

* Chris Pickett (2008-11-21) writes:

> If I have:
> \subsection
> % comment
> text
> in a file and edit it, I end up in TeX Fill mode instead of LaTeX Fill 
> mode.

There are no such modes as "TeX Fill mode" and "LaTeX Fill mode".  Do
you perhaps refer to the modeline indicator?

> If I hit M-q in the paragraph above, it will reflow the text into 
> the comment like so:
> \subsection
> % comment text
> Is this a bug in AUCTeX?

Hard to say without more information.  Are you sure AUCTeX is enabled?
There should be a Command menu if it is.

> Is there a list of things that will activate 
> TeX mode instead of LaTeX mode?

Not really, at least not with respect to macros used in the document.
If AUCTeX cannot derive the mode from the document contents it should
fall back to the mode given by `TeX-default-mode'.  Perhaps you changed

> Is there some way to always force LaTeX 
> mode?

Even for ConTeXt files?


reply via email to

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