Article View: news.software.readers
Article #23335Re: Attributions, quoting, wrap, and the human/automation battle. (was Re: Burgeoning Banality)
From: Russ Allbery
Date: Sun, 23 Jun 1996 00:00
Date: Sun, 23 Jun 1996 00:00
61 lines
2702 bytes
2702 bytes
Felix von Leitner <leitner@xorn.prz.tu-berlin.de> writes:
> Supercite is about the worst thing being thrust by Emacs on the
> unsuspecting Usenet.
I use Supercite. It produced the above quoting. It works great, once it
is properly configured, and it handles nested > quotations better than any
other quote engine I've seen. I agree that the default is atrocious, but
you don't have to use the default.
Here's my Supercite configuration file. I don't claim to be a
particularly good elisp hacker, so don't laugh too hard. :)
;;; rra-sc.el -- Supercite initialization file.
;;; Written by Russ Allbery <rra@cs.stanford.edu>
;;; Citation delimiter. We may want to fiddle with this.
(setq sc-citation-delimiter-regexp "[>]+")
;;; Set some general preferences.
(setq sc-nested-citation-p t)
(setq sc-citation-leader "")
(setq sc-reference-tag-string "")
(setq sc-auto-fill-region-p nil)
(setq sc-confirm-always-p nil)
;;; New attribution code. This will probably need to be expanded to handle
;;; all the pathological stuff I do (like air.unix).
(defun rra-sc-header ()
"Attribution header code for Supercite."
(let ((sc-mumble "")
(whofrom (sc-whofrom))
(author
(let ((testauthor (sc-mail-field "sc-author")))
(if (string= " " (substring testauthor -1 nil))
(substring testauthor 0 -1)
testauthor))))
(if whofrom
(insert sc-reference-tag-string
(if (not (or (string-match "^nnml:" gnus-newsgroup-name)
(string-match "^nnvirtual:" gnus-newsgroup-name)
(string= gnus-newsgroup-name
(sc-mail-field "newsgroups"))))
(concat "In " gnus-newsgroup-name ", ")
"")
(sc-hdr "" author)
(or (sc-hdr " <" (sc-mail-field "sc-from-address") ">" t)
(sc-hdr " <" (sc-mail-field "sc-reply-address") ">" t)
"")
" writes:\n"))))
(setq sc-rewrite-header-list (list '(rra-sc-header)))
(setq sc-preferred-header-style 0)
--
Russ Allbery (rra@cs.stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<qumvighivmm.thoron@cyclone.Stanford.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4p7d38.19c.guckes@euler.math.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <qumvighivmm.thoron@cyclone.Stanford.EDU> Subject: Re: Attributions, quoting, wrap, and the human/automation battle. (was Re: Burgeoning Banality) Date: Sun, 23 Jun 1996 00:00:00 +0000 From: Russ Allbery <rra@cs.stanford.edu> References: <slrn4p7d38.19c.guckes@euler.math.fu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 161799868 Sender: eagle@cyclone.Stanford.EDU Organization: The Eyrie Newsgroups: news.software.readers