help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need a function that breaks all lines marked at 40 chars


From: Filipp Gunbin
Subject: Re: I need a function that breaks all lines marked at 40 chars
Date: Mon, 29 Jul 2013 13:26:23 +0400
User-agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.3 (cygwin)

On 29/07/2013 12:51 +0400, gerlach wrote:

> Hi,
>
> I'm writing mails with emacs and I sometimes want to
> break all text lines that I marked to say 40 chars.
> But empty line (only returns) should not be filled to
> 40 chars. Entire words should not be cutted within the
> word.
>
> Can you help me writing such a function? I'm beginner ...
>
> I want:
>  1. mark the the text I want to break at 40 chars
>  2. call a function (M-x .... ???? )
>     and the text ist breaked
>
> Perhaps emacs has such a function already build-in. Where?
>
> The function may be placed in .emacs profile with hard
> coded number of chars , e.g.  40
>
> tia
> Eckard
>
>

You are talking about filling, eval this with C-x C-e:  (info "(emacs)
Filling") .

Filipp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]