unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs-lisp function for block-quoting (mail-style)?
@ 2003-02-10 22:05 Baard Ove Kopperud
  2003-02-10 22:15 ` Ethan Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Baard Ove Kopperud @ 2003-02-10 22:05 UTC (permalink / raw)


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

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

+++

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

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

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.

+++

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

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

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

TIA,
-Koppe

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-11 19:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 22:05 Emacs-lisp function for block-quoting (mail-style)? Baard Ove Kopperud
2003-02-10 22:15 ` Ethan Brown
2003-02-10 22:46 ` Jesper Harder
2003-02-11 15:04 ` D. Goel
2003-02-11 19:25 ` Baard Ove Kopperud
2003-02-11 19:57   ` D. Goel

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 read-only IMAP folder(s) and NNTP newsgroup(s).