Subject: bug#12598: 24.2; utf-8 codepoints in doc-strings and compression of .el and .elc files

From: Kenichi Handa <[email-masked]>
Date: Fri, 01 Feb 2013 18:23:10 +0900

In article <[email-masked]>, Stefan Monnier <[email-masked]> writes:

> I think the problem lies between load-with-code-conversion and
> eval-buffer, so it dates back to the introduction of
> load-with-code-conversion, which IIRC predates the internal use
> of Unicode.

> Fixing `eval-buffer' so that it skips bytes when it sees #@NN is tricky,
> so the best fix is probably to change load-with-code-conversion so that
> (if the file is byte-compiled) it saves the buffer to a temp file and
> passes that to `load'.

The variable load-source-file-function is set to
load-with-code-converision, and Fload calls
load-source-file-function.  So, shouldn't we provide a file
name handler for `load' operation instead of
making load-source-file-function handle non-source files?

---
Kenichi Handa
[email-masked]