From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#12598: 24.2; utf-8 codepoints in doc-strings and compression of .el and .elc files Date: Mon, 08 Oct 2012 07:36:56 +0200 Organization: Linux Private Site Message-ID: <877gr1y16v.fsf@Rainer.invalid> References: <877gr2b2in.fsf@Rainer.invalid> <87391qavzw.fsf@Rainer.invalid> <87bogdy1rv.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1349674661 8346 80.91.229.3 (8 Oct 2012 05:37:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 05:37:41 +0000 (UTC) To: 12598@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 07:37:47 2012 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 1TL62E-0002A8-EJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 07:37:46 +0200 Original-Received: from localhost ([::1]:46306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL628-0003Ho-9H for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 01:37:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL625-0003HY-Pr for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL624-000590-D4 for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL624-00058q-A8 for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TL62T-0001mj-OY for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:38:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <877gr2b2in.fsf@Rainer.invalid> Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Oct 2012 05:38: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13496746786852 (code B ref -1); Mon, 08 Oct 2012 05:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2012 05:37:58 +0000 Original-Received: from localhost ([127.0.0.1]:60605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL62P-0001mS-Rr for submit@debbugs.gnu.org; Mon, 08 Oct 2012 01:37:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56301) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TL62N-0001mE-FQ for submit@debbugs.gnu.org; Mon, 08 Oct 2012 01:37:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL61r-00056x-K1 for submit@debbugs.gnu.org; Mon, 08 Oct 2012 01:37:24 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:55881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL61r-00056t-HB for submit@debbugs.gnu.org; Mon, 08 Oct 2012 01:37:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL61q-0003Ga-HD for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL61p-00056Z-Ar for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:22 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL61p-00056V-4a for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 01:37:21 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TL61k-0001vd-LE for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 07:37:16 +0200 Original-Received: from pd9eb4824.dip.t-dialin.net ([217.235.72.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2012 07:37:16 +0200 Original-Received: from Stromeko by pd9eb4824.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2012 07:37:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb4824.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:zSF2NhJS8V+Ycx2vjR/dRUBT7dQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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 (newer, 2) 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:65363 Archived-At: Achim Gratz writes: > Andreas Schwab writes: >>> Debugger entered--Lisp error: (void-variable defalias) >> >> That's because #@N counts in bytes, not characters. > > I know, that's why I used goto-char to locate the place in org.elc and > then the correspoding definition in org.el. I've just decoded what you were telling me with that one-liner. Disregard what I wrote above, not enough coffee yet… So, any codepoint that is more than a single byte will throw the byte-compiler off, not just any utf-8 codepoint. Since this has been in Emacs likely ever since unicode strings have been introduced, I'd suggest adding a *strong* warning in some prominent place in the documentation about this even when it gets fixed in a newer version of Emacs. Otherwise it's all too easy to produce libraries that have mysterious failures depending on whatever Emacs was used to compile or run them. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada