From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Yu <yu_icq@gmx.at>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [BUG]? \\ and `fill-paragraph'
Date: Mon, 30 Jan 2012 23:18:49 +0100 [thread overview]
Message-ID: <87ehugu94m.fsf@gmail.com> (raw)
In-Reply-To: <CANtbJLGp28sTTg8=HrjP=norCzGaorNGJ0uK9i+=qw91H+MLXg@mail.gmail.com> (Yu's message of "Mon, 30 Jan 2012 16:50:49 +0100")
Hello,
Yu <yu_icq@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
prev parent reply other threads:[~2012-01-30 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 15:50 [BUG]? \\ and `fill-paragraph' Yu
2012-01-30 22:18 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehugu94m.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=yu_icq@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.