Gnus development mailing list
 help / color / mirror / Atom feed
From: steve@miranova.com (Steven L. Baur)
Subject: [sgnus-0.17] Slave Gnusii - gnus-slave-no-server
Date: 03 Dec 1995 12:43:13 -0800	[thread overview]
Message-ID: <m2n399lvz2.fsf@diana.miranova.com> (raw)
In-Reply-To: Andy's message of 03 Dec 1995 05:34:11 -0800

I've just started working with slave gnusii, and there is definitely
an entry point missing.  This patch adds gnus-slave-no-server to allow
a slave Gnus to be brought up just for Mail.

A useful function for the future might be one that immediately
integrates the slave files into the master Gnus (similar to how M-g
works now).

Slave mode has some problems right now with respect to the dribble
file.  Why do slave Gnusii need to write to the master dribble file?
You may be O.K. with a slave 19.30 emacs, but a slave 19.13 XEmacs
definitely loses right now (for good reasons).

===================================================================
RCS file: RCS/ChangeLog,v
retrieving revision 1.7
diff -u -r1.7 ChangeLog
--- 1.7	1995/12/03 19:47:21
+++ ChangeLog	1995/12/03 19:47:49
@@ -1,3 +1,8 @@
+Sun Dec  3 11:44:08 1995  Steven L. Baur  <steve@miranova.com>
+
+	* gnus.el (gnus-slave-no-server): New Function.
+	(gnus-no-server): Add optional slave parameter.
+
 Sun Dec  3 04:19:33 1995  Jens Lautenbacher  <jtl@tkm.physik.uni-karlsruhe.de>
 
 	* gnus-topic.el (gnus-topic-mode-map): Using mouse-2 to hide/show
===================================================================
RCS file: RCS/gnus.el,v
retrieving revision 1.7
diff -u -r1.7 gnus.el
--- 1.7	1995/12/03 02:19:18
+++ gnus.el	1995/12/03 19:52:40
@@ -3704,9 +3704,14 @@
    (t
     (or level gnus-group-default-list-level gnus-level-subscribed))))
   
+;;;###autoload
+(defun gnus-slave-no-server (&optional arg)
+  "Read network news as a slave, without connecting to local server"
+  (interactive "P")
+  (gnus-no-server arg t))
 
 ;;;###autoload
-(defun gnus-no-server (&optional arg)
+(defun gnus-no-server (&optional arg slave)
   "Read network news.
 If ARG is a positive number, Gnus will use that as the
 startup level.  If ARG is nil, Gnus will be started at level 2. 
@@ -3716,7 +3721,7 @@
   (interactive "P")
   (make-local-variable 'gnus-group-use-permanent-levels)
   (setq gnus-group-use-permanent-levels t)
-  (gnus (or arg (1- gnus-level-default-subscribed)) t))
+  (gnus (or arg (1- gnus-level-default-subscribed)) t slave))
 
 ;;;###autoload
 (defun gnus-slave (&optional arg)

-- 
steve@miranova.com baur


                 reply	other threads:[~1995-12-03 20:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2n399lvz2.fsf@diana.miranova.com \
    --to=steve@miranova.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).