From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2531 Path: news.gmane.org!not-for-mail From: spamtrap@koldfront.dk (=?iso-8859-1?q?Adam_Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: HOWTO for Supercite? Date: Fri, 23 May 2003 09:41:56 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87addehzy3.fsf@virgil.koldfront.dk> References: <878ysypuzz.fsf@verizon.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668931 15471 80.91.229.2 (31 Jan 2006 00:55:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:55:31 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:50 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!news.algonet.se!algonet!newsfeed1.uni2.dk!sunsite.dk!news.szn.dk!news.koldfront.dk!pnx.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: virgil.koldfront.dk Original-X-Trace: virgil.koldfront.dk 1053675716 8922 127.0.0.1 (23 May 2003 07:41:56 GMT) Original-X-Complaints-To: abuse@koldfront.dk Original-NNTP-Posting-Date: Fri, 23 May 2003 07:41:56 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux) Cancel-Lock: sha1:Su8totJvDtSV7+BZHLj42ckaQbU= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2671 Original-Lines: 61 X-Gnus-Article-Number: 2671 Tue Jan 17 17:30:50 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2531 Archived-At: On Thu, 22 May 2003 20:49:20 GMT, David Steuber wrote: > I would like to setup Supercite to improve quoting of messages I am > responding too (like excess line lengths and a couple spaces of > indentation) without chopping URLs. I know I need to put something > in my .emacs file (which now has all of ilisp.emacs pasted in, lol). I'm using this, to get - well, er - this above kind of quoting. (The sc-header-on-author-wrote fun is not by me, I think I picked it up in this newsgroup aeons ago...) If I remember correctly it still has problems with non-7-bit chars in peoples names, but I tend to forget about that as soon as I see it, and never get around to try to find a remedy. ; SuperCite: (defun sc-header-on-author-wrote () "\"On , wrote:\" unless: 1. the \"author\" field cannot be found, in which case nothing is inserted; 2. the \"date\" field is missing in which case only the from part is printed." (let ((sc-mumble "") (whofrom (sc-whofrom))) (if whofrom (insert sc-reference-tag-string (sc-hdr "On " (sc-mail-field "date") ", ") (sc-hdr "" (sc-mail-field "sc-author") " ") "wrote:\n")))) (load-library "supercite") (add-hook 'mail-citation-hook 'sc-cite-original) (setq message-cite-function 'sc-cite-original) (setq news-reply-header-hook nil) ; Use the usual ">" citing: (setq sc-citation-leader "") (setq sc-nested-citation-p t) ; No >>>>>>> thingie: (setq sc-reference-tag-string "") ; "On bla, bla wrote:": (setq sc-rewrite-header-list '((sc-header-on-author-wrote))) (setq sc-preferred-header-style 0) ; Don't ask me! (setq sc-confirm-always-p nil) ; Do not fill automatically: (setq sc-auto-fill-region-p nil) (Some of it may be unneccesary cruft from olden days :-)) The (setq sc-auto-fill-region-p nil) may not be what you want. I think I tried trivial-cite once, but something made me go back to SuperCite. I just can't remember what... (not of much use to know, I know). Best regards, -- "Från och med nu, så är 'så snart Adam Sjøgren som möjligt' 53 timmar!" asjo@koldfront.dk