all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ethan Brown <ethan@draupnir.gso.saic.com>
Subject: Re: Emacs-lisp function for block-quoting (mail-style)?
Date: 10 Feb 2003 14:15:45 -0800	[thread overview]
Message-ID: <vrsmuvlr3i.fsf@draupnir.gso.saic.com> (raw)
In-Reply-To: ae685d1b.0302101405.1cc4adb4@posting.google.com

>>>>> "Baard" == Baard Ove Kopperud <baard.kopperud@bigfoot.com> 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 http://www.WheresTheGig.com for free.

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 22:05 Emacs-lisp function for block-quoting (mail-style)? Baard Ove Kopperud
2003-02-10 22:15 ` Ethan Brown [this message]
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=vrsmuvlr3i.fsf@draupnir.gso.saic.com \
    --to=ethan@draupnir.gso.saic.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.