From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: very slow archive-mode Date: Sun, 16 Mar 2008 11:23:06 +0900 Message-ID: References: <200803122247.58553.pogonyshev@gmx.net> <87k5k6qjp8.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1205634210 23860 80.91.229.12 (16 Mar 2008 02:23:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2008 02:23:30 +0000 (UTC) Cc: pogonyshev@gmx.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 16 03:23:58 2008 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 1JaiXU-0001Ca-Iu for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 03:23:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaiWv-0001E3-3g for ged-emacs-devel@m.gmane.org; Sat, 15 Mar 2008 22:23:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaiWr-0001Dy-RQ for emacs-devel@gnu.org; Sat, 15 Mar 2008 22:23:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaiWp-0001Dm-M0 for emacs-devel@gnu.org; Sat, 15 Mar 2008 22:23:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaiWp-0001Dj-GB for emacs-devel@gnu.org; Sat, 15 Mar 2008 22:23:15 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JaiWo-00012g-RW for emacs-devel@gnu.org; Sat, 15 Mar 2008 22:23:15 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m2G2N7mA009221; Sun, 16 Mar 2008 11:23:07 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m2G2N72k012559; Sun, 16 Mar 2008 11:23:07 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m2G2N6cR009376; Sun, 16 Mar 2008 11:23:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JaiWg-0005uD-E1; Sun, 16 Mar 2008 11:23:06 +0900 In-reply-to: <87k5k6qjp8.fsf@jurta.org> (message from Juri Linkov on Fri, 14 Mar 2008 03:03:35 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:92713 Archived-At: In article <87k5k6qjp8.fsf@jurta.org>, Juri Linkov writes: > Using a separate unibyte buffer may be a good solution, but there is one > possible problem: it would be difficult to find this hidden separate > buffer to kill it with the purpose to free up the memory occupied by the > file buffer after interrupting its loading (perhaps, this buffer can be > killed using unwind-protect during loading and kill-buffer-hook for C-x k). > So it seems a separate unibyte buffer would be necessary only if it will > be impossible to get the fast reading without leaving the file buffer > in the modified state. I installed a change to use no-convesion-multibyte for archive files. Please try with the latest code. > PS. Fortunately, I had a copy of the corrupted archive on a DVD, > so nothing was lost, but nevertheless this is a damaging problem. Hering that, I feel greatly reliaved. --- Kenichi Handa handa@ni.aist.go.jp