From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70628 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Inactive groups got unshown by `l' Date: Tue, 07 Sep 2010 16:09:11 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1283843414 18069 80.91.229.12 (7 Sep 2010 07:10:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 07:10:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19001@lists.math.uh.edu Tue Sep 07 09:10:13 2010 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 1OssJn-0006wW-Kc for ding-account@gmane.org; Tue, 07 Sep 2010 09:10:11 +0200 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 1OssJT-0007P2-Bk; Tue, 07 Sep 2010 02:09:51 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OssJQ-0007Ou-6w for ding@lists.math.uh.edu; Tue, 07 Sep 2010 02:09:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OssJP-00014W-41 for ding@lists.math.uh.edu; Tue, 07 Sep 2010 02:09:48 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OssJO-0006jE-00 for ; Tue, 07 Sep 2010 09:09:46 +0200 Original-Received: from localhost ([127.0.0.1]:49637) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OssIs-0001n6-Ow for ding@gnus.org; Tue, 07 Sep 2010 02:09:15 -0500 X-Hashcash: 1:20:100907:ding@gnus.org::2tL2BWtU8MG0rQZ+:00000S46 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:hgtgqTNP6YcwtGHJ27gZmKrM83I= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70628 Archived-At: --=-=-= Katsumi Yamaoka wrote: > Katsumi Yamaoka wrote: >> Katsumi Yamaoka wrote: >> [...] >>> I haven't yet investigated what changed the behavior. But which >>> do you think reasonable? >>> 1. `l' shows only active groups of which the levels are less than >>> or equal to `gnus-group-default-list-level'. >>> 2. `l' shows active and inactive groups of which the levels are >>> less than or equal to `gnus-group-default-list-level'. >>> If the former is adopted, only `L' is the means to recall what >>> inactive groups a user subscribes to are. A user cannot browse >>> inactive servers (i.e., servers that have never been opened) to >>> know what groups are there because they are not listed in the >>> server buffer. >>> I can live with `L', though. ;-) >> The patch below seems to achieve `2', that is the previous >> behavior that Gnus has been going for years. When I start Gnus >> with the prefix argument 2, the inactive level 4 groups don't >> appear in the group buffer, but `l' shows them with `*'s as >> numbers of those groups. > Please ignore it, too. Sorry. > By the patch, `l' doesn't show groups that have never been read > if the server is opened for the other groups that the server > provides. (Even if it worked, `gnus-group-method' used in the > patch should have been replaced with `gnus-group-name-to-method'.) > Sigh. This may be the third time lucky: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- gnus-group.el~ 2010-09-05 22:46:18 +0000 +++ gnus-group.el 2010-09-07 07:03:23 +0000 @@ -1350,7 +1350,7 @@ group (gnus-info-group info) params (gnus-info-params info) newsrc (cdr newsrc) - unread (gnus-group-unread group)) + unread (or (gnus-group-unread group) t)) (when not-in-list (setq not-in-list (delete group not-in-list))) (when (gnus-group-prepare-logic --=-=-=--