From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14594 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.gnus.general Subject: Group based gnus-summary-line-format ? Date: 15 Mar 1998 14:09:01 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: jari.aalto@ntc.nokia.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153760 17089 80.91.224.250 (20 Oct 2002 22:42:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:42:40 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id EAA02412 for ; Sun, 15 Mar 1998 04:15:45 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA13471 for ; Sun, 15 Mar 1998 06:10:22 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id GAN15699; Sun, 15 Mar 1998 06:45:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 15 Mar 1998 06:09:28 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id GAA04501 for ; Sun, 15 Mar 1998 06:09:17 -0600 (CST) Original-Received: (qmail 18211 invoked by uid 504); 15 Mar 1998 12:09:06 -0000 Original-Received: (qmail 18208 invoked from network); 15 Mar 1998 12:09:06 -0000 Original-Received: from axl01it.ntc.nokia.com (131.228.118.232) by claymore.vcinet.com with SMTP; 15 Mar 1998 12:09:06 -0000 Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with SMTP id OAA27202 for ; Sun, 15 Mar 1998 14:09:05 +0200 (EET) Original-Received: from pegasus.tele.nokia.fi (pegasus.ntc.nokia.com [131.228.169.148]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id OAA05901 for ; Sun, 15 Mar 1998 14:12:28 +0200 Original-Received: (from jaalto@localhost) by pegasus.tele.nokia.fi (8.7.5/8.7.1) id OAA10764; Sun, 15 Mar 1998 14:09:03 +0200 (EET) Original-To: Ding mailing list X-info: Quassia Gnus v0.37 Original-Lines: 28 X-Mailer: Quassia Gnus v0.37/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14594 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14594 I'm trying to figure out where should I redefine the default gnus-summary-line-format for selected groups: nntp, mailing listp, private mail and my work mail have different needs for gnus-summary-line-format. If I change it inside gnus-summary-generate-hook, that won't work. What's next place to look for? (defun my-gnus-summary-generate-hook () .... (when (string-match "nntp" group) (make-local-variable 'gnus-summary-line-format) (setq gnus-summary-line-format ...) ) Further, I tried to figure out how to byte compile this custom spec beforehand, so that instead of saying (setq gnus-summary-line-format ...) I would like to replace the definition with pre-byte-compiled one. The gnus-spec.el::gnus-compile is pretty hairy to read, how does it actually work? (pictures would be nice) jari