From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: po file charset via auto-coding-functions Date: Tue, 25 Oct 2005 02:35:54 +0300 Organization: JURTA Message-ID: <8764rmqyhx.fsf@jurta.org> References: <87zmp399ue.fsf@zip.com.au> <87ll0ma3ow.fsf@zip.com.au> <87zmp1f9np.fsf@zip.com.au> <87mzkz3c23.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130203862 416 80.91.229.2 (25 Oct 2005 01:31:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2005 01:31:02 +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:31:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUDdr-00028D-N2 for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2005 03:30:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUDdq-0003nk-Lh for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 21:30:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUDcs-0003K3-0I for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:29:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUDcq-0003Jh-EB for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:29:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUDcq-0003Ja-6N for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:29:16 -0400 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUDcq-00067p-5f for emacs-devel@gnu.org; Mon, 24 Oct 2005 21:29:16 -0400 Original-Received: from mail.neti.ee (80-235-33-159-dsl.mus.estpak.ee [80.235.33.159]) by Relayhost1.neti.ee (Postfix) with ESMTP id 58E431F6B; Tue, 25 Oct 2005 04:29:25 +0300 (EEST) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Mon, 24 Oct 2005 14:19:11 +0900") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:44783 Archived-At: >> I think jka-compr is also affected, try visiting a compressed >> vi.po.gz. > > It seems that this additional patch will fix it. But I > admit that that this change is rather tricky compared with > the previous ones. :-( Please also pay attention to the related problem: .tar and .zip don't support some Emacs features. For example, after (require 'generic-x) visiting vi.po or vi.po.gz sets Default-Generic mode, but visiting the vi.po file from x.tar or x.zip doesn't set this mode. Or after (progn (setq-default save-place t) (require 'saveplace)) visiting vi.po or vi.po.gz remembers point positions, but visiting them from x.tar or x.zip doesn't. These features work by putting the hook in `find-file-hook'. Calling this hook on a visited archive file seems work for these features, but is it the right way to do? -- Juri Linkov http://www.jurta.org/emacs/