From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: jka-compr.el doesn't recognise gzipped files from their magic bytes Date: Tue, 18 Sep 2007 06:14:06 +0200 Message-ID: References: <87vea8wsqo.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190088864 27702 80.91.229.12 (18 Sep 2007 04:14:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 04:14:24 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, christopher.ian.moore@gmail.com To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 06:14:22 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXUTb-0001VC-68 for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 06:14:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXUTZ-0001oT-Pl for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 00:14:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXUTW-0001nU-DF for emacs-devel@gnu.org; Tue, 18 Sep 2007 00:14:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXUTV-0001nB-1J for emacs-devel@gnu.org; Tue, 18 Sep 2007 00:14:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXUTU-0001n8-QJ for emacs-devel@gnu.org; Tue, 18 Sep 2007 00:14:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXUTU-00025v-KE for emacs-devel@gnu.org; Tue, 18 Sep 2007 00:14:12 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXUSy-0001Iq-Ax for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 00:13:40 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IXUTR-00025T-Tj for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 00:14:12 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXUTR-00025J-GK for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 00:14:09 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-75-160.inter.net.il [80.230.75.160]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DQO69928 (AUTH halo1); Tue, 18 Sep 2007 06:14:06 +0200 (IST) In-reply-to: <87vea8wsqo.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79169 gmane.emacs.pretest.bugs:19917 Archived-At: > From: "Stephen J. Turnbull" > Cc: "Chris Moore" , > emacs-pretest-bug@gnu.org > Date: Tue, 18 Sep 2007 12:35:27 +0900 > > Eli Zaretskii writes: > > > It would be a performance hit: Emacs will need to open a file and read > > its first bytes just to know what to do with it. > > This is precisely what an autodetecting coding system does. No, that's not true; at least not in GNU Emacs. Autodetecting reads the file in its entirety.