From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#12598: 24.2; utf-8 codepoints in doc-strings and compression of .el and .elc files Date: Fri, 01 Feb 2013 18:23:10 +0900 Message-ID: <8738xg5qwx.fsf@gnu.org> References: <877gr2b2in.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359711064 916 80.91.229.3 (1 Feb 2013 09:31:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2013 09:31:04 +0000 (UTC) Cc: Stromeko@nexgo.de, 12598@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 01 10:31:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U1Cxu-0007SC-TZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Feb 2013 10:31:23 +0100 Original-Received: from localhost ([::1]:51530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1Cxc-0006Tg-PR for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Feb 2013 04:31:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1CxY-0005PC-OU for bug-gnu-emacs@gnu.org; Fri, 01 Feb 2013 04:31:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1Crz-0008Ax-92 for bug-gnu-emacs@gnu.org; Fri, 01 Feb 2013 04:25:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1Crz-0008At-5O for bug-gnu-emacs@gnu.org; Fri, 01 Feb 2013 04:25:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U1Csj-0003H5-Ku for bug-gnu-emacs@gnu.org; Fri, 01 Feb 2013 04:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Feb 2013 09:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12598-submit@debbugs.gnu.org id=B12598.135971075212573 (code B ref 12598); Fri, 01 Feb 2013 09:26:01 +0000 Original-Received: (at 12598) by debbugs.gnu.org; 1 Feb 2013 09:25:52 +0000 Original-Received: from localhost ([127.0.0.1]:58612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1CsZ-0003Gj-U7 for submit@debbugs.gnu.org; Fri, 01 Feb 2013 04:25:52 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:50479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1CsX-0003Gb-T8 for 12598@debbugs.gnu.org; Fri, 01 Feb 2013 04:25:51 -0500 Original-Received: from 253.240.accsnet.ne.jp ([202.220.240.253]:64616 helo=mongkok) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1U1Crl-0002Bl-Rt; Fri, 01 Feb 2013 04:25:02 -0500 In-Reply-To: (message from Stefan Monnier on Thu, 31 Jan 2013 13:15:20 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70557 Archived-At: In article , Stefan Monnier 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 handa@gnu.org