From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58302 Path: main.gmane.org!not-for-mail From: Sebastian Freundt Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] XEmacs and nnmaildir Date: Wed, 18 Aug 2004 23:37:50 +0000 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092959438 23827 80.91.224.253 (19 Aug 2004 23:50:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2004 23:50:38 +0000 (UTC) Original-X-From: ding-owner+M6843=ding+2Daccount=gmane.org@lists.math.uh.edu Fri Aug 20 01:50:29 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bxwfs-0000XZ-00 for ; Fri, 20 Aug 2004 01:50:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Bxwfr-0000rR-01 for ding-account@gmane.org; Thu, 19 Aug 2004 18:50:27 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bxa2n-0006JQ-00 for ding@lists.math.uh.edu; Wed, 18 Aug 2004 18:40:37 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bxa2l-0005fA-87 for ding@lists.math.uh.edu; Wed, 18 Aug 2004 18:40:35 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id CCF3A3A0045 for ; Wed, 18 Aug 2004 18:40:33 -0500 (CDT) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bxa2h-0001OE-00 for ; Thu, 19 Aug 2004 01:40:31 +0200 Original-Received: from mack.math.tu-berlin.de ([130.149.14.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2004 01:40:31 +0200 Original-Received: from hroptatyr by mack.math.tu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2004 01:40:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mack.math.tu-berlin.de Mail-Copies-To: never X-Weather: =?iso-8859-1?Q?17=2E1=B0C?= (Berlin) X-URL: http://www.math.tu-berlin.de/~freundt/ X-Now-Playing: Das Bo - tuerlich, tuerlich X-Face: #HUK$+njZzfa\Y7-C?%}`0I+_5(GhEOmLsy4},^7)im*%||Zh=:FnuCpe1gt+p:Omkx{a}BSf}DSn4],m9[bw5*gsG$Xx<-V"(L0?M8*&H\hh^^cd7F~B=/KkLl\mNdk\_}HrPG}=cnAwt=\tWF6J Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWLYy//y8qfMzN/UVL/ l5eamX/LmWbRZmLMmZjg3qv+zZf7/vr727f6AAACVklEQVR42o3UMWvbQBQA4CPG8dDJNBRXXUwy ZHURoS1d2iJkVVNIcNI0i8GXp6unEMMpY0uU68WdAmmRm8lwpOJtpgSi5s/1To6lS2mhN+rTu/f0 7p3I7T8W+T84n/wFrm9Od3rbvS9/Qr47IoSsdmp7l/dhs8GXNKy2yf49eNjmlMbAedRe27dgtrWc hOh5gD6QlxbcLEGi0CzlR3ULfq7LBOfLg5EFW8vBGLHpmBAY7Jcw67AgRJwaQD96WsEykxqcu72e V1vFwEJcJBlvlHC9U4Hy/O0nZUQEML7LoWFQbdUHoDhtFmUFooJ0wIFJXW9z2kQlBuVWX3e5Th/x 4dTECPMhBcw+fjvmMnxsKhAxj2olqFqDy8kpMMziBnCygAv1pjFiB+8EhD4A9OsLWMFXPn0rpRDD 6FPv2WEZ0Qp+cJqhSnzaTc86hCzKXQmvYmo6BbQLIiJl8gtsFaAE9UEAWVtEnGvQHcGpHypG4ai+ gNzJ4uKc4LVDBYselC1xfA1OUwXDbOgFUdX22SOe6N4qCtFQBaPqaPPWcVJ0HCFUAangVpjeGvCp 8l1rSiRLx8X5ZYkSNQvSD5kBDzMp+xsWtBimeBXHMUgxsEd0j71PEaNuvD4U/RcW/BLj1CTvxuPT gT3tjpCmrGBFfofOfShmQemvgG374pxJJuf1ik3XjriW0ow7KhSHdStCP5fziKA/v1AWCJMdZd+1 LmcuWRKm8gwnKF0Lct1DT7+sV/rZdasfwGUOBhSmIjpyXesHkAt 2dznEQc/ds5LrHk4LODmY9OY5 fgNaH4km3mN9MwAAAABJRU5ErkJggg== X-gpg-key-ID: 0x82C9390E X-fingerprint: 6CB0 D61E 23A4 275C C2CF A161 94C9 A1AC 82C9 390E User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5 (chayote, linux) Cancel-Lock: sha1:LvsQE0dBhOkUGskLEujnJ5seKGw= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58302 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))