From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27403: 26.0.50; Indentation misalignment with Unicode code points >65535 Date: Sat, 17 Jun 2017 13:28:09 +0300 Message-ID: <83shiyzz5y.fsf@gnu.org> References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@gmail.com> <83tw3fyr7k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1497695354 30052 195.159.176.226 (17 Jun 2017 10:29:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2017 10:29:14 +0000 (UTC) Cc: 27403@debbugs.gnu.org, adam.niederer@gmail.com To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 17 12:29:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMAyb-0007V1-4b for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 12:29:09 +0200 Original-Received: from localhost ([::1]:34075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMAyg-00033u-6S for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 06:29:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMAyY-00033e-Mn for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 06:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMAyU-0006Gx-4V for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 06:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMAyU-0006Gr-0W for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 06:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMAyT-00053s-RQ for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 06:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jun 2017 10:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27403 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27403-submit@debbugs.gnu.org id=B27403.149769531819427 (code B ref 27403); Sat, 17 Jun 2017 10:29:01 +0000 Original-Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 10:28:38 +0000 Original-Received: from localhost ([127.0.0.1]:52138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMAy6-00053H-3w for submit@debbugs.gnu.org; Sat, 17 Jun 2017 06:28:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMAy4-000533-CW for 27403@debbugs.gnu.org; Sat, 17 Jun 2017 06:28:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMAxu-00060G-E1 for 27403@debbugs.gnu.org; Sat, 17 Jun 2017 06:28:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMAxu-00060A-Av; Sat, 17 Jun 2017 06:28:26 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1414 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dMAxt-0006JY-Db; Sat, 17 Jun 2017 06:28:26 -0400 In-reply-to: (message from Andreas Schwab on Sat, 17 Jun 2017 10:24:41 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:133691 Archived-At: > From: Andreas Schwab > Cc: Adam Niederer , 27403@debbugs.gnu.org > Date: Sat, 17 Jun 2017 10:24:41 +0200 > > On Jun 17 2017, Eli Zaretskii wrote: > > > That's because U+1F44D is a double-width character: > > > > (char-width ?👍) => 2 > > The list in international/character.el is outdated. I think the intent was to produce it from the Unicode data (EastAsianWidth.txt). I don't recall why this didn't happen; patches are welcome. Alternatively, synching the data with the latest Unicode manually would be good as a stopgap. > > So as long as indentation works in columns and not in pixels, this is > > a "feature". > > You surely don't want indentation to depend on font selection. Patches for doing indentation in pixels are welcome, of course.