emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: docs for insert-file-contents use 'bytes'


From: Eli Zaretskii
Subject: Re: docs for insert-file-contents use 'bytes'
Date: Tue, 30 Sep 2008 10:19:26 +0300

> From: Ted Zlatanov <address@hidden>
> Date: Mon, 29 Sep 2008 16:04:13 -0500
> 
> This is not a safe operation mode with multibyte sequences; is there a
> way to DTRT?  I'm specifically thinking about a paged buffer mode where
> you only see a small portion of the file (for editing large files, as we
> discussed in another newsgroup a while ago).

How about this idea: read a bit more than you want, then find safe
place to end this page-full?

> I don't know if this is the right wording, but it's a pretty essential
> operation so it should give some warning about this common (nowadays)
> case.

Is it really a common case that insert-file-contents is used to read a
portion of a file?  Where is this used?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]