🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Chris Petrilli Sun, 24 Jan 1993 20:43
Supercite 2.2 and GNUS 3.14.1 (GNUS2 mods)
#620
Author: Chris Petrilli
Date: Sun, 24 Jan 1993 20:43
43 lines
2267 bytes
Well, I have finally gotten GNUS2 up and running, and it's on top of the
original 3.14.1 code (sdb... that code is FAST ;-)

Anyway, I'm running Supercite 2.2 and I want to use it to do my
"yanking" in GNUS when I followup to a message, but it doesn't seem to
work.  I placed the code that they suggest in the manual into my
.emacsrc.el file and it still doesn't work.  I even manually ran the
(sc-overload-functions) function and it still gives me the default
"yank" format, which is not what I want.  Here's what I have for my
supercite and GNUS stuff:


;;; SuperCite 2.2
   (autoload 'sc-cite-original "supercite" "Hooked Supercite 2.2" t)
   (autoload 'sc-cite "supercite" "Interactive Supercite 2.2" t)
   (setq mh-yank-hooks 'sc-cite-original)
   (defun my-sc-overload-hook ()
     (require 'sc-oloads)
     (sc-overload-functions))
   (setq news-reply-mode-hook 'my-sc-overload-hook)
   (setq mail-setup-hook      'my-sc-overload-hook)


;;; GNUS2
   (autoload 'gnus2 "gnus2" "Read network news." t)
   (autoload 'gnus-post "gnuspost2" "Post new news." t)
   (setq gnus-nntp-server "emx.cc.utexas.edu")
   (setq gnus-nntp-service "nntp")
   (setq gnus-mail-reply-method
         (function gnus-mail-reply-using-mhe))
   (setq gnus-mail-other-window-method
         (function gnus-mail-other-window-using-mhe))
   (setq gnus-default-article-saver
         (function gnus-Subject-save-in-folder))

note that the MH stuff works fine, but it's the Supercite stuff that
seems to be broken.

Chris
-- 
| Chris Petrilli                                             ____
| petrilli@gnu.ai.mit.edu             ``Quayle is a bozoe.'' \  /
| I don't even speak for myself.                              \/
Re: Supercite 2.2 and GNUS 3.14.1 (GNUS2 mods)
#621
Author: Jussi-Pekka Mantere
Date: Mon, 25 Jan 1993 02:05
61 lines
2388 bytes
Chris Petrilli <petrilli@hal.gnu.ai.mit.edu> writes:

   Anyway, I'm running Supercite 2.2 and I want to use it to do my
   "yanking" in GNUS when I followup to a message, but it doesn't seem to
   work.

Maybe this will help. If there is another way of hooking into both
post and reply modes, please let me know.

Oh, you'll want to use something like:

   (setq gnus-News-reply-hook 'my-sc-overload-hook)

Cheers,

Jussi-Pekka Mantere

-- clip clip --
*** gnus2.el.orig	Mon Jan 18 02:00:14 1993
--- gnus2.el	Mon Jan 25 03:50:58 1993
***************
*** 489,494 ****
--- 489,504 ----
    "*A hook called before posting an article.
  If you'd like to run a special encoding program, use this hook.")
  
+ (defvar gnus-Post-news-hook nil
+   "*A hook called before editing an article to be posted.
+ If you'd like to modify the buffer (headers or body) before you enter
+ any new text, use this hook.")
+ 
+ (defvar gnus-News-reply-hook nil
+   "*A hook called before editing the reply article.
+ If you'd like to modify the buffer (headers or body) before you enter
+ any new text, use this hook.")
+ 
  (defvar gnus-Exit-group-hook nil
    "*A hook called when exiting (not quitting) Subject mode.
  If your machine is so slow that exiting from Subject mode takes very
*** gnuspost2.el.orig	Mon Jan 18 02:13:37 1993
--- gnuspost2.el	Mon Jan 18 04:50:29 1993
***************
*** 202,207 ****
--- 202,208 ----
  	    ;; Move point to Newsgroup: field.
  	    (goto-char (point-min))
  	    (end-of-line))
+ 	  (run-hooks 'gnus-Post-news-hook)
  	  ))
      (message "")))
  
***************
*** 299,304 ****
--- 300,306 ----
  	      (goto-char (point-max))
  	      (news-reply-yank-original nil)
  	      (goto-char last)))
+ 	(run-hooks 'gnus-News-reply-hook)
  	)
      (message "")))
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads