From: kevin@edscom.demon.co.uk (Kevin Broadey)
Subject: Help required with SuperCite 2.0
Organization: EDS-Scicon, Milton Keynes, UK
Distribution: gnu
Date: Tue, 25 Aug 1992 17:13:05 GMT


First of all, I know that SuperCite is now at version 2.1, but when my
sysop tried to download it from Imperial College yesterday he could only
find version 2.0.  (If anyone from IC is out there, where is 2.1?)

Okay, on to the problems...

1) Electric references don't pop up when expected
=================================================

I've got `sc-electric-references-p' set to `t' and `mail-yank-hooks' to
`sc-cite-original', but the only time I get queried about which header I
want is when I do C-u C-c C-r (`sc-insert-reference' with a prefix arg).

`sc-describe' leads me to think that I should get queried *whenever* a
header is requested if `sc-electric-references-p' is `t'.  In
particular, whenever `mail-yank-original' is called (which happens
pretty much every time a message or article is yanked).

Is the documentation wrong, have I not understood it, or what?


2) Two headers (references) when posting follow-up articles
===========================================================

When I post a follow-up article from GNUS (3.14.1), either using `F'
(gnus-Subject-post-reply-with-original) in the *Subject* buffer, or 'f'
(gnus-Subject-post-reply) in the *Subject* buffer followed by C-c C-y
(news-reply-yank-original) in the *post-news* buffer, I get 2 header
lines - the one defined by `news-reply-header-hook' followed by the one
defined by `sc-preferred-header-style'.

The way I've got round this is by putting the following in my .emacs:-

    ;; For news reply headers, use `sc-header-attributed-writes'.
    ;; Need to turn off `news-reply-header-hook' or we will get the
    ;; original "In article <blah> <so-and-so> said:" line too.
    (setq news-reply-header-hook nil)
    (setq news-reply-mode-hook
	  (function (lambda ()
		      (make-local-variable 'sc-preferred-header-style)
		      (setq sc-preferred-header-style 5))))

although the following has the same effect:-

    (setq news-reply-header-hook 'sc-header-attributed-writes)
    (setq news-reply-mode-hook
	  (function (lambda ()
		      (make-local-variable 'sc-preferred-header-style)
		      (setq sc-preferred-header-style 0))))

I expect that this is something I'll have to live with, because after a
lengthy grot through the code (thank god for etags!) I discovered that
`news-reply-yank-original' calls `mail-yank-original' to do its dirty
work, which calls `sc-cite-original', which calls `sc-cite', which calls
`sc-insert-reference' to insert `sc-preferred-header-style'!

Are things any better in 2.1?  Is there a better way for me to get only
one header?  My main complaint is that there was nothing in the README
file about this.  I can't be the first person to have come across it
(can I?).


3) Can I get different headers for mail replies to mail and news?
================================================================

I'd like to be able to *automatically* get different headers for replies
to mail and news.  I tried to be clever by getting
`gnus-Article-prepare-hook' to define `mail-setup-hook' as a local
variable which set `sc-preferred-header-style' to the value I wanted.
Trouble is, when `mail' is called to do the reply, it calls `mail-mode'
to set up the buffer, and the first think it does is call
`kill-all-local-variables', so I lose my local `mail-setup-hook' before
it's had a chance to be run!

Anyone got any ideas?


4) "supercite" mail address didn't work
=======================================

I tried mailing to "supercite@cme.nist.gov" but the Mail Daemon
<mmdf@gate.demon.co.uk> returned the message with:-

    Your message could not be delivered to
'supercite@cme.nist.gov (host: cme.nist.gov) (queue: smtpns)' for the following
reason:  ' <supercite@cme.nist.gov>... User unknown'

Any ideas?  I'm still a bit green about net addresses, so could it be
that there is a subtle difference between Internet and ARPAnet?


Thanks in advance for any help received.

Please e-mail responses - I'll post a summary (with appropriate
citation!) in a week or so.
--
Kevin Broadey <kbroadey@edscom.demon.co.uk>
EDS-Scicon, Wavendon Tower, Wavendon, Milton Keynes, MK17 8LX, England.
Phone: +44 908 284198 (direct) or +44 908 585858 ext 4198
These opinions are mine: others available on request.