unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Cecil Westerhof <Cecil@decebal.nl>
To: help-gnu-emacs@gnu.org
Subject: Not taking indented text with fill-paragraph
Date: Wed, 12 May 2010 11:57:18 +0200	[thread overview]
Message-ID: <874oid5toh.fsf@linux-lqcw.site> (raw)

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?

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. ;-}

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


             reply	other threads:[~2010-05-12  9:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12  9:57 Cecil Westerhof [this message]
2010-05-12 10:21 ` Not taking indented text with fill-paragraph Pascal J. Bourguignon
     [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=874oid5toh.fsf@linux-lqcw.site \
    --to=cecil@decebal.nl \
    --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).