From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68160 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 11:33:24 +0000 Message-ID: <18797.52612.666509.700581@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> 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 1231932843 23926 80.91.229.12 (14 Jan 2009 11:34:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2009 11:34:03 +0000 (UTC) Cc: ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M16604@lists.math.uh.edu Wed Jan 14 12:35:15 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 1LN41h-0008Nd-UI for ding-account@gmane.org; Wed, 14 Jan 2009 12:35:14 +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 1LN40K-00030X-6x; Wed, 14 Jan 2009 05:33:48 -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 1LN40I-00030C-Me for ding@lists.math.uh.edu; Wed, 14 Jan 2009 05:33:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LN40F-0004Pt-EA for ding@lists.math.uh.edu; Wed, 14 Jan 2009 05:33:46 -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 1LN40W-000171-00 for ; Wed, 14 Jan 2009 12:34:00 +0100 Original-Received: by daedalus.asclepian.ie (Postfix, from userid 1002) id 3B784B82D; Wed, 14 Jan 2009 11:33:25 +0000 (GMT) In-Reply-To: X-Mailer: VM 8.0.12 under 21.5 (beta28) "fuki" XEmacs Lucid (x86_64-unknown-freebsd7.0) X-Echelon-distraction: CCSC Halibut Blackbird Flashbangs CFC Larson X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68160 Archived-At: Ar an ceathr=C3=BA l=C3=A1 d=C3=A9ag de m=C3=AD Eanair, scr=C3=ADobh Kat= sumi Yamaoka:=20 > > UTF-8 is *enforced* on OS X, in contrast to most Unix environments. >=20 > I imagine it is similar to DOS machines in which shift_jis is > used for file names in Japan. (Though I don't know how files > are on OS X, since my daughters don't give me leave to touch > their MacBooks.) With the important difference that it can encode everything, so there=E2=80= =99s no need to play around with differing file-name-coding-systems for differing parts of the file hierarchy, the data won=E2=80=99t be trashed.=20 > [...] Anyway I still believe there is no reason to abolish the > `nnmail-pathname-coding-system' control in Gnus. However, for the mome= mnt > I have no idea to cope with that behavior. Isn't there a chance to mak= e > it work like XEmacs 21.4? 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 with= out that patch, and with 21.4:=20 (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))) (let ((file-name-coding-system nnmail-pathname-coding-system)) ,@forms)) `(let ((file-name-coding-system nnmail-pathname-coding-system)) ,@forms))) --=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?