From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29156 Path: main.gmane.org!not-for-mail From: Doug Bagley Newsgroups: gmane.emacs.gnus.general Subject: Re: access things like slashdot only at specified times? Date: 09 Feb 2000 20:12:40 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nzotalytl.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165876 1175 80.91.224.250 (21 Oct 2002 02:04:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:04:36 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id C5FCAD051F for ; Wed, 9 Feb 2000 21:14:13 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB21603; Wed, 9 Feb 2000 20:13:58 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Feb 2000 20:12:53 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA20694 for ; Wed, 9 Feb 2000 20:12:43 -0600 (CST) Original-Received: from mail.deja.com (mail.deja.com [205.238.143.34]) by mailhost.sclp.com (Postfix) with ESMTP id 72678D051E for ; Wed, 9 Feb 2000 21:12:45 -0500 (EST) Original-Received: from yow.dejanews.com (yow.dejanews.com [205.238.143.191]) by mail.deja.com (8.8.7/8.8.5) with ESMTP id UAA27929 for ; Wed, 9 Feb 2000 20:12:39 -0600 Original-Received: (doug@localhost) by yow.dejanews.com (8.9.3/8.6.12) id UAA02404; Wed, 9 Feb 2000 20:12:40 -0600 Original-To: ding@gnus.org X-Face: "|NaWfYJ-]P="T#?R.9}QgGuFXUd@3vi[.E2q-;"NV3+k_y@zreL2w^ts0XPXt t9^9{uQ@.cu2GgUgK9@HXC\a}Rtah}0'eT~>or7[~Hd?;!\Bpo#"3w>0a0ft-MvvZ X-Disclaimer: I am solely responsible for this message. In-Reply-To: Shenghuo ZHU's message of "09 Feb 2000 18:51:18 -0500" Original-Lines: 44 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Biscayne) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29156 Shenghuo ZHU writes: > John> in gnus-secondary-select-methods to be time-dependent. As an > John> alternative, I wouldn't mind if gnus only checked nnslashdot once a > John> day. I want the same to happen with one of my mail sources (a pop > John> server that is down a lot and that I don't get a lot of mail from, so > John> I would be happy to just check it once a day). > > John> Has anyone done anything like this already? > > You can use agent to cover nnslashdot, put `:plugged t' in those mail > sources which need to be checked regularly and set > gnus-agent-send-mail-function to message-send-mail-with-sendmail. > > Between 10AM to 5PM, you can run gnus unplugged. Otherwise, plug it. I have a different approach. I only want nnslashdot to update when I want to read it. Normally, when I press "g", I want everything but slashdot to update. So here's what I did: Instead of the recommended: (setq gnus-secondary-select-methods '((nnslashdot ""))) I did this: - created a Slashdot topic - customized the topic to subscribe to groups with nnslashdot in the name - created the following lisp for my gnus: (define-key gnus-group-mode-map "\M-s" 'kof:gnus-update-slashdot) (defun kof:gnus-update-slashdot () (interactive) (let* ((gnus-secondary-select-methods '((nnslashdot "")))) (gnus-group-get-new-news) (gnus-group-find-new-groups))) Now, in the Group buffer, I just press M-s to update the slashdot groups if I feel like reading slashdot (ain't all that often sometimes). Cheers, Doug