From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27112 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: Including cached messages automatically? Date: 20 Nov 1999 23:42:05 +0100 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035164197 22942 80.91.224.250 (21 Oct 2002 01:36:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:36:37 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA24823 for ; Sat, 20 Nov 1999 17:43:03 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB00804; Sat, 20 Nov 1999 16:43:01 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 20 Nov 1999 16:43:15 -0600 (CST) 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 QAA25120 for ; Sat, 20 Nov 1999 16:43:05 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA24806 for ; Sat, 20 Nov 1999 17:42:37 -0500 (EST) 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 XAA10168 for ; Sat, 20 Nov 1999 23:42:06 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id XAA13077; Sat, 20 Nov 1999 23:42:05 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian/GNU) id XAA25326; Sat, 20 Nov 1999 23:42:05 +0100 Original-To: ding@gnus.org In-Reply-To: Simon Josefsson's message of "19 Nov 1999 23:57:52 +0100" Original-Lines: 36 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.4.90 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27112 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27112 Simon Josefsson writes: > Kai Großjohann writes: > > > Hence, I do (add-hook 'gnus-summary-generate-hook > > 'gnus-summary-limit-include-cached), but this has strange effects. > > `g-s-limit-include-cached' require a summary buffer to work, and the > summary buffer hasn't been generated yet when that hook is called. > > (add-hook 'gnus-summary-prepared-hook 'gnus-summary-limit-include-cached) Hm. I can't reproduce the strange `doubled message' behavior. I think it might have to do with messages which are both ticked and cached -- maybe that's why they are included twice. I'll check soon. But the above line has a different problem: when entering a group with SPC (auto-select-first is on), and if there are cached messages before the first unread one, then point will be on the wrong message. As an example, suppose that there are some cached messages, then two old (ancient) ones, and then comes the first unread message. Then the first unread message will be shown but point will be on the third line in the summary buffer. (Apparently because it would have been on the third line if it weren't for the cached messages.) Entering a group with RET, then using `.' to select the first message, works fine. PS: Why do I have messages which are both ticked and cached? Well, that's because I switched from gnus-use-cache equal t to gnus-use-cache equal passive a short time ago. kai -- This gubblick contains many nonsklarkish English flutzpahs, but the overall pluggandisp can be glorked from context. -- David Moser