GNU bug report logs - #27403
26.0.50; Indentation misalignment with Unicode code points >65535

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Adam Niederer <adam.niederer@HIDDEN>; dated Sat, 17 Jun 2017 06:55:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 18:22:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 14:22:09 2017
Received: from localhost ([127.0.0.1]:53642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dMIMK-000307-UT
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 14:22:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49789)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dMIMI-0002ze-FK
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 14:22:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dMIMA-0003Ej-7n
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 14:22:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44663)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dMIMA-0003Ed-4R; Sat, 17 Jun 2017 14:21:58 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2624
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dMIM8-0001F0-Fc; Sat, 17 Jun 2017 14:21:57 -0400
Date: Sat, 17 Jun 2017 21:21:35 +0300
Message-Id: <83fueyzd8w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-reply-to: <87wp8amqrn.fsf@HIDDEN> (message from Andreas Schwab on
 Sat, 17 Jun 2017 20:07:56 +0200)
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN> <m2wp8b10om.fsf@HIDDEN>
 <83shiyzz5y.fsf@HIDDEN> <8737ayolx3.fsf@HIDDEN>
 <83poe2zqae.fsf@HIDDEN> <87wp8amqrn.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, adam.niederer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: adam.niederer@HIDDEN,  27403 <at> debbugs.gnu.org
> Date: Sat, 17 Jun 2017 20:07:56 +0200
> 
> On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> wrote:
> 
> > OK, then why did you say the data was outdated?
> 
> Because it was.

Where's the up-to-date data we could use?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 18:08:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 14:08:01 2017
Received: from localhost ([127.0.0.1]:53629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dMI8f-0002ep-3N
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 14:08:01 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:42814)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1dMI8c-0002eg-Uk
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 14:07:59 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3wqlb15WTxz1qr7V;
 Sat, 17 Jun 2017 20:07:57 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 3wqlb141SNz3jgYP;
 Sat, 17 Jun 2017 20:07:57 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id XiwboKvRWGtl; Sat, 17 Jun 2017 20:07:56 +0200 (CEST)
X-Auth-Info: R+kxRt9kycUnddOiYf3xv+9VrsTgnw97hUr2yjIEANreCHoZDb0sOvevNdEQ7coF
Received: from igel.home (ppp-88-217-6-55.dynamic.mnet-online.de [88.217.6.55])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sat, 17 Jun 2017 20:07:56 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 2CC212C3BB2; Sat, 17 Jun 2017 20:07:56 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN> <m2wp8b10om.fsf@HIDDEN>
 <83shiyzz5y.fsf@HIDDEN> <8737ayolx3.fsf@HIDDEN>
 <83poe2zqae.fsf@HIDDEN>
X-Yow: Do you have exactly what I want in a plaid poindexter bar bat??
Date: Sat, 17 Jun 2017 20:07:56 +0200
In-Reply-To: <83poe2zqae.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 17 Jun
 2017 16:39:53 +0300")
Message-ID: <87wp8amqrn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, adam.niederer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> wrote:

> OK, then why did you say the data was outdated?

Because it was.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 13:40:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 09:40:19 2017
Received: from localhost ([127.0.0.1]:52251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dMDxb-0002rg-JB
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 09:40:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dMDxa-0002rU-KE
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 09:40:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dMDxR-0007Pm-Bv
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 09:40:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41744)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dMDxR-0007Pi-9E; Sat, 17 Jun 2017 09:40:09 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1516
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dMDxQ-0000f4-Gm; Sat, 17 Jun 2017 09:40:08 -0400
Date: Sat, 17 Jun 2017 16:39:53 +0300
Message-Id: <83poe2zqae.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-reply-to: <8737ayolx3.fsf@HIDDEN> (message from Andreas Schwab on
 Sat, 17 Jun 2017 14:09:44 +0200)
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN> <m2wp8b10om.fsf@HIDDEN>
 <83shiyzz5y.fsf@HIDDEN> <8737ayolx3.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, adam.niederer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: adam.niederer@HIDDEN,  27403 <at> debbugs.gnu.org
> Date: Sat, 17 Jun 2017 14:09:44 +0200
> 
> On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> wrote:
> 
> > 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.
> 
> Actually, even Unicode 10 lists it as double width.

OK, then why did you say the data was outdated?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 12:09:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 08:09:49 2017
Received: from localhost ([127.0.0.1]:52176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dMCY1-0000k2-HB
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 08:09:49 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:57412)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1dMCXz-0000jt-Qd
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 08:09:48 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3wqbdk3vWLz1qql6;
 Sat, 17 Jun 2017 14:09:46 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 3wqbdk1Xrgz3jRBl;
 Sat, 17 Jun 2017 14:09:46 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id IsJDG3REwiHG; Sat, 17 Jun 2017 14:09:45 +0200 (CEST)
X-Auth-Info: bnJfJTjAojNVWimkwjfOHpTuflOAZ9nLg18XH1x2NFqgBb3iRgvk/T1pnsfi+wY+
Received: from igel.home (ppp-88-217-6-55.dynamic.mnet-online.de [88.217.6.55])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sat, 17 Jun 2017 14:09:45 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id F35562C3BAF; Sat, 17 Jun 2017 14:09:44 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN> <m2wp8b10om.fsf@HIDDEN>
 <83shiyzz5y.fsf@HIDDEN>
X-Yow: I'm continually AMAZED at th'breathtaking effects of WIND EROSION!!
Date: Sat, 17 Jun 2017 14:09:44 +0200
In-Reply-To: <83shiyzz5y.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 17 Jun
 2017 13:28:09 +0300")
Message-ID: <8737ayolx3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, adam.niederer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> wrote:

> 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.

Actually, even Unicode 10 lists it as double width.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 10:28:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 06:28:38 2017
Received: from localhost ([127.0.0.1]:52138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dMAy6-00053H-3w
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 06:28:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59863)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dMAy4-000533-CW
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 06:28:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dMAxu-00060G-E1
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 06:28:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40278)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dMAxu-00060A-Av; Sat, 17 Jun 2017 06:28:26 -0400
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 <eliz@HIDDEN>)
 id 1dMAxt-0006JY-Db; Sat, 17 Jun 2017 06:28:26 -0400
Date: Sat, 17 Jun 2017 13:28:09 +0300
Message-Id: <83shiyzz5y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
In-reply-to: <m2wp8b10om.fsf@HIDDEN> (message from Andreas Schwab on
 Sat, 17 Jun 2017 10:24:41 +0200)
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN> <m2wp8b10om.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, adam.niederer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Adam Niederer <adam.niederer@HIDDEN>,  27403 <at> debbugs.gnu.org
> Date: Sat, 17 Jun 2017 10:24:41 +0200
> 
> On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 08:24:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 04:24:49 2017
Received: from localhost ([127.0.0.1]:52049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dM92H-0002Ab-1j
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 04:24:49 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:37791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1dM92E-0002AS-Pf
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 04:24:47 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3wqVf52TGkz1qr87;
 Sat, 17 Jun 2017 10:24:45 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 3wqVf50bNYz3j36n;
 Sat, 17 Jun 2017 10:24:45 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 1qF8k8NRdC4s; Sat, 17 Jun 2017 10:24:43 +0200 (CEST)
X-Auth-Info: /Jwh8YWI0V3rXQV68n3y/zimKbnh7lOVY5BWzAyNzrqeO0MfNWyKrWpmUSQxTLVW
Received: from linux.local (ppp-88-217-6-55.dynamic.mnet-online.de
 [88.217.6.55]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sat, 17 Jun 2017 10:24:43 +0200 (CEST)
Received: by linux.local (Postfix, from userid 501)
 id 5905E1E56CE; Sat, 17 Jun 2017 10:24:41 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
 <83tw3fyr7k.fsf@HIDDEN>
X-Yow: I have a very good DENTAL PLAN.  Thank you.
Date: Sat, 17 Jun 2017 10:24:41 +0200
In-Reply-To: <83tw3fyr7k.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 17 Jun
 2017 11:05:19 +0300")
Message-ID: <m2wp8b10om.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org, Adam Niederer <adam.niederer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

On Jun 17 2017, Eli Zaretskii <eliz@HIDDEN> wrote:

> That's because U+1F44D is a double-width character:
>
>   (char-width ?👍) => 2

The list in international/character.el is outdated.

> 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.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 08:05:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 04:05:47 2017
Received: from localhost ([127.0.0.1]:52044 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dM8jr-0001kd-Ao
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 04:05:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dM8jp-0001kQ-Na
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 04:05:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dM8jh-0007Ve-FE
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 04:05:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39245)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dM8jh-0007VM-Bk; Sat, 17 Jun 2017 04:05:37 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1336
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dM8jg-0000s4-MG; Sat, 17 Jun 2017 04:05:37 -0400
Date: Sat, 17 Jun 2017 11:05:19 +0300
Message-Id: <83tw3fyr7k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Adam Niederer <adam.niederer@HIDDEN>
In-reply-to: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN> (message from
 Adam Niederer on Sat, 17 Jun 2017 02:28:41 -0400)
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.4 (---)

> From: Adam Niederer <adam.niederer@HIDDEN>
> Date: Sat, 17 Jun 2017 02:28:41 -0400
> 
> Hello, I believe I've found an indentation issue. To reproduce, start
> emacs, create a buffer in js-mode, paste in this code, and press C-x h
> TAB to indent the buffer:
> 
> let x = /* 👍 */ { foo: 0
>                    bar: 0 }
> 
> let x = /* ☺ */ { foo: 0
>                   bar: 0 }
> 
> Both 25.2 and 26.0.50 add one extra space before "bar" in the first
> first snippet with U+1F44D THUMBS UP SIGN in the comment, whereas the
> second snippet with U+263A WHITE SMILING FACE properly aligns "bar" with
> "foo".

That's because U+1F44D is a double-width character:

  (char-width ?👍) => 2

while U+263A is not double-width.

So as long as indentation works in columns and not in pixels, this is
a "feature".

> This appears to happen whenever the character in the comment needs a
> surrogate pair.

I don't believe surrogates have anything to do with this, since Emacs
works with Unicode codepoints, not their UTF-16 encodings.

> Interestingly, pressing TAB with one's point on the second line of each
> snippet to dedent the line yields a correct result for both symbols:
> 
> "👍", {"a": 2,
>     "b": 3}
> 
> "☺", {"a":2,
>     "b":3}

Which is probably a subtle bug: this should behave like the first
snippet.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at 27403 <at> debbugs.gnu.org:


Received: (at 27403) by debbugs.gnu.org; 17 Jun 2017 07:18:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 03:18:32 2017
Received: from localhost ([127.0.0.1]:52033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dM808-0000gD-Ep
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 03:18:32 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:44184)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1dM807-0000g4-KV
 for 27403 <at> debbugs.gnu.org; Sat, 17 Jun 2017 03:18:32 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3wqT9f35lHz1qqkp;
 Sat, 17 Jun 2017 09:18:30 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 3wqT9f0351z3jRBY;
 Sat, 17 Jun 2017 09:18:29 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id geU9dX04hxXq; Sat, 17 Jun 2017 09:18:29 +0200 (CEST)
X-Auth-Info: vp8ZuL9qlVcZbADikIYlj4vxevIoy8wxhFkPdxP+RUA0cTM2UZ8216DOpML5JENC
Received: from linux.local (ppp-88-217-6-55.dynamic.mnet-online.de
 [88.217.6.55]) by mail.mnet-online.de (Postfix) with ESMTPA;
 Sat, 17 Jun 2017 09:18:29 +0200 (CEST)
Received: by linux.local (Postfix, from userid 501)
 id 9F21E1E56CE; Sat, 17 Jun 2017 09:18:26 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Adam Niederer <adam.niederer@HIDDEN>
Subject: Re: bug#27403: 26.0.50;
 Indentation misalignment with Unicode code points >65535
References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
X-Yow: I pretend I'm living in a styrofoam packing crate, high in th'
 SWISS ALPS, still unable to accept th' idea of TOUCH-TONE DIALING!!
Date: Sat, 17 Jun 2017 09:18:26 +0200
In-Reply-To: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN> (Adam Niederer's
 message of "Sat, 17 Jun 2017 02:28:41 -0400")
Message-ID: <m21sqj2ibh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 27403
Cc: 27403 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

On Jun 17 2017, Adam Niederer <adam.niederer@HIDDEN> wrote:

> let x = /* 👍 */ { foo: 0
>                    bar: 0 }

(char-width ?👍) => 2

> let x = /* ☺ */ { foo: 0
>                   bar: 0 }

(char-width ?☺) => 1

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jun 2017 06:54:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 17 02:54:34 2017
Received: from localhost ([127.0.0.1]:51994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dM7cv-0008Tw-U8
	for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 02:54:34 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33207)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adam.niederer@HIDDEN>) id 1dM7E6-0007ox-TY
 for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 02:28:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adam.niederer@HIDDEN>) id 1dM7E0-0000kV-QT
 for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 02:28:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:35181)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adam.niederer@HIDDEN>)
 id 1dM7E0-0000kF-N7
 for submit <at> debbugs.gnu.org; Sat, 17 Jun 2017 02:28:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52411)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <adam.niederer@HIDDEN>) id 1dM7Dz-0005Om-Ct
 for bug-gnu-emacs@HIDDEN; Sat, 17 Jun 2017 02:28:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adam.niederer@HIDDEN>) id 1dM7Dw-0000gx-7I
 for bug-gnu-emacs@HIDDEN; Sat, 17 Jun 2017 02:28:47 -0400
Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:32845)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <adam.niederer@HIDDEN>)
 id 1dM7Dw-0000gJ-19
 for bug-gnu-emacs@HIDDEN; Sat, 17 Jun 2017 02:28:44 -0400
Received: by mail-qk0-x234.google.com with SMTP id r62so5480424qkf.0
 for <bug-gnu-emacs@HIDDEN>; Fri, 16 Jun 2017 23:28:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:subject:from:message-id:date:user-agent:mime-version
 :content-transfer-encoding:content-language;
 bh=jIpcSkvsceLy65sjZHeY4WZkZ3pOYv+EidMNDitv3LQ=;
 b=teezb543UH4HU1RFMq0sdc8JLWS/N8F11eYk02qf7/swg1xtyGQPvlm9ayZ400HAuJ
 otMP5hcRcm8qNX/e+/4tk1RtQaFX0j4LkQdb74ZxJebJcSjrxZ0Ncn4jvWMy2lF/V1RS
 RpWTRaBujX6b/wfgPwafk63DfFUcEZTyb4+hAOgCK2vQvBa2boJ7S4FH9Jou6KuKsb4P
 HGrDu6s1Q9TCtbw67CH6tRNe1VzV+6ne9CnlTdWaHig1D/2HeyZjkprW7UNAAwSzYJej
 //puNOzAtckD1+bSyzCu3rOGDy+MxwPyRUue23rZNMGvHlG63sdhbsIQ5lVLnF2qZ/SF
 TuBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:subject:from:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=jIpcSkvsceLy65sjZHeY4WZkZ3pOYv+EidMNDitv3LQ=;
 b=ZrTa70/PvCHTs9YB9FXh8q7sT8NgjCM7q0SLhHacJo/icMWa1E7bYPg3JQg7PgYWo2
 rmGzxvVoHq9VFFjj67mZk/lGtFsw6N/n9KrE8Tdhh1PZd0Eu+F461/hd1/pxVKFnHQpm
 1/ROvlqUp6jpGw0CnV0V8avkryU/+B579IpMdnKLYvgw3r9ZLCAD6ZaD/RadCgPqhhyR
 L59l5Tgb2k6WFHI1zHbmRC586hj+G4BmmMOHgSjQkXhWvgw5F7uI60P9tAPhHfsdxH1n
 CKkrm1FmXDZeDpIIjvUTS31vRBv/N7lkWw4F7j/i+uweWkNxVlaPLnApi7K+FWsAx75f
 RSyg==
X-Gm-Message-State: AKS2vOwPdq2FdgrJ2qQgVVY05hOmhp0VWbS4ORvhdVGWj+KUT3geZXwi
 GVmM6uDQGvqdQuQp3JE=
X-Received: by 10.55.181.69 with SMTP id e66mr16246702qkf.109.1497680922997;
 Fri, 16 Jun 2017 23:28:42 -0700 (PDT)
Received: from [192.168.1.5] (pool-173-59-6-166.phlapa.fios.verizon.net.
 [173.59.6.166])
 by smtp.gmail.com with ESMTPSA id p43sm2900423qtg.30.2017.06.16.23.28.41
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 16 Jun 2017 23:28:42 -0700 (PDT)
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.50; Indentation misalignment with Unicode code points >65535
From: Adam Niederer <adam.niederer@HIDDEN>
Message-ID: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@HIDDEN>
Date: Sat, 17 Jun 2017 02:28:41 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
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.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.4 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 17 Jun 2017 02:54:32 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hello, I believe I've found an indentation issue. To reproduce, start
emacs, create a buffer in js-mode, paste in this code, and press C-x h
TAB to indent the buffer:

let x = /* 👍 */ { foo: 0
                   bar: 0 }

let x = /* ☺ */ { foo: 0
                  bar: 0 }

Both 25.2 and 26.0.50 add one extra space before "bar" in the first
first snippet with U+1F44D THUMBS UP SIGN in the comment, whereas the
second snippet with U+263A WHITE SMILING FACE properly aligns "bar" with
"foo". This appears to happen whenever the character in the comment
needs a surrogate pair.

This issue also happens in python-mode:

"👍", {"a": 2,
       "b": 3}

"☺", {"a":2,
      "b":3}

Interestingly, pressing TAB with one's point on the second line of each
snippet to dedent the line yields a correct result for both symbols:

"👍", {"a": 2,
    "b": 3}

"☺", {"a":2,
    "b":3}

Just in case those Emoji don't make it through the mail properly, the
first snippet in each example contains U+1F44D THUMBS UP SIGN before
the map, and the second snippet contains U+263A WHITE SMILING FACE.

-Adam


In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.15)
of 2017-06-17 built on AdamsPC
Repository revision: 49c0ff29c2e0243ba35ec17e3e3af49369be43db
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description: Arch Linux

Recent messages:
Auto-saving...
20 (#o24, #x14, ?\C-t)
21 (#o25, #x15, ?\C-u)
20 (#o24, #x14, ?\C-t) [2 times]
Undo! [3 times]
20 (#o24, #x14, ?\C-t)
Auto-saving...
mwheel-scroll: Beginning of buffer
Mark set
Auto-saving...done

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD

Important settings:
value of $LC_COLLATE: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: JavaScript

Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr cl-extra help-fns radix-tree cl-seq help-mode
debug emacsbug message subr-x puny dired dired-loaddefs format-spec
rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils js advice sgml-mode dom json map seq
byte-opt bytecomp byte-compile cconv imenu thingatpt cc-mode cc-fonts
easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs cl gv cl-loaddefs cl-lib time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 133992 34676)
(symbols 48 23645 1)
(miscs 40 95 584)
(strings 32 30245 2336)
(string-bytes 1 974865)
(vectors 16 20847)
(vector-slots 8 721119 47152)
(floats 8 53 405)
(intervals 56 801 49)
(buffers 976 14))





Acknowledgement sent to Adam Niederer <adam.niederer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#27403; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 17 Jun 2017 18:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.