From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58001 Path: main.gmane.org!not-for-mail From: Arne =?utf-8?Q?J=C3=B8rgensen?= Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in nnmaildir? Date: Tue, 29 Jun 2004 21:50:38 +0200 Organization: emfle birnan Sender: ding-owner@lists.math.uh.edu Message-ID: <87n02m16up.fsf@seamus.arnested.dk> References: <20040529065248.GB804@ipanel.cn> <87hdsyqdsx.fsf@seamus.arnested.dk> <873c4ihx7m.fsf@seamus.arnested.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1088538730 27438 80.91.224.253 (29 Jun 2004 19:52:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:52:10 +0000 (UTC) Original-X-From: ding-owner+M6542@lists.math.uh.edu Tue Jun 29 21:51:52 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 1BfOe0-0000km-00 for ; Tue, 29 Jun 2004 21:51:52 +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 1BfOdD-0004q6-00; Tue, 29 Jun 2004 14:51:03 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BfOd5-0004py-00 for ding@lists.math.uh.edu; Tue, 29 Jun 2004 14:50:55 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BfOd4-0004my-F9 for ding@lists.math.uh.edu; Tue, 29 Jun 2004 14:50:54 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 2AF4C3A01F3 for ; Tue, 29 Jun 2004 14:50:49 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BfOcu-0001h5-00 for ; Tue, 29 Jun 2004 21:50:46 +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 ; Tue, 29 Jun 2004 21:50:43 +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 ; Tue, 29 Jun 2004 21:50:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 31 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:kjcEDuMqdgVLqM06M4wjKMSXj2A= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58001 prj@po.cwru.edu (Paul Jarc) writes: > Sorry for the long delay - the list seems to have forgotten my > subscription. > > Arne J=C3=B8rgensen wrote: >> If Emacs is started in a non-english laguage environment (ie >> LANG=3Dda_DK) the signaled error in `nnmaildir-request-set-mark' is not >> "no such file or directory" but "ingen s=C3=A5dan fil eller filkatalog". > > Ouch. Does anyone know if there's a way to get at the localization > bits from Elisp? So I could look for > (locale-translation "no such file or directory") or some such? Isn't the text coming from some library and not from emacs code? >> but I don't think the function should depend on the error message. > > I agree, but unfortunately the errno information isn't represented any > other way. This is a weak spot in Emacs's design. How about checking the existence of the file or directory before accessing it instead of the depending on the error message afterwards? (I have no idea what the code is all about in the first place) Kind regards, --=20 Arne J=C3=B8rgensen Gammel Kongevej 7, 1. th., DK-1610 Copenhagen V, Denmark mobile: +45 21 65 01 13 email: arne@arnested.dk,