From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63006 Path: news.gmane.org!not-for-mail From: Leon Newsgroups: gmane.emacs.gnus.general Subject: Re: Customize the location and name of .newsrc.eld Date: Sun, 23 Apr 2006 21:10:04 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145822969 11226 80.91.229.2 (23 Apr 2006 20:09:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2006 20:09:29 +0000 (UTC) Original-X-From: ding-owner+m11533@lists.math.uh.edu Sun Apr 23 22:09:28 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXktb-0000g7-DI for ding-account@gmane.org; Sun, 23 Apr 2006 22:09:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FXktV-0002tK-00; Sun, 23 Apr 2006 15:09:21 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FXkrY-0002tF-00 for ding@lists.math.uh.edu; Sun, 23 Apr 2006 15:07:20 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FXkrV-0004Vv-Ea for ding@lists.math.uh.edu; Sun, 23 Apr 2006 15:07:20 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FXkrU-0007n0-00 for ; Sun, 23 Apr 2006 22:07:16 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FXkrP-0000Ky-0I for ding@gnus.org; Sun, 23 Apr 2006 22:07:11 +0200 Original-Received: from rfg28.st-edmunds.cam.ac.uk ([131.111.223.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Apr 2006 22:07:10 +0200 Original-Received: from sdl.web by rfg28.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Apr 2006 22:07:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 62 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rfg28.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAAEAAAAAUCAMAAAAKqMsNAAAAwFBMVEUfIB4qLCk8PjxAQT9E RkNHSUZKS0lOUE1SVFFWV1VWWFVaW1lcXltfYV5kZWNpa2hsbmtub21vcW5ydHF3eXZ5e3h7fXp+ f32Agn+EhoOGiIWKjImNjouTlZKWmJWZm5icnpugop+jpaKnqaarraqwsq6ztbG4ure7vbq+wL3D xcLJy8jP0c3R09DT1dLV19TY2tfe4Nzf4d7h5ODj5eLn6ebq7Ont7+vv8e3y9PHz9fL19/T3+fb4 +/f8/vv+//wkcdDPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gIaAyMPYYdloAAAAZlJ REFUOMudVH9TgkAQxWhqGBrqSueSQM2QUgQERxKBt9//W3V3IJKZf7A33I+927ePtxwaESWrveip oD6mEW3m4LkYbr77AWAXZ/NFaDkD+3Hfi8H7IjR8PS90fPI+ALEF6JkRFrd4m10/nH1fAvBmlAxR OEx7+cCV6O10OnQuAODgfE4qACVvw7dVPaylhbVPnMDmnNFWiSiNRDult1M1+APbtses9Yf+b4Yz 7rxKEUlGdzcwTuqceiqyhq07k6eqQplcm8Bzpv15qSo/8DjP5XRlEXktM49L3AlTJjgWJtE40Cjw O7YnvLOhbjEWSwr3URSLeDwlhDK3DtKnCAh8lA8Evm40aE0tx6mciWloeKgFlI8pfe4Lk00wgFGQ WWro6t7oXWsgY1ithuo2vCmGSiSmEWNLqgHc1E1oXR0B5llbORwB8okddZIc91UVUHrYjWCeKLSl 79D6Ss/i630FkE6WLvPvgvOC/ALAn88UzWUi3BXgHyv3+kXAv7eRdgbIKHm07QkAjMJpAL6Mev6R BMJOFrpEH4AfGukf4kwTGH0AAAAASUVORK5CYII= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:8xLif0iaZqfpI/FdnyrfazkAwCY= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63006 Archived-At: Leon writes: > Adrian Aichner writes: > >> Leon writes: >> >>> Dave, >>> >>> Thanks to your suggestion, I think I'm getting close to find a >>> solution. I have set all the important groups to a level of 2. >>> >>> Is there a variable that controls when a group with a level less or >>> equal to the variable, it will be visible? >> >> Hi Leon, see >> >> gnus-group-default-list-level >> and >> gnus-activate-level >> which I set differently when at home (to see news groups) >> and at work (to not see these and my private mail folders). >> >> Explicitly listing at the desired level is still possible. >> >> Hope this helps! >> >> Adrian >> >>> >>> My idea is when it's weekday set this variable to 2 while weekend set >>> it to 5. > > Dear Adrian, > > That's exactly what I'm looking for. It works great. Thanks a lot. > > For the record: > > Put this in ~/.gnus.el will show only level 2 groups during Mon to Sorry, show group in level 2 or below. > Fri. > > ,-------- > | (if (< (string-to-number (format-time-string "%u" (current-time))) 6) > | (setq gnus-activate-level 2 > | gnus-group-default-list-level 2)) > `-------- > > Cheers, This is better in case you don't close emacs everyday. (if (< (string-to-number (format-time-string "%u" (current-time))) 6) (setq gnus-activate-level 2 gnus-group-default-list-level 2) (setq gnus-activate-level 6 gnus-group-default-list-level 5)) -- Leon