From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ethan Brown Newsgroups: gmane.emacs.help Subject: Re: Emacs-lisp function for block-quoting (mail-style)? Date: 10 Feb 2003 14:15:45 -0800 Organization: Science Applications Int'l Corp. Div 206 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1044915293 25145 80.91.224.249 (10 Feb 2003 22:14:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2003 22:14:53 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18iMCR-0006XP-00 for ; Mon, 10 Feb 2003 23:14:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18iMCv-0001RC-07 for gnu-help-gnu-emacs@m.gmane.org; Mon, 10 Feb 2003 17:15:21 -0500 Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 49 X-Newsreader: Gnus v5.7/Emacs 20.4 Original-NNTP-Posting-Host: draupnir.gso.saic.com X-Original-NNTP-Posting-Host: draupnir.gso.saic.com Original-X-Trace: 10 Feb 2003 14:14:04 -0800, draupnir.gso.saic.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!mvb.saic.com!cpns1.saic.com Original-Xref: shelby.stanford.edu gnu.emacs.help:110041 comp.emacs:77539 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6546 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6546 >>>>> "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 http://www.WheresTheGig.com for free.