From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: md5 checksum of a img file, or get the value of 100th byte Date: Fri, 06 Jun 2008 17:45:43 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86lk1iw5bc.fsf@lifelogs.com> References: <196be374-4aa5-4c2f-ac8d-9555502d386c@s21g2000prm.googlegroups.com> <861w3azkpi.fsf@lifelogs.com> <868wxixujt.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212795649 28444 80.91.229.12 (6 Jun 2008 23:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 23:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 07 01:41:31 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 1K4lYi-0005Aw-La for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2008 01:41:24 +0200 Original-Received: from localhost ([127.0.0.1]:45848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4lXv-0002Cj-Lu for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 19:40:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: news.albasani.net LzjgCA27aWo9JCaxpk6PmhdfY9myi7m5gAW7Jld4EbZLMOr/H+juhKAw4W50JtySxtsBT/LgWXqhVeOnpmR/J2KaWC3TllQwXnabA4q471aT00m5WfZ7M0YlHYRiO86D Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Fri, 6 Jun 2008 22:41:57 +0000 (UTC) X-User-ID: +wLdymMfR1WkI9S2eQ9g4TLkZ5pqWF0+1k0im+MUav0= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:kgbarFFEfTnUsjUwFMNjoUSuR+U= sha1:0E2qThQhlSHI5/tealykCFeRCck= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: H8tApNuYzai6C4gdTj5lqQAqdngD5K1ImQ1tNSp7RYw= Original-Xref: news.stanford.edu gnu.emacs.help:159201 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:54559 Archived-At: On Fri, 06 Jun 2008 23:07:11 +0300 Eli Zaretskii wrote: >> From: Ted Zlatanov >> Date: Fri, 06 Jun 2008 13:55:18 -0500 >> EZ> ??? insert-file-contents already can read only a portion of a file. EZ> See its doc string. >> >> I know about that. I'd like to be able to open a 1 GB file in Emacs and >> view just a piece at a time, in a sliding window. I am not aware of >> functionality to do this EZ> For viewing such a file, it should be easy to write some Lisp using EZ> insert-file-contents to read a file one chunk at a time. That's what I meant, but it's definitely not easy. Emacs assumes it can just copy all data into the kill ring, for instance. I couldn't write such a node though I'd appreciate it very much. EZ> For editing, I submit that there should be no reason to edit such EZ> large files. Maybe 10 years ago that was true. Today I see huge (over 300 MB) files very often (as a programmer and as a sysadmin). Logs of all sorts, for instance, and database dumps. It gets annoying to use less, split, grep, and Perl to get things done when in Emacs it would have been a few quick commands. But I cope. Ted