[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG]? \\ and `fill-paragraph'
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [BUG]? \\ and `fill-paragraph' |
Date: |
Mon, 30 Jan 2012 23:18:49 +0100 |
Hello,
Yu <address@hidden> 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