GNU bug report logs -
#20359
Indentation bug in newest version of AUCTeX
Previous Next
Full log
Message #23 received at 20359 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Peter Harpending <peter <at> harpending.org> writes:
Hi Peter,
> I did some more testing.
I've tried to reproduce the issue with Emacs 24.5.1 and AUCTeX 11.88.4
From ELPA but I failed.
> Input
>
> \begin{itemize}
> \item If you tap your finger against a bridge at exactly the right
> frequency, the bridge will collapse. (Resonance)
>
> \item The formula used to calculate the interest rate on your mortgage
> is actually just a fancy form of the ratios of angles in a
> triangle. (Euler's formula)
> \end{itemize}
>
> AUCTeX
>
> \begin{itemize}
> \item If you tap your finger against a bridge at exactly the right
> frequency, the bridge will collapse. (Resonance)
>
> \item The formula used to calculate the interest rate on your mortgage
> is actually just a fancy form of the ratios of angles in a
> triangle. (Euler's formula)
> \end{itemize}
This is what I get.
\begin{itemize}
\item If you tap your finger against a bridge at exactly the right frequency,
the bridge will collapse. (Resonance)
\item The formula used to calculate the interest rate on your mortgage is
actually just a fancy form of the ratios of angles in a triangle. (Euler's
formula)
\end{itemize}
> Input
>
> \begin{enumerate}
> \item First item
> \begin{itemize}
> \item If you tap your finger against a bridge at exactly the right
> frequency, the bridge will collapse. (Resonance)
>
> \item The formula used to calculate the interest rate on your mortgage
> is actually just a fancy form of the ratios of angles in a
> triangle. (Euler's formula)
> \end{itemize}
> \end{enumerate}
>
> AUCTeX
>
> \begin{enumerate}
> \item First item
> \begin{itemize}
> \item If you tap your finger against a bridge at exactly the right
> frequency, the bridge will collapse. (Resonance)
>
> \item The formula used to calculate the interest rate on your mortgage
> is actually just a fancy form of the ratios of angles in a
> triangle. (Euler's formula)
> \end{itemize}
> \end{enumerate}
And here I get this.
\begin{enumerate}
\item First item
\begin{itemize}
\item If you tap your finger against a bridge at exactly the right frequency,
the bridge will collapse. (Resonance)
\item The formula used to calculate the interest rate on your mortgage is
actually just a fancy form of the ratios of angles in a triangle. (Euler's
formula)
\end{itemize}
\end{enumerate}
> The value of `fill-paragraph-function` is `LaTeX-fill-paragraph`,
Here, too.
> which is an AUCTeX function.
Yes.
> I'm not an expert on the code base, but, I think LaTeX-fill-paragraph
> is forgetting to do its indentation job.
Did you try without your AUCTeX configuration? The filling you get
looks like you have added an entry '("enumerate" current-indentation) to
`LaTeX-indent-environment-list'. It's possible that you had a broken
configuration before that didn't cause the issue because of an AUCTeX
bug which got fixed lately.
Bye,
Tassilo
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 10 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.