From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31205 Path: main.gmane.org!not-for-mail From: Dave Cohen Newsgroups: gmane.emacs.gnus.general Subject: setting group properties based on group name and regexp Date: 24 May 2000 12:33:00 -0400 Organization: webMethods Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167649 12767 80.91.224.250 (21 Oct 2002 02:34:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:34:09 +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 C838FD051F for ; Wed, 24 May 2000 15:35:30 -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 OAB27363; Wed, 24 May 2000 14:34:00 -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:33:24 -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 OAA00537 for ; Wed, 24 May 2000 14:33:14 -0500 (CDT) Original-Received: from nexus.webmethods.com (gw1.webmethods.com [208.234.160.254]) by mailhost.sclp.com (Postfix) with ESMTP id 882AED051F for ; Wed, 24 May 2000 15:33:31 -0400 (EDT) Original-Received: from DCOHEN.webmethods.com (gw1.webmethods.com [10.1.1.253] (may be forged)) by nexus.webmethods.com (8.9.3/8.9.3) with ESMTP id PAA07637 for ; Wed, 24 May 2000 15:33:25 -0400 Original-To: Ding@gnus.org Original-Lines: 21 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31205 Is it possible in my .gnus to set group properties based on the group name? I'm especially interested in maching the names against regular expressions. I'm familiar with setting group properties using 'G p', but that requires manual setting each time I create a new group. I'd like all groups matching "mail/out/*" (mail I've sent) to have a different summary mode line, showing the mail recipient instead of the sender. I'd like all groups matching "mail/*" but NOT matching "mail/in/*" (mail I've saved) to display all messages and disable expiration. I'm not worried about getting the regexps to match correctly. I'm just wondering if anyone can show me some lisp that sets properties based on regexps matching group name. Something like gnus-posting-styles, but for group properties, would be ideal. Many thanks. My apologies if this is a FAQ. -Dave