Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: Including cached messages automatically?
Date: 20 Nov 1999 23:42:05 +0100	[thread overview]
Message-ID: <vafemdkyede.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Simon Josefsson's message of "19 Nov 1999 23:57:52 +0100"

Simon Josefsson <jas@pdc.kth.se> writes:

> Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 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


  reply	other threads:[~1999-11-20 22:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-19 11:35 Kai Großjohann
1999-11-19 22:57 ` Simon Josefsson
1999-11-20 22:42   ` Kai Großjohann [this message]
1999-11-20 23:15     ` Kai Großjohann
1999-11-21  0:14     ` Simon Josefsson
1999-11-21 12:33       ` Kai Großjohann
1999-11-21 12:40 ` Kai Großjohann
1999-12-01 18:43   ` Lars Magne Ingebrigtsen

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=vafemdkyede.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).