unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* format paragraph
@ 2003-03-12 17:32 Hans Larsen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Larsen @ 2003-03-12 17:32 UTC (permalink / raw)


Hello,

One of Ultraedits feature "reformat paragraph" makes it possible
to format lines to an configurable column width. At the moment I
don't know how to do something similar with emacs. Any idea?

Cheers
-Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: format paragraph
       [not found] <mailman.3137.1047490436.21513.help-gnu-emacs@gnu.org>
@ 2003-03-12 19:44 ` Kai Großjohann
  2003-03-12 19:55 ` Alan Mackenzie
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-03-12 19:44 UTC (permalink / raw)


Hans Larsen <larsen587@firemail.de> writes:

> One of Ultraedits feature "reformat paragraph" makes it possible
> to format lines to an configurable column width. At the moment I
> don't know how to do something similar with emacs. Any idea?

C-u C-x f 42 RET                set column
M-q                             fill

-- 
A preposition is not a good thing to end a sentence with.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: format paragraph
       [not found] <mailman.3137.1047490436.21513.help-gnu-emacs@gnu.org>
  2003-03-12 19:44 ` Kai Großjohann
@ 2003-03-12 19:55 ` Alan Mackenzie
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2003-03-12 19:55 UTC (permalink / raw)


Hans Larsen <larsen587@firemail.de> wrote on Wed, 12 Mar 2003 18:32:09 +0100:
> Hello,

> One of Ultraedits feature "reformat paragraph" makes it possible
> to format lines to a configurable column width. At the moment I
> don't know how to do something similar with emacs. Any idea?

M-q will do the "refilling", as emacs calls it.

To configure the column width, use, e.g. C-u 73 C-x f.

As for finding out about such things, here are a few hints for using
Emacs's help facilities:

C-h a  invokes "apropos", to which you then enter a string (actually a
regular expression) and you then get command names back that match the
string.

C-h c  followed by a key sequence (possibly with mouse clicks) gives you
the name of the associated command.

C-h i  enters the info system.  Spend a lot of time learning to use this
and learning the general layout of the Emacs info pages.  It's a good
investment.

Viel Spass!

> Cheers
> -Hans

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-12 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 17:32 format paragraph Hans Larsen
     [not found] <mailman.3137.1047490436.21513.help-gnu-emacs@gnu.org>
2003-03-12 19:44 ` Kai Großjohann
2003-03-12 19:55 ` Alan Mackenzie

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).