bug-auctex
[Top][All Lists]
Advanced

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

bug#20359: More testing


From: Tassilo Horn
Subject: bug#20359: More testing
Date: Fri, 24 Apr 2015 20:58:23 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Peter Harpending <address@hidden> 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

Attachment: signature.asc
Description: PGP signature


reply via email to

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