Gnus development mailing list
 help / color / mirror / Atom feed
From: "Arne Jørgensen" <arne@arnested.dk>
Subject: Re: Bug in nnmaildir?
Date: Wed, 30 Jun 2004 00:14:21 +0200	[thread overview]
Message-ID: <87smceovuq.fsf@seamus.arnested.dk> (raw)
In-Reply-To: <m3fz8e6p4a.fsf@multivac.cwru.edu>

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

prj@po.cwru.edu (Paul Jarc) writes:

> Arne Jørgensen <arne@arnested.dk> 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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnmaildir.patch --]
[-- Type: text/x-patch, Size: 622 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]


Kind regards,
-- 
Arne Jørgensen
Gammel Kongevej 7, 1.th., 1610 København V
mobil: 21 65 01 13
e-post: arne@arnested.dk, <http://arnested.dk/>

  parent reply	other threads:[~2004-06-29 22:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29  6:52 Another newbie question Ding Lei
2004-06-03  0:16 ` Chris Ball
2004-06-04  1:01 ` Ding Lei
2004-06-26 20:12 ` Bug in nnmaildir? (was: Another newbie question...) Arne Jørgensen
2004-06-26 20:37   ` Bug in nnmaildir? Arne Jørgensen
2004-06-28 17:19     ` Paul Jarc
2004-06-29 19:50       ` Arne Jørgensen
2004-06-29 20:09         ` Paul Jarc
2004-06-29 20:49           ` Arne Jørgensen
2004-06-29 21:16             ` Paul Jarc
2004-06-29 21:51               ` Arne Jørgensen
2004-06-29 22:14               ` Arne Jørgensen [this message]
2004-06-30 15:45                 ` Paul Jarc
2004-06-28  8:20   ` Florian Dufour

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=87smceovuq.fsf@seamus.arnested.dk \
    --to=arne@arnested.dk \
    /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).