[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: docs for insert-file-contents use 'bytes'
From: |
Kenichi Handa |
Subject: |
Re: docs for insert-file-contents use 'bytes' |
Date: |
Thu, 02 Oct 2008 10:58:47 +0900 |
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) |
In article <address@hidden>, Ted Zlatanov <address@hidden> writes:
> That's fine. I would just seek back N bytes and resynchronize (see
> above). I could also make the mode only work with bytes, bypassing
> encoding schemes. This would be a good thing, actually, for cases where
> the user might page or search through many megabytes of data quickly.
How about reading a file in a unibyte buffer with
no-conversion, and decode one page by one into a view
buffer. Except for UTF-16 encoding, it is safe to set the
decoding boundary at newline positions.
---
Kenichi Handa
address@hidden