From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68163 Path: news.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-pathname-coding-system breaks my XEmacs. Date: Wed, 14 Jan 2009 20:48:47 +0000 Message-ID: <18798.20399.284442.90062@parhasard.net> References: <18794.15468.881403.994781@parhasard.net> <87hc45o6ea.fsf@marauder.physik.uni-ulm.de> <18795.12614.222792.255516@parhasard.net> <18796.33500.65305.970938@parhasard.net> <18797.52612.666509.700581@parhasard.net> <871vv5lk21.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231966173 22524 80.91.229.12 (14 Jan 2009 20:49:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2009 20:49:33 +0000 (UTC) Cc: Katsumi Yamaoka , ding@gnus.org To: Reiner Steib Original-X-From: ding-owner+M16607@lists.math.uh.edu Wed Jan 14 21:50:44 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LNChE-0001kq-PT for ding-account@gmane.org; Wed, 14 Jan 2009 21:50:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LNCfn-0005xK-05; Wed, 14 Jan 2009 14:49:11 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LNCfl-0005wz-5O for ding@lists.math.uh.edu; Wed, 14 Jan 2009 14:49:09 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LNCfh-0007JF-VT for ding@lists.math.uh.edu; Wed, 14 Jan 2009 14:49:09 -0600 Original-Received: from daedalus.ipv4.asclepian.ie ([213.133.100.226] helo=daedalus.asclepian.ie) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LNCfz-0008Gn-00 for ; Wed, 14 Jan 2009 21:49:23 +0100 Original-Received: by daedalus.asclepian.ie (Postfix, from userid 1002) id 614D6B816; Wed, 14 Jan 2009 20:48:47 +0000 (GMT) In-Reply-To: <871vv5lk21.fsf@marauder.physik.uni-ulm.de> X-Mailer: VM 8.0.12 under 21.5 (beta28) "fuki" XEmacs Lucid (x86_64-unknown-freebsd7.0) X-Echelon-distraction: EADA ASIC RDI cards DEADBEEF spook X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68163 Archived-At: Ar an ceathr=C3=BA l=C3=A1 d=C3=A9ag de m=C3=AD Eanair, scr=C3=ADobh Rei= ner Steib:=20 > On Wed, Jan 14 2009, Aidan Kehoe wrote: >=20 > > I made this change yesterday to do that:=20 > > > > http://hg.debian.org/hg/xemacs/xemacs?cs=3D774e5c7522bf > > > > This version of your macro works with versions of 21.5 both with and > > without that patch, and with 21.4: > > > > (defmacro nnmail-with-pathname-coding-system (&rest forms) > > "Bind `file-name-coding-system' while running FORMS. > > A non-nil value of `nnmail-pathname-coding-system' will be used for > > decoding and encoding file names." > > (if (featurep 'xemacs) > > `(progn > > (when (featurep 'file-coding) > > ;; Work around a bug in many 21.5 betas: > > (setq file-name-coding-system (coding-system-aliasee > > 'file-name))) >=20 > I didn't follow the thread carefully. Do I understand correctly, that > the problem was a bug that is/was present only in XEmacs 21.5? Well. I don=E2=80=99t think much of the nnmail-pathname-coding-system ide= a, from my perspective it in itself is a bug, it should not be overriding file-name-coding-system. It is not being a very good citizen to use non-standard encoding for path names in a given directory without very go= od reason. It does not look like Yamaoka is going to come around to that perspective, though. With the change to the XEmacs 21.5 sources above, the consequences of the use of nnmail-pathname-coding-system are not as serious as they used to b= e, for non-Gnus code; the consequences of the use of nnmail-pathname-coding-system remain as bad as they used to be for the Gn= us code, because since nnmail-pathname-coding-system is normally nil, the binary coding system will be used for all file names corresponding to gro= up names. With the macro as proposed, Gnus users on beta XEmacs will no longer see = the consequences of the use of nnmail-pathname-coding-system for non-Gnus cod= e. --=20 =C2=BFD=C3=B3nde estar=C3=A1 ahora mi sobrino Yoghurtu Nghe, que tuvo que= huir precipitadamente de la aldea por culpa de la escasez de rinocerontes?