Gnus development mailing list
 help / color / mirror / Atom feed
From: palmieri@math.washington.edu (John H. Palmieri)
Subject: Re: access things like slashdot only at specified times?
Date: 15 Feb 2000 14:00:57 -0800	[thread overview]
Message-ID: <s5t66vqm8h2.fsf@goedel3.math.washington.edu> (raw)
In-Reply-To: Doug Bagley's message of "09 Feb 2000 20:12:40 -0600"

Doug,

Thanks, I like your solution.  I've implemented (a slight variant of)
it, and it works just the way I want.



Doug Bagley <doug@deja.com> writes:

> Shenghuo ZHU <zsh@cs.rochester.edu> 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?

 [snip]

> 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). 

-- 
John H. Palmieri                      
Dept of Mathematics, Box 354350    palmieri@math.washington.edu
University of Washington	   http://www.math.washington.edu/~palmieri
Seattle, WA 98195-4350



      reply	other threads:[~2000-02-15 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-09 23:27 John H. Palmieri
2000-02-09 23:51 ` Shenghuo ZHU
2000-02-10  2:12   ` Doug Bagley
2000-02-15 22:00     ` John H. Palmieri [this message]

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=s5t66vqm8h2.fsf@goedel3.math.washington.edu \
    --to=palmieri@math.washington.edu \
    /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).