[mew-int 00944] Re: 4252/+misc/polaris-ios exists. Input a message number :
Tatsuya Kinoshita
tats at example.com
Sat Jun 29 11:40:16 JST 2002
In message [mew-int 00943], on Fri, 28 Jun 2002,
Eric Chen <xjchen at example.com> wrote:
> I have been using Mew for several years. I always get the error in
> subject line, it happens when I refile the mail, and occurs very
> frequently, almost one of every four times.
Are you using NFS?
Anyway, I've written a patch. Please try this.
--
Tatsuya Kinoshita
-------------- next part --------------
This patch is written by Tatsuya Kinoshita. Copyright is disclaimed.
diff -ur mew-2.2.orig/mew-func.el mew-2.2/mew-func.el
--- mew-2.2.orig/mew-func.el Fri Feb 22 21:05:33 2002
+++ mew-2.2/mew-func.el Sat Jun 29 11:34:40 2002
@@ -526,7 +526,7 @@
(setq max (1+ max))
(setq maxfile (int-to-string max))
(setq maxpath (mew-expand-folder folder maxfile))
- (when (file-exists-p maxpath)
+ (while (file-exists-p maxpath)
;; If NFS is used, readdir() may fail. Emacs 20 does not
;; rescan the directory again. So, we need to rescan in
;; the Emacs level.
@@ -540,7 +540,7 @@
(setq max (1+ max))
(setq maxfile (int-to-string max))
(setq maxpath (mew-expand-folder folder maxfile)))
- (when (get-file-buffer maxpath)
+ (while (get-file-buffer maxpath)
;; file not exist but there is a buffer.
(setq max (1+ max))
(setq maxfile (int-to-string max))
More information about the Mew-int
mailing list