home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3845 < prev    next >
Encoding:
Text File  |  1992-08-25  |  4.5 KB  |  113 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!pipex!demon!edscom.demon.co.uk!kevin
  3. From: kevin@edscom.demon.co.uk (Kevin Broadey)
  4. Subject: Help required with SuperCite 2.0
  5. Message-ID: <KEVIN.92Aug25171305@buffalobill.edscom.demon.co.uk>
  6. Sender: kevin@edscom.demon.co.uk (Kevin Broadey)
  7. Organization: EDS-Scicon, Milton Keynes, UK
  8. Distribution: gnu
  9. Date: Tue, 25 Aug 1992 17:13:05 GMT
  10. Lines: 101
  11.  
  12.  
  13. First of all, I know that SuperCite is now at version 2.1, but when my
  14. sysop tried to download it from Imperial College yesterday he could only
  15. find version 2.0.  (If anyone from IC is out there, where is 2.1?)
  16.  
  17. Okay, on to the problems...
  18.  
  19. 1) Electric references don't pop up when expected
  20. =================================================
  21.  
  22. I've got `sc-electric-references-p' set to `t' and `mail-yank-hooks' to
  23. `sc-cite-original', but the only time I get queried about which header I
  24. want is when I do C-u C-c C-r (`sc-insert-reference' with a prefix arg).
  25.  
  26. `sc-describe' leads me to think that I should get queried *whenever* a
  27. header is requested if `sc-electric-references-p' is `t'.  In
  28. particular, whenever `mail-yank-original' is called (which happens
  29. pretty much every time a message or article is yanked).
  30.  
  31. Is the documentation wrong, have I not understood it, or what?
  32.  
  33.  
  34. 2) Two headers (references) when posting follow-up articles
  35. ===========================================================
  36.  
  37. When I post a follow-up article from GNUS (3.14.1), either using `F'
  38. (gnus-Subject-post-reply-with-original) in the *Subject* buffer, or 'f'
  39. (gnus-Subject-post-reply) in the *Subject* buffer followed by C-c C-y
  40. (news-reply-yank-original) in the *post-news* buffer, I get 2 header
  41. lines - the one defined by `news-reply-header-hook' followed by the one
  42. defined by `sc-preferred-header-style'.
  43.  
  44. The way I've got round this is by putting the following in my .emacs:-
  45.  
  46.     ;; For news reply headers, use `sc-header-attributed-writes'.
  47.     ;; Need to turn off `news-reply-header-hook' or we will get the
  48.     ;; original "In article <blah> <so-and-so> said:" line too.
  49.     (setq news-reply-header-hook nil)
  50.     (setq news-reply-mode-hook
  51.       (function (lambda ()
  52.               (make-local-variable 'sc-preferred-header-style)
  53.               (setq sc-preferred-header-style 5))))
  54.  
  55. although the following has the same effect:-
  56.  
  57.     (setq news-reply-header-hook 'sc-header-attributed-writes)
  58.     (setq news-reply-mode-hook
  59.       (function (lambda ()
  60.               (make-local-variable 'sc-preferred-header-style)
  61.               (setq sc-preferred-header-style 0))))
  62.  
  63. I expect that this is something I'll have to live with, because after a
  64. lengthy grot through the code (thank god for etags!) I discovered that
  65. `news-reply-yank-original' calls `mail-yank-original' to do its dirty
  66. work, which calls `sc-cite-original', which calls `sc-cite', which calls
  67. `sc-insert-reference' to insert `sc-preferred-header-style'!
  68.  
  69. Are things any better in 2.1?  Is there a better way for me to get only
  70. one header?  My main complaint is that there was nothing in the README
  71. file about this.  I can't be the first person to have come across it
  72. (can I?).
  73.  
  74.  
  75. 3) Can I get different headers for mail replies to mail and news?
  76. ================================================================
  77.  
  78. I'd like to be able to *automatically* get different headers for replies
  79. to mail and news.  I tried to be clever by getting
  80. `gnus-Article-prepare-hook' to define `mail-setup-hook' as a local
  81. variable which set `sc-preferred-header-style' to the value I wanted.
  82. Trouble is, when `mail' is called to do the reply, it calls `mail-mode'
  83. to set up the buffer, and the first think it does is call
  84. `kill-all-local-variables', so I lose my local `mail-setup-hook' before
  85. it's had a chance to be run!
  86.  
  87. Anyone got any ideas?
  88.  
  89.  
  90. 4) "supercite" mail address didn't work
  91. =======================================
  92.  
  93. I tried mailing to "supercite@cme.nist.gov" but the Mail Daemon
  94. <mmdf@gate.demon.co.uk> returned the message with:-
  95.  
  96.     Your message could not be delivered to
  97. 'supercite@cme.nist.gov (host: cme.nist.gov) (queue: smtpns)' for the following
  98. reason:  ' <supercite@cme.nist.gov>... User unknown'
  99.  
  100. Any ideas?  I'm still a bit green about net addresses, so could it be
  101. that there is a subtle difference between Internet and ARPAnet?
  102.  
  103.  
  104. Thanks in advance for any help received.
  105.  
  106. Please e-mail responses - I'll post a summary (with appropriate
  107. citation!) in a week or so.
  108. --
  109. Kevin Broadey <kbroadey@edscom.demon.co.uk>
  110. EDS-Scicon, Wavendon Tower, Wavendon, Milton Keynes, MK17 8LX, England.
  111. Phone: +44 908 284198 (direct) or +44 908 585858 ext 4198
  112. These opinions are mine: others available on request.
  113.