[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs as an external flowed-text editor?
From: |
Mathias Dahl |
Subject: |
Re: Emacs as an external flowed-text editor? |
Date: |
Wed, 14 Jun 2006 17:44:06 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Bjoern Voigt <bjoernvoigt@compuserve.de> writes:
> 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.
I looked at flow-fill.el now and I don't see any mode in it.
> The "fill-flowed" function is
> not interactively avaliable after loading gnus/flow-fill.el with
> "load-file", "autoload" or "require".
What about just adding an interactive wrapper function so that you can
flow-fill the text when you want? Something like this:
(defun my-fill-flowed ()
"Call fill-flowed in flow-fill.el."
(interactive)
(require 'flow-fill)
(fill-flowed))
You can probably arrange for that (or the normal `fill-flowed' of
course) to be called when certain files or buffers open if you want,
if there is any such "rule" that you could match against.
/Mathias