From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68162 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-pathname-coding-system breaks my XEmacs. Date: Wed, 14 Jan 2009 21:16:54 +0100 Message-ID: <871vv5lk21.fsf@marauder.physik.uni-ulm.de> 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> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231964236 15238 80.91.229.12 (14 Jan 2009 20:17:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2009 20:17:16 +0000 (UTC) Cc: Katsumi Yamaoka , ding@gnus.org To: Aidan Kehoe Original-X-From: ding-owner+M16606@lists.math.uh.edu Wed Jan 14 21:18:27 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 1LNCC2-0004WB-KB for ding-account@gmane.org; Wed, 14 Jan 2009 21:18:26 +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 1LNCAk-0005m0-Ds; Wed, 14 Jan 2009 14:17:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LNCAi-0005lZ-UZ for ding@lists.math.uh.edu; Wed, 14 Jan 2009 14:17:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LNCAg-0008KJ-5U for ding@lists.math.uh.edu; Wed, 14 Jan 2009 14:17:04 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LNCAx-0007rc-00 for ; Wed, 14 Jan 2009 21:17:19 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n0EKGwiv029294; Wed, 14 Jan 2009 21:16:58 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 5381C13566; Wed, 14 Jan 2009 21:16:58 +0100 (CET) X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3, Katsumi Yamaoka , ding@gnus.org In-Reply-To: <18797.52612.666509.700581@parhasard.net> (Aidan Kehoe's message of "Wed, 14 Jan 2009 11:33:24 +0000") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-dmv.com-Metrics: poseidon 1181; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68162 Archived-At: On Wed, Jan 14 2009, Aidan Kehoe wrote: > I made this change yesterday to do that: > > http://hg.debian.org/hg/xemacs/xemacs?cs=774e5c7522bf > > 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))) 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? > (let ((file-name-coding-system > nnmail-pathname-coding-system)) > ,@forms)) > `(let ((file-name-coding-system nnmail-pathname-coding-system)) > ,@forms))) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/