emacs-devel
[Top][All Lists]
Advanced

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

docs for insert-file-contents use 'bytes'


From: Ted Zlatanov
Subject: docs for insert-file-contents use 'bytes'
Date: Mon, 29 Sep 2008 14:58:17 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

The docs for insert-file-contents say the range is in bytes, but that
function does decoding of the contents.  Can it, therefore, read from an
undesirable position (e.g. the middle of a UTF-8 sequence)?  How does
Emacs handle that?  Or does "bytes" really mean position by character?

Either way the docs need to state the operation mode clearly.  I'd do it
but I don't know enough :)

Thanks
Ted





reply via email to

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