From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24176 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: mail archival idea/feature request Date: 12 Jul 1999 11:24:04 -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 1035161787 7268 80.91.224.250 (21 Oct 2002 00:56:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:56:27 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA02524 for ; Mon, 12 Jul 1999 11:25:19 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB13376; Mon, 12 Jul 1999 10:25:06 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 12 Jul 1999 10:25:53 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA18938 for ; Mon, 12 Jul 1999 10:25:43 -0500 (CDT) Original-Received: from beaver.jprc.com (BEAVER.JPRC.COM [207.86.147.217]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA02500 for ; Mon, 12 Jul 1999 11:24:39 -0400 (EDT) Original-Received: (from karl@localhost) by beaver.jprc.com (8.8.7/8.8.7) id LAA01313; Mon, 12 Jul 1999 11:24:05 -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: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "10 Jul 1999 23:23:02 +0200" Original-Lines: 30 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/21.2 (Chiyoda) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24176 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24176 Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > You can even add stuff to gnus-summary-mode-hook which only puts in > the date when in nnir groups. Yup -- I do this for gnus-summary-line-format as well as gnus-summary-mode-line-format. (setq gnus-select-group-hook (function (lambda () ;; Ignore From: in summary for certain groups. (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:" 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"))) ;; Put full newsgroup name in summary mode line for nnir. (setq gnus-summary-mode-line-format (if (string-match "nnir:" gnus-newsgroup-name) "Gnus: %G [%A] %Z" "Gnus: %g [%A] %Z")) ))) See "[%d]", plus "%G" in the mode line, for nnir groups. The latter is needed due to the fact that %g's provision of a "shortish" group name makes the resulting nnir ephemeral group name completely nonsensical, so I want the complete, long name there.