Article View: gnu.emacs.help
Article #189409Re: Using Supercite with GNUS
From: James Cameron
Date: Wed, 06 Mar 1991 07:59
Date: Wed, 06 Mar 1991 07:59
78 lines
3034 bytes
3034 bytes
>>>>> On 5 Mar 91 15:58:24 GMT, warsaw@nlm.nih.gov (Barry A. Warsaw) said:
Steinar> I would like to use supercite when replying to news
Steinar> articles with GNUS.
Barry> Assuming you're using supercite version 2.1 and GNUS 3.13, the
Barry> following should be all you need to put in your .emacs file to get
Barry> something minimal happening:
Barry> (defun my-sc-overload-hook ()
Barry> (require 'sc-oloads)
Barry> (sc-overload-functions))
Barry> (setq news-reply-mode-hook 'my-sc-overload-hook
Barry> mail-setup-hook 'my-sc-overload-hook)
Barry> (setq mail-yank-hooks 'sc-cite-original)
Barry> Of course, there *lots* of customization that can go on. You would put
Barry> these in a hook function and setq sc-load-hook to execute that function.
Barry> -Barry
I want to thank you for this piece of info. Now, I want to be
able to do the same thing in RMAIL as well. However, I get a response
of "Wrong type of argument: stringp, nil" Here is the inportant things
from my .emacs file
;;Supercite stuff
(autoload 'sc-cite-original "supercite" "Hookified Supercite 2.1" t)
(autoload 'sc-cite "supercite" "Interactive Supercite 2.1" t)
(defun my-sc-overload-hook ()
(require 'sc-oloads)
(sc-overload-functions))
(setq news-reply-mode-hook 'my-sc-overload-hook
mail-setup-hook 'my-sc-overload-hook)
(setq mail-yank-hooks 'sc-cite-original)
;; setup rmail files
(setq rmail-file-name "~/.rmail")
(setq rmail-primary-inbox-list '("/usr/spool/mail/$USER"
"$HOME/RMAIL"
"$HOME/mbox"))
(setq rmail-mode-hook '(lambda ()
(load "rmail-func" nil t)
(setq make-backup-files nil)))
(setq rmail-file-name "~/.rmail")
Thanks!
JC
--
James Cameron - jc@raven.bu.edu
Signal Processing and Interpretation Lab, ECS Engineering Dept.
Boston University, Boston MA
Work: 617 353-2879
Information Technology
Boston University, Boston MA
work: 617 353-2780 ext. 338
"But to risk we must, because the greatest hazard in life
is to risk nothing. For the man or woman who risks nothing, has
nothing, does nothing, is nothing."
(A quote from the eulogy for the late Christa McAuliffe.)
Technical Details
Message-ID:
<JC.91Mar6025926@condor.bu.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!olivea!bu.edu!nntp-read!jcReferences:
<9102221458.AA27865@fenris.idt.unit.no> <WARSAW.91Mar5105824@warsaw.nlm.nih.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,264c1ea5551ac755 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-03-06 18:28:44 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!olivea!bu.edu!nntp-read!jc From: jc@condor.bu.edu (James Cameron) Newsgroups: gnu.emacs.help Subject: Re: Using Supercite with GNUS Message-ID: <JC.91Mar6025926@condor.bu.edu> Date: 6 Mar 91 07:59:26 GMT References: <9102221458.AA27865@fenris.idt.unit.no> <WARSAW.91Mar5105824@warsaw.nlm.nih.gov> Sender: news@bu.edu.bu.edu Followup-To: gnu.emacs.help Organization: What do you mean *I* can't do that???? Lines: 78 In-reply-to: warsaw@nlm.nih.gov's message of 5 Mar 91 15:58:24 GMT