From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31206 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: setting group properties based on group name and regexp Date: 24 May 2000 15:45:25 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167650 12768 80.91.224.250 (21 Oct 2002 02:34:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:34:10 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id 1EF48D051F for ; Wed, 24 May 2000 15:46:03 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB28643; Wed, 24 May 2000 14:45:48 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 May 2000 14:45:13 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA00675 for ; Wed, 24 May 2000 14:45:03 -0500 (CDT) Original-Received: from mesquite.charcoal.com (MESQUITE.SLIP.CS.CMU.EDU [128.2.207.11]) by mailhost.sclp.com (Postfix) with ESMTP id B6F2CD051F for ; Wed, 24 May 2000 15:45:23 -0400 (EDT) Original-Received: (from karl@localhost) by mesquite.charcoal.com (8.9.3/8.9.3) id PAA17732; Wed, 24 May 2000 15:45:25 -0400 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu In-Reply-To: Dave Cohen's message of "24 May 2000 12:33:00 -0400" Original-Lines: 23 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Iris) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31206 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31206 Dave Cohen writes: > Is it possible in my .gnus to set group properties based on the group > name? This is (part of) what I use. (setq gnus-select-group-hook (function (lambda () (cond ((string-match "clari." gnus-newsgroup-name) (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-6,6n%]%) %s\n")) ((string-match "comp.sources" gnus-newsgroup-name) (setq gnus-summary-line-format "%U%R%z%I%(%[%4L%]%) %s\n")) ((string-match "nnir:\\|nnml:[alpu]" gnus-newsgroup-name) (setq gnus-summary-line-format "%U%R%z %d %I%(%[%4L: %-20,20f%]%) %s\n")) (t (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"))) (setq gnus-summary-mode-line-format (if (string-match "nnir:" gnus-newsgroup-name) "Gnus: %G [%A] %Z" "Gnus: %g [%A] %Z")) ))) --karl