Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Getting new mail really slow with nnml marks
Date: Thu, 18 Oct 2001 21:34:41 +0200	[thread overview]
Message-ID: <iluwv1s91ym.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <y68ofn6ugd7.fsf@indiana.mit.edu> (David Z Maze's message of "Wed, 17 Oct 2001 17:05:40 -0400")

David Z Maze <dmaze@MIT.EDU> writes:

> Yes, it does.  My theory is that this happens because
> nnml-marks-changed-p tests whether the value gnus-gethash returns is
> eq to the modtime returned by file-attributes; since they're
> presumably not going to be the same object (I'd expect file-attributes
> to return a new list every time), you want to test equality with
> equal, rather than eq.

Aha!  Right.

> If I do this, then I get the whole updating-marks thing run at
> startup, but not at all afterwards when I run 'g' (even if there is
> new mail or I touch a .marks file).  Is this expected?

If you touch a .marks file, `nnml-marks-changed-p' must return
non-nil!  New mail shouldn't matter, but iff the .marks file is
modified n-m-c-p return non-nil.

But the change look right, can you find out why n-m-c-p doesn't return
non-nil when you touch the .marks file?




  reply	other threads:[~2001-10-18 19:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 15:16 David Z Maze
2001-10-17 16:16 ` Simon Josefsson
2001-10-17 16:54   ` David Z Maze
2001-10-17 17:14     ` David Z Maze
2001-10-17 17:28     ` Simon Josefsson
2001-10-17 17:44       ` David Z Maze
2001-10-17 19:54         ` Simon Josefsson
2001-10-17 21:05           ` David Z Maze
2001-10-18 19:34             ` Simon Josefsson [this message]
2001-10-18 21:38               ` David Z Maze
2001-10-20  9:53                 ` Simon Josefsson

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=iluwv1s91ym.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --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).