[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: Ethan Brown
Subject: Re: Emacs-lisp function for block-quoting (mail-style)?
Date: 10 Feb 2003 14:15:45 -0800

>>>>> "Baard" == Baard Ove Kopperud <> writes:

    Baard> I was wondering if there is an emacs-lisp function
    Baard> for block-quoting a region and/or paragraph(s) of
    Baard> text in "mail-style" -- i.e. like this:

    Baard> This line is not quoted...
    Baard> neither is this one...
    >> but this one is...
    >> and so is this one...
    Baard> but not this.

    Baard> +++

    Baard> Idealy, it should re-break the lines if necessary
    Baard> to fit the specified coulmn-width (at least when
    Baard> in auto-fill-mode).

    Baard> By default, text should be quoted with "> ", but
    Baard> it ought to be possible to specify another string
    Baard> to be used to quote (e.g. "--> ").

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

    Baard> +++

    Baard> If anyone could tell me if there already is an 
    Baard> emacs-function that do (some of) this -- either
    Baard> in the standard distribution or availble for
    Baard> download -- it would be greately appriciated.

    Baard> If not, would anyone here be able to write such
    Baard> a function... or perhaps give a complete e-lisp
    Baard> novice (like myself) some hints about how to do is?

    Baard> If you want to write to me, please use *this*
    Baard> address:  bokoppe [at] frisurf [dot] no

    Baard> TIA,
    Baard> -Koppe

You may want to check out supercite.

--Ethan Brown
--In a band?  Use for free.

reply via email to

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