From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56438 Path: main.gmane.org!not-for-mail From: Thomas Schwinge Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir and info flags Date: Thu, 26 Feb 2004 00:25:30 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <20040225232530.GA20692@server.schwinge.homeip.net> References: <87fzg0dj0n.fsf@server.crasseux.com> <87vfov2a05.fsf@server.crasseux.com> <87znbojjtx.fsf@server.crasseux.com> <20040225201530.GA9635@speedy.schwinge.homeip.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" X-Trace: sea.gmane.org 1077751324 28103 80.91.224.253 (25 Feb 2004 23:22:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2004 23:22:04 +0000 (UTC) Original-X-From: ding-owner+M4979@lists.math.uh.edu Thu Feb 26 00:21:55 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aw8Li-0000Vx-00 for ; Thu, 26 Feb 2004 00:21:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Aw8JO-00024a-00; Wed, 25 Feb 2004 17:19:30 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Aw8JJ-00024V-00 for ding@lists.math.uh.edu; Wed, 25 Feb 2004 17:19:25 -0600 Original-Received: from postman.arcor.de (postman2.arcor-online.net [151.189.0.152]) by justine.libertine.org (Postfix) with ESMTP id 428C33A0043 for ; Wed, 25 Feb 2004 17:19:23 -0600 (CST) Original-Received: from server.schwinge.homeip.net (dialin-212-144-133-171.arcor-ip.net [212.144.133.171]) (authenticated bits=0) by postman.arcor.de (8.13.0.PreAlpha4/8.13.0.PreAlpha4) with ESMTP id i1PNJKf4005384 for ; Thu, 26 Feb 2004 00:19:20 +0100 (MET) Original-Received: (qmail 20902 invoked by uid 7794); 25 Feb 2004 23:26:01 -0000 Original-Received: from schwinge-lists-gnus.org-ding@nic-nac-project.de by server by uid 500 with qmail-scanner-1.16 (clamscan: 0.60. spamassassin: 2.60-cvs. Clear:. Processed in 8.095554 secs); 25 Feb 2004 23:25:39 -0000 X-Qmail-Scanner-Mail-From: schwinge-lists-gnus.org-ding@nic-nac-project.de via server X-Qmail-Scanner-Rcpt-To: ding@gnus.org X-Qmail-Scanner: 1.16 (Clear:. Processed in 8.095554 secs) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56438 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 25, 2004 at 03:42:44PM -0500, Paul Jarc wrote: > Thomas Schwinge wrote: > > Since this is the first time I wrote something in perl, I'd be glad if > > someone with perl experience - Paul :-) - could have a look at it. > > It looks ok, although I'm not a big fan of non-tail recursion, so I > made some changes. Good for you that you didn't know about the hour(s) I needed to get that recursion working. :-/ But I'll seize that as learning. :-) Another tiny patch is attached: It makes marksync ignore all dot-files in the directory containing the maildirs. Regards, Thomas --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="marksync.patch" --- marksync-o 2004-02-25 22:36:04.000000000 +0000 +++ marksync 2004-02-25 23:09:23.420897160 +0000 @@ -57,3 +57,3 @@ closedir($dir); - @files=grep(/[^.]/, @files); + @files=grep(/^[^.]/, @files); if ($fullpath) { @files=map($dirpath.'/'.$_, @files); } --qMm9M+Fa2AknHoGS--