Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] XEmacs and nnmaildir
@ 2004-08-18 23:37 Sebastian Freundt
  2004-08-20  0:50 ` Paul Jarc
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Freundt @ 2004-08-18 23:37 UTC (permalink / raw)


Hey y'all,

just noticed that there's a string= to cond error messages, this won't
work on recent XEmacsen since the error strings are "Too many links" and
"No such file or directory" respectively.

As a quick hack I added a downcase.

Greets
Sebastian


8<---8<---8<---8<---

Index: lisp/nnmaildir.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnmaildir.el,v
retrieving revision 7.5
diff -u -r7.5 nnmaildir.el
--- lisp/nnmaildir.el	30 Jun 2004 15:45:07 -0000	7.5
+++ lisp/nnmaildir.el	18 Aug 2004 23:34:22 -0000
@@ -310,11 +310,11 @@
 
 (defun nnmaildir--emlink-p (err)
   (and (eq (car err) 'file-error)
-       (string= (caddr err) "too many links")))
+       (string= (downcase (caddr err)) "too many links")))
 
 (defun nnmaildir--enoent-p (err)
   (and (eq (car err) 'file-error)
-       (string= (caddr err) "no such file or directory")))
+       (string= (downcase (caddr err)) "no such file or directory")))
 
 (defun nnmaildir--eexist-p (err)
   (eq (car err) 'file-already-exists))




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

* Re: [PATCH] XEmacs and nnmaildir
  2004-08-18 23:37 [PATCH] XEmacs and nnmaildir Sebastian Freundt
@ 2004-08-20  0:50 ` Paul Jarc
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Jarc @ 2004-08-20  0:50 UTC (permalink / raw)


Sebastian Freundt <hroptatyr@gna.org> wrote:
> just noticed that there's a string= to cond error messages, this won't
> work on recent XEmacsen since the error strings are "Too many links" and
> "No such file or directory" respectively.

Thanks, I committed this change.


paul



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

end of thread, other threads:[~2004-08-20  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-18 23:37 [PATCH] XEmacs and nnmaildir Sebastian Freundt
2004-08-20  0:50 ` Paul Jarc

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