From: "jeff (j.d.) sparkes" <jsparkes@nortel.ca>
Subject: gnus-batch-score should run in slave mode
Date: Mon, 4 Nov 1996 10:04:00 -0500 [thread overview]
Message-ID: <5016.64948319576$1042182947@news.gmane.org> (raw)
Running gnus-batch-score in slave mode should reduce the possibilty of
collision between a running gnus and a batch mode one. I also added a
variable so your .gnus can tell if its running in batch mode.
Obviously, no one has been using gnus-batch-score since it didn't work
right. I have commented out one line since i don't know the proper
fix.
*** gnus-kill.el 1996/11/04 14:40:26 1.1
--- gnus-kill.el 1996/11/04 14:44:05
***************
*** 684,689 ****
--- 684,690 ----
(gnus-expert-user t)
(nnmail-spool-file nil)
(gnus-use-dribble-file nil)
+ (gnus-batch-mode t)
group newsrc entry
;; Disable verbose message.
gnus-novice-user gnus-large-newsgroup
***************
*** 691,706 ****
gnus-options-not-subscribe)
;; Eat all arguments.
(setq command-line-args-left nil)
! (gnus)
;; Apply kills to specified newsgroups in command line arguments.
(setq newsrc (cdr gnus-newsrc-alist))
(while (setq group (car (pop newsrc)))
(setq entry (gnus-gethash group gnus-newsrc-hashtb))
! (when (and (<= (nth 1 (car newsrc)) gnus-level-subscribed)
(and (car entry)
(or (eq (car entry) t)
(not (zerop (car entry)))))
! (eq (gnus-matches-options-n group) 'subscribe))
(gnus-summary-read-group group nil t nil t)
(when (eq (current-buffer) (get-buffer gnus-summary-buffer))
(gnus-summary-exit))))
--- 692,708 ----
gnus-options-not-subscribe)
;; Eat all arguments.
(setq command-line-args-left nil)
! (gnus-slave)
;; Apply kills to specified newsgroups in command line arguments.
(setq newsrc (cdr gnus-newsrc-alist))
(while (setq group (car (pop newsrc)))
(setq entry (gnus-gethash group gnus-newsrc-hashtb))
! (when (and (<= (gnus-info-level (car newsrc)) gnus-level-subscribed)
(and (car entry)
(or (eq (car entry) t)
(not (zerop (car entry)))))
! ;;(eq (gnus-matches-options-n group) 'subscribe)
! )
(gnus-summary-read-group group nil t nil t)
(when (eq (current-buffer) (get-buffer gnus-summary-buffer))
(gnus-summary-exit))))
*** gnus.el 1996/11/04 14:43:10 1.1
--- gnus.el 1996/11/04 14:43:53
***************
*** 758,763 ****
--- 758,766 ----
(defvar gnus-slave nil
"Whether this Gnus is a slave or not.")
+ (defvar gnus-batch-mode nil
+ "Whether this Gnus is running in batch mode or not.")
+
(defvar gnus-variable-list
'(gnus-newsrc-options gnus-newsrc-options-n
gnus-newsrc-last-checked-date
--
Jeff Sparkes jsparkes@nortel.ca Nortel, Ottawa (613)765-2503
"Egad Brain, you astound me!" "I'm afraid I always will, Pinky."
--
Jeff Sparkes
jsparkes@nortel.ca Nortel, Ottawa, Ontario, Canada 613-765-2503
next reply other threads:[~1996-11-04 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-04 15:04 jeff (j.d.) sparkes [this message]
[not found] <"29270 Mon Nov 4 10:05:31 1996"@bnr.ca>
1996-11-04 20:02 ` Sten Drescher
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='5016.64948319576$1042182947@news.gmane.org' \
--to=jsparkes@nortel.ca \
/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).