[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs-lisp function for block-quoting (mail-style)?

From: Jesper Harder
Subject: Re: Emacs-lisp function for block-quoting (mail-style)?
Date: Mon, 10 Feb 2003 23:46:54 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (Baard Ove Kopperud) writes:

> I was wondering if there is an emacs-lisp function
> for block-quoting a region and/or paragraph(s) of
> text in "mail-style"
> Idealy, it should re-break the lines if necessary
> to fit the specified coulmn-width

One way to do it is by setting the fill prefix, `C-x .', see "The Fill
Prefix" section in the Emacs manual.

> It ought to be possible to specify a file-name and
> have the file's contens pasted into the current
> buffer quoted.  This could perhaps be a seperate
> fuction that just used the actual quoting-function.

Look for 'boxquote.el' which has this and similar functions.  It uses
this style by default:

,----[ test.txt ]
| Foo bar

But the style can be customized.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]