From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30723 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Faster group entry for some groups? Date: Fri, 5 May 2000 16:38:12 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <200005051438.QAA07418@lucy.cs.uni-dortmund.de> References: <200005051137.NAA07020@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167219 10002 80.91.224.250 (21 Oct 2002 02:26:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:26:59 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id C3CCCD051E for ; Fri, 5 May 2000 10:41:03 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB24297; Fri, 5 May 2000 09:41:02 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 05 May 2000 09:40:15 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@[204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA16303 for ; Fri, 5 May 2000 09:40:05 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 191BCD051E for ; Fri, 5 May 2000 10:39:02 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id QAA09556; Fri, 5 May 2000 16:38:12 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id QAA26627; Fri, 5 May 2000 16:38:12 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id QAA07418; Fri, 5 May 2000 16:38:12 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Janne Rinta-Manty In-Reply-To: Janne Rinta-Manty's message of "Fri, 05 May 2000 14:16:51 GMT" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.0.90 Original-Lines: 28 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30723 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30723 Janne Rinta-Manty writes: > (add-hook 'gnus-summary-mode-hook 'jrm-fetch-old-headers-or-not) > > (defun jrm-fetch-old-headers-or-not () > (setq gnus-fetch-old-headers > (not (string-match "emacs.ding$" gnus-newsgroup-name)))) Hm. I have the following, and it doesn't work: (defun kai-gnus-summary-set-cache () (when (and gnus-newsgroup-name (stringp gnus-newsgroup-name) (string-match "^nnimap[:+]" gnus-newsgroup-name)) (make-local-variable 'gnus-use-cache) (setq gnus-use-cache 'passive)) (when (and gnus-newsgroup-name (stringp gnus-newsgroup-name) (string-match "^nntp\\+" gnus-newsgroup-name)) (make-local-variable 'gnus-fetch-old-headers) (setq gnus-fetch-old-headers nil))) (add-hook 'gnus-select-group-hook 'kai-gnus-summary-set-cache) Is the make-local-variable the problem? kai -- Beware of flying birch trees.