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: Mon, 15 Sep 2003 05:39:50 +0200	[thread overview]
Message-ID: <m3u17eiut5.fsf@defun.localdomain> (raw)
In-Reply-To: 3f63f87e@news.unimelb.edu.au

Joerg <nospam@nospam.org> writes:

> Jesper Harder wrote:
>>
>> I think `paragraph-indent-text-mode' does what you want:
>
> Exactly! Thank you very much! I still don't understand why altering
> paragraph-start and paragraph-separate doesn't work, but who cares?

Well, if you wan't to know, you can just do `C-h v paragraph-start'
and `C-h v paragraph-separate' in paragraph-indent-text-mode and
text-mode respectively and compare the values.

Then you'll know which values give you the desired effect.

> One more thing: Do you also know a text-/minor-mode which is the
> opposite of paragraph-indent-text-mode, i.e. every line NOT starting
> with an indentation is considered as a new paragraph?
>
> This would be useful for text like the following:
>
> Topic1: This should be
>         one paragraph.
> Topic2: This should be
>         one paragraph.

`C-x .' (set-fill-prefix) is useful for this kind of situation.  If
you place point at "one" and press `C-x .', I think you'll get
something close to what you want.

Also read the chapter about filling in the Emacs manual -- there are
lots of options and commands related to this.

  reply	other threads:[~2003-09-15  3:39 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
2003-09-14  5:11   ` Joerg
2003-09-15  3:39     ` Jesper Harder [this message]
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=m3u17eiut5.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).