From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
To: emacs-devel@gnu.org
Subject: Should `fill-paragraph' respect formatting?
Date: Wed, 08 Dec 2021 17:15:03 +0100 [thread overview]
Message-ID: <m2zgpbnke0.fsf@ntnu.no> (raw)
I sent the following to an `org-mode' mailing list:
> Applying `org-fill-paragraph' to /e.g./
>
> /Some text./ Some more text.
>
> when `sentence-end-double-space' is t removes the double space to a
> single space. The same happens with other formatting like *bold* and
> _underline_. In other instances it is more context aware. /E.g./
> applying it to
>
> (Some text.) Some more text.
>
> does nothing, which is correct.
`org-mode' binds it's own variant of `fill-paragraph', but should the
default `fill-paragraph' respect formatting like this also? /E.g./ when
writing text outside `org-mode' (or something similar like
`markdown-mode' for that matter), like in an e-mail, it's not uncommon
to use formatting like _this._ Or is it better to leave this to individual
major modes?
next reply other threads:[~2021-12-08 16:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 16:15 Tor Kringeland [this message]
2021-12-09 1:03 ` Should `fill-paragraph' respect formatting? Lars Ingebrigtsen
2021-12-09 2:05 ` Tor Kringeland
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=m2zgpbnke0.fsf@ntnu.no \
--to=tor.a.s.kringeland@ntnu.no \
--cc=emacs-devel@gnu.org \
/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.