all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: baard.kopperud@bigfoot.com (Baard Ove Kopperud)
Subject: Emacs-lisp function for block-quoting (mail-style)?
Date: 10 Feb 2003 14:05:26 -0800	[thread overview]
Message-ID: <ae685d1b.0302101405.1cc4adb4@posting.google.com> (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

             reply	other threads:[~2003-02-10 22:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 22:05 Baard Ove Kopperud [this message]
2003-02-10 22:15 ` Emacs-lisp function for block-quoting (mail-style)? 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

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=ae685d1b.0302101405.1cc4adb4@posting.google.com \
    --to=baard.kopperud@bigfoot.com \
    /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.