From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: md5 checksum of a img file, or get the value of 100th byte
Date: Fri, 06 Jun 2008 13:55:18 -0500 [thread overview]
Message-ID: <868wxixujt.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.12786.1212770026.18990.help-gnu-emacs@gnu.org
On Fri, 06 Jun 2008 19:33:40 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Date: Fri, 06 Jun 2008 09:44:57 -0500
>>
>> On Thu, 05 Jun 2008 22:17:02 +0300 Eli Zaretskii <eliz@gnu.org> 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 :)
EZ> Yes, even if the file is large.
EZ> Note, I'm talking about Emacs, not about any computer program in
EZ> general.
I thought you meant the OP should just read the whole file into the
buffer, which is a bad idea for large files. Sorry.
>> I'd like to see a 'sliding editing window' for large files but I
>> think it would require changes at the C level.
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, and it's hard to do it efficiently because
every save is so painful, not to mention selecting the whole buffer and
other normally simple operations. Read-only may be somewhat OK but lots
of basic commands will need to be advised or overridden.
Ted
next prev parent reply other threads:[~2008-06-06 18:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 11:29 md5 checksum of a img file, or get the value of 100th byte Xah
2008-06-05 19:17 ` Eli Zaretskii
[not found] ` <mailman.12717.1212693595.18990.help-gnu-emacs@gnu.org>
2008-06-06 14:44 ` Ted Zlatanov
2008-06-06 16:33 ` Eli Zaretskii
[not found] ` <mailman.12786.1212770026.18990.help-gnu-emacs@gnu.org>
2008-06-06 18:55 ` Ted Zlatanov [this message]
2008-06-06 20:07 ` Eli Zaretskii
[not found] ` <mailman.12802.1212782926.18990.help-gnu-emacs@gnu.org>
2008-06-06 22:45 ` Ted Zlatanov
2008-06-07 6:34 ` Eli Zaretskii
[not found] ` <mailman.12833.1212820449.18990.help-gnu-emacs@gnu.org>
2008-06-09 15:04 ` Ted Zlatanov
2008-06-09 15:58 ` Eli Zaretskii
2008-06-07 0:03 ` Tim X
2008-06-09 15:15 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868wxixujt.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).