unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* I need a function that breaks all lines marked at 40 chars
@ 2013-07-29  8:51 gerlach
  2013-07-29  9:23 ` Thorsten Jolitz
  2013-07-29  9:26 ` Filipp Gunbin
  0 siblings, 2 replies; 3+ messages in thread
From: gerlach @ 2013-07-29  8:51 UTC (permalink / raw)
  To: help-gnu-emacs

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


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

end of thread, other threads:[~2013-07-29  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).