From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70624 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 14:48:03 +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 1283838580 2588 80.91.229.12 (7 Sep 2010 05:49:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 05:49:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18998@lists.math.uh.edu Tue Sep 07 07:49:39 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 1Osr3r-0005pv-95 for ding-account@gmane.org; Tue, 07 Sep 2010 07:49:39 +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 1Osr39-0006zy-Hc; Tue, 07 Sep 2010 00:48:55 -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 1Osr36-0006zd-Hg for ding@lists.math.uh.edu; Tue, 07 Sep 2010 00:48:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Osr2t-0008IR-E5 for ding@lists.math.uh.edu; Tue, 07 Sep 2010 00:48:49 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Osr2s-0005m2-00 for ; Tue, 07 Sep 2010 07:48:38 +0200 Original-Received: from localhost ([127.0.0.1]:39371) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1Osr2J-00019U-E3 for ding@gnus.org; Tue, 07 Sep 2010 00:48:03 -0500 X-Hashcash: 1:20:100907:ding@gnus.org::c84MP0OzDG3bnenu:00000YB4 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:8LdW5xQ8OiZvXKP4ESirCd+nWBU= 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:70624 Archived-At: --=-=-= 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. --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- gnus-group.el~ 2010-09-05 22:46:18 +0000 +++ gnus-group.el 2010-09-07 05:46:35 +0000 @@ -1350,7 +1350,8 @@ group (gnus-info-group info) params (gnus-info-params info) newsrc (cdr newsrc) - unread (gnus-group-unread group)) + unread (or (gnus-group-unread group) + (not (gnus-server-opened (gnus-group-method group))))) (when not-in-list (setq not-in-list (delete group not-in-list))) (when (gnus-group-prepare-logic --=-=-=--