From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: po file charset via auto-coding-functions Date: Fri, 18 Nov 2005 12:21:20 -0500 Message-ID: <87sltt98l6.fsf-monnier+emacs@gnu.org> References: <87zmp399ue.fsf@zip.com.au> <87ll0ma3ow.fsf@zip.com.au> <87fyqu9ung.fsf@zip.com.au> <877jbhrwox.fsf-monnier+emacs@gnu.org> <87psp8qrz9.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132334507 7006 80.91.229.6 (18 Nov 2005 17:21:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2005 17:21:47 +0000 (UTC) Cc: user42@zip.com.au, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 18 18:21:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ed9vf-000613-00 for ; Fri, 18 Nov 2005 18:21:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ed9vd-0007G0-QJ for ged-emacs-devel@m.gmane.org; Fri, 18 Nov 2005 12:21:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ed9vR-0007Ft-Mb for emacs-devel@gnu.org; Fri, 18 Nov 2005 12:21:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ed9vQ-0007Fh-7x for emacs-devel@gnu.org; Fri, 18 Nov 2005 12:21:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ed9vQ-0007Fe-39 for emacs-devel@gnu.org; Fri, 18 Nov 2005 12:21:24 -0500 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ed9vN-0000T4-PY; Fri, 18 Nov 2005 12:21:22 -0500 Original-Received: from alfajor ([67.71.33.38]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051118172120.YQPL21026.tomts16-srv.bellnexxia.net@alfajor>; Fri, 18 Nov 2005 12:21:20 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id AF571D72BA; Fri, 18 Nov 2005 12:21:20 -0500 (EST) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Fri, 18 Nov 2005 22:08:34 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] 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:46239 Archived-At: > As you see, this binds buffer-file-name temporarily to > something like /home/handa/temp.po.gz!/home/handa/temp.po so > that find-operation-coding-system (called in > decode-coding-inserted-region) can surely find > po-find-file-coding-system to be called, and it can surely > find the current buffer by get-file-buffer. Hmm... that's not what I had understood. The above looks fishy. Why not pass /home/handa/temp.po to find-operation-coding-system (just as it is used for auto-mode-alist)? Stefan