From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: md5 checksum of a img file, or get the value of 100th byte Date: Fri, 06 Jun 2008 19:33:40 +0300 Message-ID: References: <196be374-4aa5-4c2f-ac8d-9555502d386c@s21g2000prm.googlegroups.com> <861w3azkpi.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1212770155 14462 80.91.229.12 (6 Jun 2008 16:35:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 16:35:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 18:36:37 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4evd-00018e-Fe for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 18:36:37 +0200 Original-Received: from localhost ([127.0.0.1]:38477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4euq-0003l3-Ks for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 12:35:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4esr-0002dX-6s for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 12:33:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4esp-0002c4-6O for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 12:33:44 -0400 Original-Received: from [199.232.76.173] (port=39270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4eso-0002bx-Tt for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 12:33:42 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:15013) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4eso-0005vL-Fh for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 12:33:42 -0400 Original-Received: from HOME-C4E4A596F7 ([80.230.28.131]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K2100935W10SZA0@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 19:48:37 +0300 (IDT) In-reply-to: <861w3azkpi.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54537 Archived-At: > From: Ted Zlatanov > Date: Fri, 06 Jun 2008 09:44:57 -0500 > > On Thu, 05 Jun 2008 22:17:02 +0300 Eli Zaretskii wrote: > > EZ> Reading the file into a buffer and then working on that buffer is one > EZ> of the most efficient operations in Emacs. After all, this is the > EZ> most basic operation of any text editor, so it must be heavily > EZ> optimized. > > Not if the file is large :) Yes, even if the file is large. Note, I'm talking about Emacs, not about any computer program in general. > I'd like to see a 'sliding editing window' for large files but I > think it would require changes at the C level. ??? insert-file-contents already can read only a portion of a file. See its doc string.