Article View: gnu.emacs.gnus
Article #621Re: Supercite 2.2 and GNUS 3.14.1 (GNUS2 mods)
From: Jussi-Pekka Mantere
Date: Mon, 25 Jan 1993 02:05
Date: Mon, 25 Jan 1993 02:05
61 lines
2388 bytes
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 "")))
Technical Details
Message-ID:
<JPM.93Jan25040512@cardhu.cs.hut.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!cs.hut.fi!jpmReferences:
<1juv1cINNm4d@life.ai.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!cs.hut.fi!jpm From: jpm@cs.hut.fi (Jussi-Pekka Mantere) Newsgroups: gnu.emacs.gnus Subject: Re: Supercite 2.2 and GNUS 3.14.1 (GNUS2 mods) Date: 25 Jan 93 02:05:12 GMT Organization: Helsinki University of Technology, Finland Lines: 61 Distribution: inet Message-ID: <JPM.93Jan25040512@cardhu.cs.hut.fi> References: <1juv1cINNm4d@life.ai.mit.edu> NNTP-Posting-Host: cardhu.cs.hut.fi In-reply-to: petrilli@hal.gnu.ai.mit.edu's message of 24 Jan 1993 20:43:24 GMT