From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63005 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 20:53:46 +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 1145821915 8122 80.91.229.2 (23 Apr 2006 19:51:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2006 19:51:55 +0000 (UTC) Original-X-From: ding-owner+m11532@lists.math.uh.edu Sun Apr 23 21:51:54 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 1FXkcW-00063i-VH for ding-account@gmane.org; Sun, 23 Apr 2006 21:51:49 +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 1FXkcQ-0002or-00; Sun, 23 Apr 2006 14:51:42 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FXkbn-0002om-00 for ding@lists.math.uh.edu; Sun, 23 Apr 2006 14:51:03 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FXkbk-0004RX-Ia for ding@lists.math.uh.edu; Sun, 23 Apr 2006 14:51:03 -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 1FXkbj-0007e3-00 for ; Sun, 23 Apr 2006 21:50:59 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FXkbd-0005tq-8D for ding@gnus.org; Sun, 23 Apr 2006 21:50:53 +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 21:50:53 +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 21:50:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 48 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rfg28.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAAEAAAAASCAMAAADc8SgQAAAAwFBMVEUCBQEJDAgTFRIaHBof IB4jJCIrLCotLywyNDE3OTY8Pjs/QD5FRkRJS0hRU1BWV1VbXVpiZGFnaWZrbWptb2xvcW52eHV5 enh+gH2Bg4CHiYaLjYqNj4yRk5CXmZaanJmdn5ygop+mqKWqrKmsrqutr6yxs7CztbK4ure7vbq/ wb7DxcLHycbJy8jNz8vQ0s/T1dLW2NXc3tvf4d7h5ODl5+Po6ufr7enu8O3x8/Dz9fL1+PT4+vf6 /Pn7/fr+//wGuxWtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gIaAyMw1+FInQAAAXxJ REFUOMulk+tygjAQhalFWodYvIwyiNUKA95QVLwQhLPv/1ZNAKWX8Yd6ZsLAZvdL9iQo9KSUx0v3 0wV/BjDSzZY6exxw0BJgrqaPApBtQeDK6eEdAGJ4DQhAZjFmWVZf798LmTUi6QGgmQCysHtfeWa1 OXITj8pMYrh9Vz03vmQbEuArMeETSZBPpIdKvMg9B2faL2NKgl3R/zZIuFZnjDW5bKGnrVfmROLk 5LhWqVmEbEcfu8u3+XD14YrvjeEsWRrlyj3QDN/To6u96VVJmkdO40AJAVU4ZQqfInWDhcpRSABi ZQ4MQYusPJ9KRSDhtgEclROBjQhGK8+hfMgdeMICSpGaRf6iU8kuiUzwnXdQ/BJleJ38/pnQ0yUJ g8JDbOxKbnlgtZDQ7Ql/GGzUxZnR7ngBxEHdCMP1rKOD/rVQhlY18aL5BMuczmncTmJnkF4AO9/3 PN9z3e3tW3uciodzFm58LcUCwWgS4drC39Vu3XsqbMu7/Zn8DYna+irHnqnQAAAAAElFTkSuQmCC User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:9VP1zpBqYsUHxKrJlZvW76piXu0= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63005 Archived-At: 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 Fri. ,-------- | (if (< (string-to-number (format-time-string "%u" (current-time))) 6) | (setq gnus-activate-level 2 | gnus-group-default-list-level 2)) `-------- Cheers, -- Leon