From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Faster group entry for some groups?
Date: Fri, 5 May 2000 16:38:12 +0200 [thread overview]
Message-ID: <200005051438.QAA07418@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Janne Rinta-Manty's message of "Fri, 05 May 2000 14:16:51 GMT"
Janne Rinta-Manty <jrm@iki.fi> 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.
next prev parent reply other threads:[~2000-05-05 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-05 11:37 Kai Großjohann
2000-05-05 14:16 ` Janne Rinta-Manty
2000-05-05 14:38 ` Kai Großjohann [this message]
2000-05-05 15:41 ` Janne Rinta-Manty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200005051438.QAA07418@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).