🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189746

Re: supercite 2.1 problems

#189746
From: Barry A. Warsaw
Date: Thu, 29 Nov 1990 18:02
37 lines
2365 bytes
	Shawn> hi... I'm trying to install supercite 2.1 to work with GNUS
	Shawn> but am having difficulties.  According to the README file
	Shawn> all I should need to do is put

	|     (defun my-sc-overload-hook-func ()
	|       (require 'sc-oloads)
	|       (sc-overload-functions))
	|
	|     (setq mail-setup-hook 'my-sc-overload-hook-func)
	|     (setq news-reply-mode-hook 'my-sc-overload-hook-func)
	|     (setq mh-letter-mode-hook 'my-sc-overload-hook-func)

	Shawn> in my .emacs file and make sure the .el files are in my
	Shawn> load-path and then everything should work... right? :-(
	Shawn> Well... it doesn't work. I *did* try byte-compiling
	Shawn> everything (still no go). I *do* want to go the overload
	Shawn> route but it appears that it doesn't work <sigh>.

You don't mention exactly what is not working, but are you sure you've
set up mail-yank-hooks and autoloading correctly?  The top part of the
README describes what you need to do once the patches have been
installed, or the overloads set up. Here's the relevent excerpt:

	README> Supercite 2.1 conforms to this interface, as does VM. So,
	README> to access supercite from VM (or other packages, once
	README> overloading or patching has been completed), simply add
	README> this to your .emacs file:

	| (autoload 'sc-cite-original "supercite"  "Hookified Supercite 2.1" t)
	| (autoload 'sc-cite          "supercite"  "Interactive Supercite 2.1" t)
	| (setq mail-yank-hooks 'sc-cite-original)
	| (setq mh-yank-hooks 'sc-cite-original)    ; for mh-e users

What you describe above is only 1/2 the puzzle. Hope this helps.

-Barry
Technical Details
Message-ID: <WARSAW.90Nov29130203@warsaw.nlm.nih.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cme!durer.cme.nist.gov!warsaw
References: <SHAWN.90Nov28111528@litsun8.litsun.epfl.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,1159f0277b643ab9
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-11-29 10:02:03 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cme!durer.cme.nist.gov!warsaw
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Newsgroups: gnu.emacs.help
Subject: Re: supercite 2.1 problems
Message-ID: <WARSAW.90Nov29130203@warsaw.nlm.nih.gov>
Date: 29 Nov 90 18:02:03 GMT
References: <SHAWN.90Nov28111528@litsun8.litsun.epfl.edu>
Sender: news@cme.nist.gov
Reply-To: warsaw@nlm.nih.gov
Distribution: gnu
Organization: Century Computing, Inc.
Lines: 37
Posted: Thu Nov 29 19:02:03 1990
In-reply-to: shawn@litsun8.litsun.epfl.edu's message of 28 Nov 90 10:15:28 GMT