Gnus development mailing list
 help / color / mirror / Atom feed
* mail-source-delete-old-incoming bug?
@ 2008-03-14 10:37 Katsumi Yamaoka
  2008-03-14 11:17 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2008-03-14 10:37 UTC (permalink / raw)
  To: ding

It is trivial and maybe harmless but looks like a bug.

(defun mail-source-delete-old-incoming (&optional age confirm)
[...]
    (setq files (directory-files
		 mail-source-directory t
		 (concat mail-source-incoming-file-prefix "*"))

Shouldn't it be this?

    (setq files (directory-files
		 mail-source-directory t
		 (concat "\\`"
			 (regexp-quote mail-source-incoming-file-prefix)))



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mail-source-delete-old-incoming bug?
  2008-03-14 10:37 mail-source-delete-old-incoming bug? Katsumi Yamaoka
@ 2008-03-14 11:17 ` Reiner Steib
  0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2008-03-14 11:17 UTC (permalink / raw)
  To: ding

On Fri, Mar 14 2008, Katsumi Yamaoka wrote:

> It is trivial and maybe harmless but looks like a bug.
[...]
> 		 (concat mail-source-incoming-file-prefix "*"))
>
> Shouldn't it be this?
[...]
> 		 (concat "\\`"
> 			 (regexp-quote mail-source-incoming-file-prefix)))

Agreed.  Please install.  Thanks.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-14 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 10:37 mail-source-delete-old-incoming bug? Katsumi Yamaoka
2008-03-14 11:17 ` Reiner Steib

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).