From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58007 Path: main.gmane.org!not-for-mail From: =?utf-8?Q?Arne_J=C3=B8rgensen?= Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in nnmaildir? Date: Wed, 30 Jun 2004 00:14:21 +0200 Organization: emfle birnan Sender: ding-owner@lists.math.uh.edu Message-ID: <87smceovuq.fsf@seamus.arnested.dk> References: <20040529065248.GB804@ipanel.cn> <87hdsyqdsx.fsf@seamus.arnested.dk> <873c4ihx7m.fsf@seamus.arnested.dk> <87n02m16up.fsf@seamus.arnested.dk> <87isda144z.fsf@seamus.arnested.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1088548394 17085 80.91.224.253 (29 Jun 2004 22:33:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 22:33:14 +0000 (UTC) Original-X-From: ding-owner+M6548@lists.math.uh.edu Wed Jun 30 00:33:01 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 1BfR9x-0006NO-00 for ; Wed, 30 Jun 2004 00:33:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BfR9e-0005T4-00; Tue, 29 Jun 2004 17:32:42 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BfQry-0005Pk-00 for ding@lists.math.uh.edu; Tue, 29 Jun 2004 17:14:26 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BfQrx-0007h3-1X for ding@lists.math.uh.edu; Tue, 29 Jun 2004 17:14:25 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 4C6CA3A003A for ; Tue, 29 Jun 2004 17:14:24 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BfQrv-0004VM-00 for ; Wed, 30 Jun 2004 00:14:23 +0200 Original-Received: from 62.79.156.20.adsl.vbr.tiscali.dk ([62.79.156.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2004 00:14:23 +0200 Original-Received: from arne by 62.79.156.20.adsl.vbr.tiscali.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2004 00:14:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 64 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 62.79.156.20.adsl.vbr.tiscali.dk X-Face: 5t,7/Y$&<1A_t.$vC2{pWZ{m@3_06;kcm]no{hgEL/}Uz(>XV6cl4}xO\v?-h3%>znNaZtq `~rf,GY1T%r=a.zH`hOb(-]'x)nI088Z&|e;V^h;/TShou User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:166kmoZ3bte2CoNIf3fOCrQZ8Oo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58007 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable prj@po.cwru.edu (Paul Jarc) writes: > Arne J=C3=B8rgensen wrote: >> How about setting the locale to en_US with the system-messages-locale >> variable when running the function? > > Ok, see if this works for you: > > diff -u -r7.4 nnmaildir.el > --- lisp/nnmaildir.el 20 May 2004 08:02:40 -0000 7.4 > +++ lisp/nnmaildir.el 29 Jun 2004 21:15:22 -0000 > @@ -1541,7 +1541,8 @@ > permarkfile (concat mdir ":") > mfile (concat mdir (nnmaildir--art-prefix article))) > (condition-case err > - (add-name-to-file permarkfile mfile) > + (let ((system-messages-locale "en_US")) > + (add-name-to-file permarkfile mfile)) > (error > (cond > ((nnmaildir--eexist-p err)) If the locale is "C" it works. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=nnmaildir.patch Index: nnmaildir.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnmaildir.el,v retrieving revision 7.4 diff -u -r7.4 nnmaildir.el --- nnmaildir.el 20 May 2004 08:02:40 -0000 7.4 +++ nnmaildir.el 29 Jun 2004 22:13:57 -0000 @@ -1541,7 +1541,8 @@ permarkfile (concat mdir ":") mfile (concat mdir (nnmaildir--art-prefix article))) (condition-case err - (add-name-to-file permarkfile mfile) + (let ((system-messages-locale "C")) + (add-name-to-file permarkfile mfile)) (error (cond ((nnmaildir--eexist-p err)) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Kind regards, --=20 Arne J=C3=B8rgensen Gammel Kongevej 7, 1.th., 1610 K=C3=B8benhavn V mobil: 21 65 01 13 e-post: arne@arnested.dk, --=-=-=--