From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12715 Path: main.gmane.org!not-for-mail From: Felix Lee Newsgroups: gmane.emacs.gnus.general Subject: Re: nnextern.. backend?? Date: Mon, 27 Oct 1997 11:55:53 -0800 Sender: flee@cygnus.com Message-ID: <199710271954.LAA24992@smtp2.teleport.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152201 5266 80.91.224.250 (20 Oct 2002 22:16:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:41 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id NAA08655 for ; Mon, 27 Oct 1997 13:02:37 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA04569 for ; Mon, 27 Oct 1997 15:03:56 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id UAA27526 for ; Mon, 27 Oct 1997 20:54:53 +0100 (MET) Original-Received: (qmail 30763 invoked by uid 504); 27 Oct 1997 19:54:51 -0000 Original-Received: (qmail 30760 invoked from network); 27 Oct 1997 19:54:51 -0000 Original-Received: from smtp2.teleport.com (192.108.254.20) by claymore.vcinet.com with SMTP; 27 Oct 1997 19:54:51 -0000 Original-Received: from cygnus.com (ip-pdx02-04.teleport.com [206.163.123.37]) by smtp2.teleport.com (8.8.7/8.7.3) with ESMTP id LAA24992; Mon, 27 Oct 1997 11:54:45 -0800 (PST) Original-To: andy.eskilsson@telelogic.se In-reply-to: Your message of 27 Oct 1997 07:50:02 +0100. Xref: main.gmane.org gmane.emacs.gnus.general:12715 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12715 > Would it be possible to have a backend that can execute an external > (to gnus) program/lisp code when getting articles and posting? if you can make your external program talk nntp protocol, you can use nntp.el by setting the server's nntp-open-connection-function to a function like this: (defvar nntp-my-program '("sloop" "-p" "-d" "-q" "bach")) (defun nntp-open-my-program (buffer) (save-excursion (set-buffer buffer) (erase-buffer)) (apply 'start-process "nntpd" buffer nntp-my-program)) (this is what I'm doing in my first try at a compressed reader protocol.) --