auctex-devel
[Top][All Lists]

## Re: [AUCTeX-devel] LaTeX-fill-region and very long lines

 From: Ralf Angeli Subject: Re: [AUCTeX-devel] LaTeX-fill-region and very long lines Date: Tue, 14 Oct 2008 20:36:38 +0200

* Uwe Brauer (2008-10-14) writes:

> However I find this inconvenient, fortunately running LaTeX-fill-region
> over most of the buffer, formats nicely and break most
> longlines. However there are two type of long lines this function cannot
> deal with, (mostly in math formula)
>
>     -  one is one where there is really no space, so it is written like
>        (f)_{a}+5=7 etc etc

Yes, this is intentional.

>     -  the other one is more subtle. The point is, when I jump to the
>        end of that long line and type space (auto-fill-mode on) then the
>        line is broken correctly, but LaTeX-fill-region does not break
>        it.
> Here is an example which I attach since long lines in email is a bad
> idea
>   \begin{eqnarray}
>     g_{\alpha,\beta}-\eta_{\alpha,\beta} &\in&
> C^0\left([0,T],H_{s,\delta}\right)\cap

This is intentional as well.  If you don't like this, remove the
environment from LaTeX-indent-environment-list'.

--
Ralf

`