unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gerlach <jack@aiai.de>
To: help-gnu-emacs@gnu.org
Subject: I need a function that breaks all lines marked at 40 chars
Date: Mon, 29 Jul 2013 10:51:19 +0200	[thread overview]
Message-ID: <b5moo5Fc46lU1@mid.individual.net> (raw)

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


             reply	other threads:[~2013-07-29  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29  8:51 gerlach [this message]
2013-07-29  9:23 ` I need a function that breaks all lines marked at 40 chars Thorsten Jolitz
2013-07-29  9:26 ` Filipp Gunbin

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=b5moo5Fc46lU1@mid.individual.net \
    --to=jack@aiai.de \
    --cc=help-gnu-emacs@gnu.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).