From: Filipp Gunbin <fgunbin@fastmail.fm>
To: gerlach <jack@aiai.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: I need a function that breaks all lines marked at 40 chars
Date: Mon, 29 Jul 2013 13:26:23 +0400 [thread overview]
Message-ID: <86iozt67k0.fsf@w2139spb.ru.yotateam.com> (raw)
In-Reply-To: <b5moo5Fc46lU1@mid.individual.net> (gerlach's message of "Mon, 29 Jul 2013 10:51:19 +0200")
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
prev parent reply other threads:[~2013-07-29 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 8:51 I need a function that breaks all lines marked at 40 chars gerlach
2013-07-29 9:23 ` Thorsten Jolitz
2013-07-29 9:26 ` Filipp Gunbin [this message]
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=86iozt67k0.fsf@w2139spb.ru.yotateam.com \
--to=fgunbin@fastmail.fm \
--cc=help-gnu-emacs@gnu.org \
--cc=jack@aiai.de \
/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).