Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: reformat messages without adding returns
Date: Sat, 15 Jun 2013 00:38:47 +0200	[thread overview]
Message-ID: <871u84z5ag.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: <mailman.1522.1371109333.22516.info-gnus-english@gnu.org>

Rainer M Krug <Rainer@krugs.de> writes:

> I know I can reformat a paragraph by using M-RET but it also
> adds two empty lines and it only reformats the paragraph after
> the location of the cursor.
>
> Is there a way of reformating (mainly fixing long lines in
> replies) in the *wholw* message *without* adding extra lines?

I used to use this to fix rmail mails:

(defun fill-mail ()
  (interactive)
  "Fill every overflow paragraph in the buffer. Don't justify.
Don't fill (mail) header lines."
  (fill-individual-paragraphs (point-min) (point-max) nil "t") )

To fix Usenet posts in Gnus, I use gnus-article-fill-cited-article.

When I write messages, I first use the wrap minor mode, then
fill-paragraph.

Those should be bound to single key shortcuts that I can reach
without - eh - reaching (with either hand).

Actually, I have experienced problems with all three solutions,
and they could probably be automatized; I just have been busy on
other projects. (So any pointers are welcome.) But, for the OP,
all are worth to examine.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

       reply	other threads:[~2013-06-14 22:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1522.1371109333.22516.info-gnus-english@gnu.org>
2013-06-14 22:38 ` Emanuel Berg [this message]
2013-06-13  7:41 Rainer M Krug
2013-06-13  9:04 ` Alberto Luaces
2013-06-13  9:28   ` Alberto Luaces
2013-06-13 10:18     ` Rainer M Krug

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=871u84z5ag.fsf@VLAN-3434.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@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 NNTP newsgroup(s).