From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68167 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: Thu, 15 Jan 2009 00:35:27 +0000 Message-ID: <18798.33999.638951.592345@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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231979763 3898 80.91.229.12 (15 Jan 2009 00:36:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 00:36:03 +0000 (UTC) Cc: ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M16611@lists.math.uh.edu Thu Jan 15 01:37: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 1LNGEU-0005fc-9c for ding-account@gmane.org; Thu, 15 Jan 2009 01:37: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 1LNGD8-00073F-Sy; Wed, 14 Jan 2009 18:35:50 -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 1LNGD7-00072t-1X for ding@lists.math.uh.edu; Wed, 14 Jan 2009 18:35:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LNGD3-0008M6-TC for ding@lists.math.uh.edu; Wed, 14 Jan 2009 18:35:48 -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 1LNGDL-0002bf-00 for ; Thu, 15 Jan 2009 01:36:03 +0100 Original-Received: by daedalus.asclepian.ie (Postfix, from userid 1002) id 2F7D4B831; Thu, 15 Jan 2009 00:35:28 +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: INFOSEC VOA forschung NAVCOMPARS MID/KL rail gun X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68167 Archived-At: Ar an c=FAigi=FA l=E1 d=E9ag de m=ED Eanair, scr=EDobh Katsumi Yamaoka:=20 > [...] IIUC `(setq file-name-coding-system ...)' here is for XEmacs 21.= 5 > to which your patch has not been applied yet. Is it necessary to do th= at > in advance whenever one binds `file-name-coding-system' to something? = In > other words, supposing `file-name' will not vary after having been set= to > a certain value according to the system, isn't it enough to do it once > when XEmacs starts? Once should be okay, yes.=20 > That is, >=20 > >>>>> In Katsumi Yamaoka wrote: > > BTW, does this workaround do the trick? >=20 > > (if (featurep 'xemacs) > > (if (featurep 'file-coding) > > (setq file-name-coding-system > > (or file-name-coding-system > > (coding-system-name 'file-name))))) No, you want: (setq file-name-coding-system (coding-system-aliasee 'file-name)) > I planned to introduce such a wrapper, however there are many > places that need it in Gnus: >=20 > $ grep '(file-name-coding-system' *.el | wc -l > 88 >=20 > So, I'd like to use a much simpler way to fix the problem if > possible. Note that the Gnus release (i.e. the Emacs 23 release) > is around the corner. >=20 > Regards, >=20 > P.S. I wonder why this is brought up now although binding of > pathname-coding-system (the predecessor of file-name-coding-system) > appeared first in Quassia Gnus v0.1 (1997). ;-) I reported the bug because I recently learned a debugging technique which discovering what went wrong much, much easier. --=20 =BFD=F3nde estar=E1 ahora mi sobrino Yoghurtu Nghe, que tuvo que huir precipitadamente de la aldea por culpa de la escasez de rinocerontes?