Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-group-get-new-news only on one level
@ 2011-10-24 22:12 Peter Münster
  2011-10-25  2:03 ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2011-10-24 22:12 UTC (permalink / raw)
  To: ding

Hello,

I would like to get new news only for one level.
How is this possible?

(gnus-group-get-new-news 3) does not work: lower levels are updated too.

TIA for any help,
-- 
           Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnus-group-get-new-news only on one level
  2011-10-24 22:12 gnus-group-get-new-news only on one level Peter Münster
@ 2011-10-25  2:03 ` Katsumi Yamaoka
  2011-10-31 22:16   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2011-10-25  2:03 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Peter Münster wrote:
> I would like to get new news only for one level.
> How is this possible?

> (gnus-group-get-new-news 3) does not work: lower levels are updated too.

Here's a quick hack.  Please don't beat me even if it breaks your
newsrc and marks! ;-p


[-- Attachment #2: Type: application/emacs-lisp, Size: 429 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnus-group-get-new-news only on one level
  2011-10-25  2:03 ` Katsumi Yamaoka
@ 2011-10-31 22:16   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2011-10-31 22:16 UTC (permalink / raw)
  To: ding

On Tue, Oct 25 2011, Katsumi Yamaoka wrote:

> Peter Münster wrote:
>> I would like to get new news only for one level.
>> How is this possible?
>
>> (gnus-group-get-new-news 3) does not work: lower levels are updated too.
>
> Here's a quick hack.  Please don't beat me even if it breaks your
> newsrc and marks! ;-p
>
> 			   (setcar (cdr info) gnus-level-killed))))
> 		     gnus-newsrc-alist)

Thanks! But I'm too anxious to apply this advice (hacking
gnus-newsrc-alist seems dangerous to me...).
And since you don't allow me to beat you in case of breakage, I've
written my own (hopefully safe) patch ;-)

I'll send it to the list, perhaps you could integrate it into gnus.

-- 
           Peter




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-31 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-24 22:12 gnus-group-get-new-news only on one level Peter Münster
2011-10-25  2:03 ` Katsumi Yamaoka
2011-10-31 22:16   ` Peter Münster

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