From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26463 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: maildir support in Pterodactyl Gnus Date: 09 Nov 1999 01:34:18 -0500 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2niu3cw4ut.fsf@tiger.jia.vnet> References: <5bzowoo9nq.fsf@giga.cs.rochester.edu> <2nzowowf06.fsf@tiger.jia.vnet> <2nvh7cw9ru.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163667 19512 80.91.224.250 (21 Oct 2002 01:27:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:27:47 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA13814 for ; Tue, 9 Nov 1999 01:36:09 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id AAB31666; Tue, 9 Nov 1999 00:36:06 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Nov 1999 00:36:04 -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 AAA21691 for ; Tue, 9 Nov 1999 00:35:46 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA13803 for ; Tue, 9 Nov 1999 01:35:15 -0500 (EST) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id BAA23195 for ; Tue, 9 Nov 1999 01:35:11 -0500 (EST) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id BAA04090; Tue, 9 Nov 1999 01:34:18 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Jason R Mastaler's message of "08 Nov 1999 23:01:34 -0700" Original-Lines: 32 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26463 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26463 >>>>> "Jason" == Jason R Mastaler writes: Jason> Shenghuo ZHU writes: >> So your maildir ("~/Maildir/new/") and home dir ("~/") are not on the >> same filesystem. That would be a problem for >> >> (rename-file "~/Maildir/new/" "~/.emacs-mail-crash-box") >> >> in mail-source-fetch-maildir. If you can confirm my guess, I can fix it. Jason> They are both on the same filesystem, but my client workstation (juju) Jason> which is running Gnus, is accessing them over NFS. [...] I think it is a kind of NFS bug. I guess The time span between rename and read is too short for NFS. Try the following code, see whether it helps. (defun mail-source-fetch-maildir (source callback) "Fetcher for maildir sources." (mail-source-bind (maildir source) (let ((found 0) (mail-source-string (format "maildir:%s" path))) (dolist (file (directory-files path t)) (when (and (file-regular-p file) (not (mail-source-movemail file mail-source-crash-box))) (incf found (mail-source-callback callback file)))) found))) -- Shenghuo