Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: 0.79 nnmail-spool-file 'directory read error (patch included)
Date: 01 Mar 1999 16:51:13 +0100	[thread overview]
Message-ID: <m3678lgqdq.fsf@quimbies.gnus.org> (raw)
In-Reply-To: jari.aalto@poboxes.com's message of "28 Feb 1999 16:44:55 +0200"

jari.aalto@poboxes.com (Jari Aalto+mail.emacs) writes:

>       (dolist (file (directory-files
> 		     path t (concat (regexp-quote suffix) "$")))
> 
> >> already filters .spool

Yes...

> 
> 	(d!! (file-name-nondirectory file) 
> 	     predicate
> 	     callback
> 	     "\n\n"
> 	     )

Hm?  I can't find this in the sources...

> 	(when (and (file-regular-p file)
> 		   (funcall predicate file)
> 
> >> but this will never accept file mail.default.spool

I don't see why not.  The predicate is either `identity' or

                                   `(lambda (file)
				     (string-match 
				      ,(concat
					(regexp-quote (concat group suffix)) 
					"$")
				      file))

And if the group is "mail.default" and the suffix is ".spool", then
that predicate should return non-nil.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


      reply	other threads:[~1999-03-01 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-28 14:44 Jari Aalto+mail.emacs
1999-03-01 15:51 ` Lars Magne Ingebrigtsen [this message]

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=m3678lgqdq.fsf@quimbies.gnus.org \
    --to=larsi@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).