From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: Using autofill./
Date: Wed, 5 Oct 2005 00:18:41 +0000 [thread overview]
Message-ID: <20051005001841.GB992@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <86hdbx427w.fsf@flame.pc>
On Tue, Oct 04, 2005 at 08:32:51PM +0300, Giorgos Keramidas wrote:
> Shashank Khanvilkar <shashank@mia.ece.uic.edu> writes:
> > However suppose I have a paragraph like the below:
> > Background
> > ----------
> > * This is a test message. This is a test message. This is a test
> > message.This is a test message. This is a test message. This is a test
> > message. This is a test message. This is a test message.
> > * This is a second test message. This is a second test message.
> > This is a second test message. This is a second test message.
> > This is a second test message.
> >
> > How do i ask emacs to apply the new line width.
> > I tried using <Meta-q> but it makes the above lines as:
> >
> > Background ---------- * This is a test message. This is a test
> > message. This is a test message. This is a test message. This
> > is a test message. This is a test message. This is a test
> > message. This is a test message. * This is a second test
> > message. This is a second test message. This is a second
> > test message. This is a second test message. This is a
> > second test message.
>
> You can set a "fill prefix" of a couple of spaces. The M-q command
> respects the value of fill-prefix. To set the value of fill-prefix
> use the ``C-x .'' command.
>
This is great advice indeed. By following it you can get your
example text after "M-q" to look something like this:
Background ---------- * This is a test message. This is a
test message. This is a test message.This is a test
message. This is a test message. This is a test message.
This is a test message. This is a test message. * This is
a second test message. This is a second test message.
This is a second test message. This is a second test
message. This is a second test message.
> you can set the fill-column to its new value (i.e. 40) and
> refill the paragraph by hitting M-q just once:
>
> * This is a test message. This is a test
> message. This is a test message.This is a
> test message. This is a test message. This
> is a test message. This is a test
> message. This is a test message. ^^^^^^^^
> ^^^^^^^^
Before you start giving advice on filling don't you think that you
should first fix yours? You might want to have a look at the
variable "sentence-end-double-space" for example.
--
Everyone is so overwhelmed by the hospitality. And so many of the
people in the arena here, you know, were underprivileged anyway, so
this--this (she chuckles slightly) is working very well for them.
-- Barbara Bush, about the refugees from New Orleans.
next prev parent reply other threads:[~2005-10-05 0:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-04 15:24 Using autofill./ Shashank Khanvilkar
2005-10-04 16:12 ` Peter Dyballa
2005-10-04 17:32 ` Giorgos Keramidas
2005-10-05 0:18 ` Neon Absentius [this message]
[not found] ` <mailman.9763.1128471558.20277.help-gnu-emacs@gnu.org>
2005-10-05 13:45 ` Giorgos Keramidas
2005-10-05 14:26 ` Neon Absentius
[not found] ` <mailman.9832.1128522413.20277.help-gnu-emacs@gnu.org>
2005-10-05 14:56 ` Giorgos Keramidas
2005-10-05 15:10 ` Neon Absentius
2005-10-04 17:41 ` rgb
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=20051005001841.GB992@SDF.LONESTAR.ORG \
--to=absent@sdf.lonestar.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).