[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Filling comments in LaTeX mode seems to be broken
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] Filling comments in LaTeX mode seems to be broken |
Date: |
Thu, 23 Apr 2015 09:55:56 +0200 |
Hi Alexander,
2015-04-23 2:31 GMT+02:00 Alexander Shukaev <address@hidden>:
> Hello,
>
> Open some TeX file or run a LaTeX/FP mode in some buffer. Set `fill-column'
> to 80. Copy/paste the following comment:
>
> % Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
> tempor
> % tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et,
> mattis
> % eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis
> % parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae
> % dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla.
> Nullam
> % rutrum. Nam vestibulum accumsan nisl.
>
>
> so that the word "tempor" exceeds the `fill-column' limit by 2 letters.
> Select the whole comment and `fill-region'. My result looks terrible:
>
> % Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
> tempor % tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt
> et,
> mattis % eget, convallis nec, purus. Cum sociis natoque penatibus et magnis
> dis
> % parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae %
> dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla.
> Nullam %
> rutrum. Nam vestibulum accumsan nisl.
>
>
> Is this a bug or do I miss something? Thanks in advance.
I cannot reproduce what you describe, for me the comments are filled
as expected. As Marcin suggested, there may be some particular
configuration producing what you get, you should try to inspect your
init file, divide et impera ;-)
Bye,
Mosè