emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jka-compr.el doesn't recognise gzipped files from their magic bytes


From: Stephen J. Turnbull
Subject: Re: jka-compr.el doesn't recognise gzipped files from their magic bytes
Date: Tue, 18 Sep 2007 14:49:17 +0900

Eli Zaretskii writes:

 > > From: "Stephen J. Turnbull" <address@hidden>
 > > Cc: "Chris Moore" <address@hidden>,
 > >     address@hidden
 > > 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.

Well, if you're going to open and convert the file anyway, this isn't
really a loss.

Furthermore, there must be some scheme for buffering for process
coding systems.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]