From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: po file charset via auto-coding-functions Date: Tue, 25 Oct 2005 10:03:23 +0900 Message-ID: References: <87zmp399ue.fsf@zip.com.au> <87ll0ma3ow.fsf@zip.com.au> <87zmp1f9np.fsf@zip.com.au> <87mzkz3c23.fsf@zip.com.au> <87k6g3atv0.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1130202306 29059 80.91.229.2 (25 Oct 2005 01:05:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2005 01:05:06 +0000 (UTC) Cc: user42@zip.com.au, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 03:05:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUDE6-00056J-J0 for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2005 03:03:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUDE6-0006ll-0K for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 21:03:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUDDv-0006lg-OK for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:03:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUDDv-0006lU-1H for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:03:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUDDu-0006lR-Ud for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:03:30 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EUDDu-0004QR-EL for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:03:30 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id j9P13Q89014135; Tue, 25 Oct 2005 10:03:26 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id j9P13OZ3010565; Tue, 25 Oct 2005 10:03:25 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1EUDDn-0002tw-00; Tue, 25 Oct 2005 10:03:23 +0900 Original-To: Stefan Monnier In-reply-to: <87k6g3atv0.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 24 Oct 2005 10:11:41 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44780 Archived-At: In article <87k6g3atv0.fsf-monnier+emacs@gnu.org>, Stefan Monnier writes: >>>> especially when we can fix the problem by the other method (as in my >>>> previous mail). > Passing the full file name seems like the right thing to do, indeed. What do you mean by "full file name"? Something like "/home/handa/x.tar!vi.po" which my change passes? >> It seems that this additional patch will fix it. But I >> admit that that this change is rather tricky compared with >> the previous ones. :-( > I don't see what's the trick. So I guess it deserves a comment. It temporarily binds buffer-file-name to "/home/handa/vi.po.gz!/home/handa/vi.po" and passes that name so that a function can find the current buffer by get-file-buffer. I think such a way of using buffer-file-name is rather tricky. Anyway, yes, I'll add more comments if my change is approved. --- Kenichi Handa handa@m17n.org