From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: Not taking indented text with fill-paragraph
Date: Wed, 12 May 2010 12:21:17 +0200 [thread overview]
Message-ID: <lziq6tju8y.fsf@informatimago.com> (raw)
In-Reply-To: 874oid5toh.fsf@linux-lqcw.site
Cecil Westerhof <Cecil@decebal.nl> writes:
> I have often some text like the folowing:
>
> First some text which is a description of the list that follows the
> text:
> item 1
> item 2
> item 3
> item 4
>
> Sometimes you change something an you get:
>
> First some initial text which is a description of the list that follows the
> text:
> item 1
> item 2
> item 3
> item 4
>
> When using M-q you get:
>
> First some initial text which is a description of the list that follows
> the text: item 1 item 2 item 3 item 4
>
> But I would prefer:
>
> First some initial text which is a description of the list that follows
> the text:
> item 1
> item 2
> item 3
> item 4
>
> Is there a way to change the behaviour of fill-paragraph?
Yes. Keep an empty line inserted between paragraphs and lists. The
correct way to format such text is (as testified for example by reST):
First some initial text which is a description of the list that
follows the text:
- item 1
- item 2
- item 3
- item 4
> One solution is to mark the text which is the description, before giving
> M-q, but I would prefer a solution where this is not necessary. ;-}
--
__Pascal Bourguignon__
http://www.informatimago.com
next prev parent reply other threads:[~2010-05-12 10:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 9:57 Not taking indented text with fill-paragraph Cecil Westerhof
2010-05-12 10:21 ` Pascal J. Bourguignon [this message]
[not found] ` <87mxw54c4k.fsf@linux-lqcw.site>
2010-05-12 20:09 ` Andreas Politz
[not found] ` <jwv632s3lgf.fsf-monnier+gnu.emacs.help@gnu.org>
2010-05-13 8:23 ` Cecil Westerhof
[not found] ` <861vdhtgqs.fsf@aiuole.stru.polimi.it>
2010-05-13 8:23 ` Cecil Westerhof
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lziq6tju8y.fsf@informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).