auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Filling comments in LaTeX mode seems to be broken


From: Marcin Borkowski
Subject: Re: [AUCTeX] Filling comments in LaTeX mode seems to be broken
Date: Thu, 23 Apr 2015 08:15:10 +0200

On 2015-04-23, at 02:31, Alexander Shukaev <address@hidden> wrote:

> 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.

This might be completely unrelated, but let me try.  Sometimes, when
I use visual-line-mode, C-a/C-e don't move me to the begin/end of the
visual line, but to some strange place.  This happens when my Emacs
occupies the whole screen due to this in my init.el:

(setq initial-frame-alist '((menu-bar-lines . 0) (fullscreen . maximized)))

When I press F11 (toggle-frame-fullscreen), the problem disappears.

> Kind regards,
> Alexander

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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