From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80455 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-group-get-new-news only on one level Date: Mon, 31 Oct 2011 23:16:04 +0100 Message-ID: <878vo024ez.fsf@micropit.couberia.bzh> References: <877h3u3up1.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320099452 17216 80.91.229.12 (31 Oct 2011 22:17:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 22:17:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28741@lists.math.uh.edu Mon Oct 31 23:17:27 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RL0AU-0007bT-At for ding-account@gmane.org; Mon, 31 Oct 2011 23:17:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RL09b-00017z-9L; Mon, 31 Oct 2011 17:16:27 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RL09Y-00017k-FU for ding@lists.math.uh.edu; Mon, 31 Oct 2011 17:16:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RL09X-0007nf-2G for ding@lists.math.uh.edu; Mon, 31 Oct 2011 17:16:23 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RL09U-0003oS-15 for ding@gnus.org; Mon, 31 Oct 2011 23:16:20 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RL09T-0007Jt-GJ for ding@gnus.org; Mon, 31 Oct 2011 23:16:19 +0100 Original-Received: from arennes-359-1-206-2.w2-2.abo.wanadoo.fr ([2.2.69.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 23:16:19 +0100 Original-Received: from pmlists by arennes-359-1-206-2.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 23:16:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-206-2.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:5qQOI9Y1pqs6SGDhKS0UvM5S/n8= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80455 Archived-At: 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