From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#14595: Erroneous composition of lambda in emacs-lisp buffers with prog-prettify-symbols enabled Date: Wed, 12 Jun 2013 05:18:59 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7bdc06e4e8912304deec7b0a X-Trace: ger.gmane.org 1371007278 2613 80.91.229.3 (12 Jun 2013 03:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2013 03:21:18 +0000 (UTC) To: 14595@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 12 05:21:18 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 1Umbcb-0005ww-4d for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jun 2013 05:21:17 +0200 Original-Received: from localhost ([::1]:44108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umbca-0000kr-L8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jun 2013 23:21:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmbcS-0000j4-Tx for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:21:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmbcM-0004fP-U1 for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:21:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmbcM-0004fH-Qk for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UmbcM-0006pv-KE for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2013 03:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.137100720426139 (code B ref -1); Wed, 12 Jun 2013 03:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2013 03:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:57637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UmbbP-0006nV-EU for submit@debbugs.gnu.org; Tue, 11 Jun 2013 23:20:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UmbbM-0006mt-Iv for submit@debbugs.gnu.org; Tue, 11 Jun 2013 23:20:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmbbC-0004Az-KU for submit@debbugs.gnu.org; Tue, 11 Jun 2013 23:19:55 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmbbC-0004Aj-Gd for submit@debbugs.gnu.org; Tue, 11 Jun 2013 23:19:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umbb6-0000bH-SU for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:19:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umbb2-000483-5z for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:19:44 -0400 Original-Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]:33429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umbb1-00047v-VF for bug-gnu-emacs@gnu.org; Tue, 11 Jun 2013 23:19:40 -0400 Original-Received: by mail-ie0-f179.google.com with SMTP id c10so13135825ieb.24 for ; Tue, 11 Jun 2013 20:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=SkqnUiHKUnj6KXf9LSXoiFyCzu6ePzLHJo9BWqqRpQk=; b=iAcqTDdl82bSk7NSTrImxJVyUjQMm2LL9urut4NraL6MHQbSyUDGNEKtimBzSrti8m 3ciRhOtnWCtk/4iiDnMQtX4OXy3rt2F6SeSoCQ6JtSMdVkwSzRVm/LXE+n2U3ME1h2Va ixxu2jFvE0+lZaSrT8QAQFxB1Q44HOvdenrgjUSHB+OVsnpPUbGllBbgTRYN6J4+T99B hSdUTsLWgQ+iH3JT+H0QmVBwisfADc2tsqJvXZmnmnd73jrMh45OMzzfdJYdDt4XXehm R/d3X6gKv4XRvczsAunPFixl8FZzok0nJ4tjLC04JDrZwfw+IzHxkesKvWxarZ8QKFWZ ozcw== X-Received: by 10.50.39.101 with SMTP id o5mr2412298igk.56.1371007179326; Tue, 11 Jun 2013 20:19:39 -0700 (PDT) Original-Received: by 10.64.126.161 with HTTP; Tue, 11 Jun 2013 20:18:59 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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:75002 Archived-At: --047d7bdc06e4e8912304deec7b0a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Package: emacs Version: 24.3.50 With a test file lambda.el which contains 1000 identical lines: (lambda (x) x) emacs -Q --eval "(setq-default prog-prettify-symbols t)" lambda.el In most cases, lambda is correctly composed to =CE=BB; in a few, it is composed (apparently) like a supperposition of the characters in "lambda" (attached image included). If I visit lambda.el as in the example above, and scroll down the buffer, I get 26 such failures, always at the same lines (168, 280, 364, 432, 489, 538, 581, 619, 654, 686, 715, 742, 767, 791, 813, 834, 854, 873, 891, 908, 924, 940, 955, 970, 984 and 998); however, if upon visiting the file I go to the end of the buffer and scroll up, I get many more failures (about 60) at diferent lines, but also consistently the same lines. describe-char for a correct composition: position: 2492 of 15000 (17%), column: 1 character: l (displayed as l) (codepoint 108, #o154, #x6c) preferred charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x6C script: latin syntax: w which means: word category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #x6C file code: #x6C (encoded by coding system utf-8-dos) display: composed to form "lambda" (see below) Composed with the following character(s) "ambda" by the rule: (?=CE=BB) The component character(s) are displayed by these fonts (glyph codes): =CE=BB: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso10646-1 (#x21C) See the variable `reference-point-alist' for the meaning of the rule. Character code properties: customize what to show name: LATIN SMALL LETTER L general-category: Ll (Letter, Lowercase) decomposition: (108) ('l') There are text properties here: composition [Show] face font-lock-keyword-face fontified t describe-char for a wrong one: position: 2507 of 15000 (17%), column: 1 character: l (displayed as l) (codepoint 108, #o154, #x6c) preferred charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x6C script: latin syntax: w which means: word category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #x6C file code: #x6C (encoded by coding system utf-8-dos) display: composed to form "lambda" (see below) Composed with the following character(s) "ambda" by the rule: (?l ?a ?m ?b ?d ?a) The component character(s) are displayed by these fonts (glyph codes): l: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x4F) a: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x44) m: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x50) b: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x45) d: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x47) a: uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x44) See the variable `reference-point-alist' for the meaning of the rule. Character code properties: customize what to show name: LATIN SMALL LETTER L general-category: Ll (Letter, Lowercase) decomposition: (108) ('l') There are text properties here: composition [Show] face font-lock-keyword-face fontified t --047d7bdc06e4e8912304deec7b0a Content-Type: image/png; name="bug.png" Content-Disposition: attachment; filename="bug.png" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhty6r6f0 iVBORw0KGgoAAAANSUhEUgAAAFcAAAEoCAIAAACiqfqbAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAcbSURBVHhe7ZpBTttOHIU5Cq3UQ7DpBVj3Clyg vUbFliVpqwqJbrJpN2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