Hello,

Yu <yu_...@gmx.at> writes:

> When using "\\" to force linebreaks, these potentially get lost when
> reformatting the paragraph with Alt+Q (fill paragraph).
>
> Given an input
>
>   :  - long sentence long sentence
>   :    long sentence long sentence
>   :    long sentence long sentence
>   :    long sentence: \\
>   :    Next line.
>
> pressing Alt+Q (`fill-paragraph') I'd expect to get
>
>   :  - long sentence long sentence long sentence long sentence long
>   :    sentence long sentence long sentence: \\
>   :    Next line.
>
> but what I get is
>
>   :  - long sentence long sentence long sentence long sentence long
>   :    sentence long sentence long sentence: \\ Next line.

Yes, this is a problem. I'll take a look at it in a few days. I wanted
to provide a better filling mechanism backed up with Org elements,
anyway.

> The Problem occurs in the opposite direction too: If a "\\" is  m e a
> n t  to occur literally it can end up at the end of a line and thus be
> interpreted as a line break.

I've committed a patch that should prevent auto-fill from creating Org
line breaks.


Regards,

-- 
Nicolas Goaziou

Reply via email to