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 21:32:36 +0200 Message-ID: References: <87vea8wsqo.fsf@uwakimon.sk.tsukuba.ac.jp> <87tzpswmjm.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190144035 23696 80.91.229.12 (18 Sep 2007 19:33:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 19:33:55 +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 21:33:47 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 1IXip4-00021N-Aq for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 21:33:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXip2-0003mw-D1 for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 15:33:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXioi-0003gb-3n for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:33:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXioe-0003eU-1Y for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:33:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXiod-0003eG-OR for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:32:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXiod-0000RR-E0 for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:32:59 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXio5-0006F6-F2 for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 15:32:25 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IXioO-0000O4-Hy for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 15:32:57 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXioN-0000NY-LF for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 15:32:44 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-117-56.inter.net.il [84.229.117.56]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IXN38041 (AUTH halo1); Tue, 18 Sep 2007 21:32:27 +0200 (IST) In-reply-to: <87tzpswmjm.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:79214 gmane.emacs.pretest.bugs:19923 Archived-At: > From: "Stephen J. Turnbull" > Cc: christopher.ian.moore@gmail.com, > emacs-pretest-bug@gnu.org > Date: Tue, 18 Sep 2007 14:49:17 +0900 > > Furthermore, there must be some scheme for buffering for process > coding systems. I'm not sure what buffering you had in mind. AFAIK, Emacs reads into a buffer whatever portion output of a process is available in the OS-maintained pipe, decodes that portion, and passes the decoded text to the filter or sentinel function. If I understand your intent correctly, there's no buffering on the Emacs side in this case.