From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36533 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-enter-digest-group: How to set the summary line format? Date: 31 May 2001 23:59:48 +0200 Organization: Church of GNU Emacs Message-ID: References: Reply-To: Christoph Conrad NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172102 9089 80.91.224.250 (21 Oct 2002 03:48:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:48:22 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 6051 invoked from network); 31 May 2001 22:02:39 -0000 Original-Received: from pec-119-129.tnt9.me2.uunet.de (HELO mutzel.brumpf.de) (149.225.119.129) by gnus.org with SMTP; 31 May 2001 22:02:39 -0000 Original-Received: (from cc@localhost) by mutzel.brumpf.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA21524; Thu, 31 May 2001 23:59:48 +0200 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x1B488DEA In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "31 May 2001 10:28:39 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 27 Xref: main.gmane.org gmane.emacs.gnus.general:36533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36533 Hallo Kai, du schreibst: > You can add something to gnus-summary-generate-hook that checks > the group name and frobs gnus-summary-line-format accordingly. I thought about it; someone has to re-establish the global value of gnus-summary-line-format when using this approach. In the end i came up with another solution: ;; change summary line format in digests (defadvice gnus-summary-read-group ( around gnus-summary-read-group-digest-summary-line act ) (let ( (gnus-summary-line-format gnus-summary-line-format) ) (when (and gnus-newsgroup-name (string-match "comp.risks$" gnus-newsgroup-name)) (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n")) ad-do-it)) Best regards, cu, -cc- -- => GNU Emacs Webring @ <= Look Ma, this man can twist his fingers as if they were made of rubber, isn't that amazing? -- Not really, he's been using emacs for years...!