unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: paragraph definition problems
Date: Sun, 14 Sep 2003 04:28:06 +0200	[thread overview]
Message-ID: <m3d6e4xfwp.fsf@defun.localdomain> (raw)
In-Reply-To: 3f62b25c@news.unimelb.edu.au

Joerg <nospam@nospam.org> writes:

> Let's say I've got the following text:
>
> This is a paragraph.
>  This should be a new paragraph because of the space at the beginning.
>
> Now, if I press M-h to select the paragraph in the second line, the line
> above is also selected, in spite of the space in the beginning of the second
> one. Also M-q fills those "paragraphs" together.

I think `paragraph-indent-text-mode' does what you want:

,----[ C-h f paragraph-indent-text-mode RET ]
| paragraph-indent-text-mode is an interactive compiled Lisp function
| in `textmodes/text-mode'.  (paragraph-indent-text-mode)
| 
| Major mode for editing text, with leading spaces starting a paragraph.
| In this mode, you do not need blank lines between paragraphs
| when the first line of the following paragraph starts with whitespace.
| `paragraph-indent-minor-mode' provides a similar facility as a minor mode.
|
`----

  reply	other threads:[~2003-09-14  2:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13  6:00 paragraph definition problems Joerg
2003-09-14  2:28 ` Jesper Harder [this message]
2003-09-14  5:11   ` Joerg
2003-09-15  3:39     ` Jesper Harder
2003-09-15 15:16 ` Stefan Monnier

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=m3d6e4xfwp.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /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).