all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.