Gnus development mailing list
 help / color / mirror / Atom feed
From: Sebastian Freundt <hroptatyr@gna.org>
Subject: [PATCH] XEmacs and nnmaildir
Date: Wed, 18 Aug 2004 23:37:50 +0000	[thread overview]
Message-ID: <nht8yccxbjl.fsf@mack.math.tu-berlin.de> (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))




             reply	other threads:[~2004-08-18 23:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-18 23:37 Sebastian Freundt [this message]
2004-08-20  0:50 ` Paul Jarc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nht8yccxbjl.fsf@mack.math.tu-berlin.de \
    --to=hroptatyr@gna.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).