From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9811 Path: main.gmane.org!not-for-mail From: Paul Franklin Newsgroups: gmane.emacs.gnus.general Subject: Re: pop mailboxes Date: 04 Feb 1997 20:50:03 -0800 Sender: paul@cs.washington.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149780 20708 80.91.224.250 (20 Oct 2002 21:36:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:36:20 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id UAA14091 for ; Tue, 4 Feb 1997 20:58:03 -0800 Original-Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 5 Feb 1997 05:50:12 +0100 Original-Received: from fester.cs.washington.edu (fester.cs.washington.edu [128.95.4.119]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id UAA23059 for ; Tue, 4 Feb 1997 20:50:10 -0800 Original-Received: (from paul@localhost) by fester.cs.washington.edu (8.6.12/8.6.9) id UAA00603; Tue, 4 Feb 1997 20:50:06 -0800 Original-To: ding@ifi.uio.no In-Reply-To: Daniel Simms's message of 04 Feb 1997 15:55:52 -0800 Original-Lines: 62 X-Mailer: Gnus v5.4.10/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:9811 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9811 >>>>> Daniel Simms writes: >>>>>> "LMI" == Lars Magne Ingebrigtsen writes: > >> ; > >> file-directory-p("po:pop.alink.net:110:apop:n:dsimms%alink.net:*") > LMI> This isn't a valid value from `nnmail-spool-file'. It should > LMI> be just "po:username". > Yes, yes*, it does the same thing with just po:luser too. I took a look at the code, convinced that Gnus wouldn't have such an error in it, since I use pop all of the time, and I periodically get ange-ftp qutoloaded when I'm foolish enough to try to tab-complete in the root directory. Sure enough, there's a bug, at least in 5.4.10. Sorry Lars. There's another bug which this doesn't fix but I may fix sometime tomorrow--it handles nnmail-spool-file set to 'pop but not '(pop "/some/other/file") Tue Feb 4 20:26:20 1997 Paul Franklin * nnmail.el (nnmail-get-spool-files): Don't call file-directory-p on pop spool specifiers. --- nnmail.el 1997/02/05 04:18:56 1.1 +++ nnmail.el 1997/02/05 04:23:31 @@ -1254,19 +1254,19 @@ 'nconc (mapcar (lambda (file) - (if (file-directory-p file) + (if (and (not (string-match "^po:" file)) + (file-directory-p file)) (nnheader-directory-regular-files file) (list file))) nnmail-spool-file)) procmails)) - ((and (stringp nnmail-spool-file) - (not (file-directory-p nnmail-spool-file))) - (cons nnmail-spool-file procmails)) - ((and (stringp nnmail-spool-file) - (file-directory-p nnmail-spool-file)) - (nconc - (nnheader-directory-regular-files nnmail-spool-file) - procmails)) + ((stringp nnmail-spool-file) + (if (and (not (string-match "^po:" nnmail-spool-file)) + (file-directory-p nnmail-spool-file)) + (nconc + (nnheader-directory-regular-files nnmail-spool-file) + procmails) + (cons nnmail-spool-file procmails))) ((eq nnmail-spool-file 'pop) (cons (format "po:%s" (user-login-name)) procmails)) (t