all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: Emacs-lisp function for block-quoting (mail-style)?
Date: Mon, 10 Feb 2003 23:46:54 +0100	[thread overview]
Message-ID: <m37kc721pd.fsf@defun.localdomain> (raw)
In-Reply-To: ae685d1b.0302101405.1cc4adb4@posting.google.com

baard.kopperud@bigfoot.com (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.

  parent reply	other threads:[~2003-02-10 22:46 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
2003-02-10 22:46 ` Jesper Harder [this message]
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=m37kc721pd.fsf@defun.localdomain \
    --to=harder@myrealbox.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.