From: Bjoern Voigt <bjoernvoigt@compuserve.de>
Subject: Re: Emacs as an external flowed-text editor?
Date: 14 Jun 2006 16:08:38 +0200 [thread overview]
Message-ID: <87d5dbommx.fsf@chemnitz.dialup.cs.tu-berlin.de> (raw)
In-Reply-To: 87y7w2w57b.fsf@linux.site
roodwriter@core.com writes:
> I'm not exactly clear on what you're asking here. If you're asking for
> a traditional word wrap with a carriage return (newline) just at the
> end of a paragraph, like word processors do, then try longlines.el. I
> just plopped it into my .emacs file, restarted and it works fine.
Thank you for the tip with "longlines.el". I think it's possible to
compose e-mails with long-lines-mode. The mailer can do the special
format=flowed line wrapping after editing the message.
But I think, that long-lines-mode is not perfect, if I edit mails which
were already stored as a draft with format=flowed encoding or if I edit
replies with "> "-paragraphs.
The flowed format is defined in RFC 3676
(http://www.rfc-archive.org/getrfc.php?rfc=3676).
Flowed-text capable mailers wrap lines after 66 characters
(configurable) like other mailer too. But the flowed text format knows
two types of line breaks:
Hard line breaks: <LF>
Soft line breaks: <Space><LF>
I have attached the example output of emacs after calling the function
"fill-flowed-test" from gnus/flow-fill.el.
http://user.cs.tu-berlin.de/~bjoern/emacs/fill-flowed-test.png
The trailing spaces are marked red in the screenshot. A flowed-text
capable program can adjust the line wrapping according to the window
width. Also a flowed-text capable editor preserves the trailing spaces
if it formats a paragraph.
Because flow-fill.el is already in Emacs/Gnus it's clear that Emacs can
display and compose flowed text. But I don't know what I have to write
into my .emacs file to activate this mode. The "fill-flowed" function is
not interactively avaliable after loading gnus/flow-fill.el with
"load-file", "autoload" or "require".
Greetings, Björn
next prev parent reply other threads:[~2006-06-14 14:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-12 11:10 Emacs as an external flowed-text editor? Bjoern Voigt
2006-06-12 19:21 ` roodwriter
2006-06-14 14:08 ` Bjoern Voigt [this message]
2006-06-14 15:44 ` Mathias Dahl
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=87d5dbommx.fsf@chemnitz.dialup.cs.tu-berlin.de \
--to=bjoernvoigt@compuserve.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.
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.