From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19496: 25.0.50; term.c, produce_composite_glyh, cmp->pixel_width uninitialized Date: Sat, 03 Jan 2015 20:17:26 +0200 Message-ID: <83fvbrafux.fsf@gnu.org> References: <0FD61621-E12F-4183-B1A3-BFA8482B7FA5@gmail.com> Reply-To: Eli Zaretskii 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 1420309100 14741 80.91.229.3 (3 Jan 2015 18:18:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 18:18:20 +0000 (UTC) Cc: 19496@debbugs.gnu.org To: "Stephen C. Gilardi" , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 19:18:10 2015 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 1Y7TH8-0008C0-30 for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 19:18:10 +0100 Original-Received: from localhost ([::1]:55010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7TH7-0003kG-60 for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 13:18:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7TH3-0003j9-Vc for bug-gnu-emacs@gnu.org; Sat, 03 Jan 2015 13:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7TH0-0003q2-P0 for bug-gnu-emacs@gnu.org; Sat, 03 Jan 2015 13:18:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7TH0-0003py-MT for bug-gnu-emacs@gnu.org; Sat, 03 Jan 2015 13:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7TH0-0003xy-AC for bug-gnu-emacs@gnu.org; Sat, 03 Jan 2015 13:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jan 2015 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19496 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19496-submit@debbugs.gnu.org id=B19496.142030905315210 (code B ref 19496); Sat, 03 Jan 2015 18:18:02 +0000 Original-Received: (at 19496) by debbugs.gnu.org; 3 Jan 2015 18:17:33 +0000 Original-Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7TGW-0003xG-OJ for submit@debbugs.gnu.org; Sat, 03 Jan 2015 13:17:33 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:57657) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7TGS-0003x1-UF for 19496@debbugs.gnu.org; Sat, 03 Jan 2015 13:17:30 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NHM006004WDEN00@a-mtaout21.012.net.il> for 19496@debbugs.gnu.org; Sat, 03 Jan 2015 20:17:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHM006325H29X70@a-mtaout21.012.net.il>; Sat, 03 Jan 2015 20:17:26 +0200 (IST) In-reply-to: <0FD61621-E12F-4183-B1A3-BFA8482B7FA5@gmail.com> X-012-Sender: halo1@inter.net.il 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 3.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:97963 Archived-At: > From: "Stephen C. Gilardi" > Date: Sat, 3 Jan 2015 09:20:52 -0500 > > emacs -Q > open an emacs lisp file that contains (lambda ... ) > turn on prettify-symbols-mode > the lambda form is converted to (λ ... ), and should be displayed that way, but instead it's displayed as > (\ > λ > ...) > > This commit is the first on master to show the problem: 20791069fa34b486c018ba7f27982bdc6ad2a4ea (found by git bisect) I think that commit was mistaken, and should be reverted, because before it this worked correctly. CC'ing Paul, who made the change, and Handa-san, who probably wrote it. Paul, was there a use case where you saw a problem with the original code? If so, can you show it? > I don't see an obvious fix. Why do you think the previous code is not TRT? > There seems to be some confusing use in the code between "width in columns" and "width in pixels". It's possible that the pixel_width field in "struct it" is not named precisely for how it’s used--in a terminal, the width may actually be used as a number of columns rather than a number of pixels. On a text terminal, each glyph is 1 pixel wide. So on a text terminal these two are identical.