From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jackson Ray Hamilton Newsgroups: gmane.emacs.bugs Subject: bug#30225: 27.0.50; jsx: Arrow function in attribute breaks indentation Date: Tue, 4 Jun 2019 20:05:42 -0700 Message-ID: <68d1034c-2280-18cf-9f67-7bb5606fc121@jacksonrayhamilton.com> References: <87shaxe546.fsf@grinchel.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190709"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cc: mitch.special@gmail.com To: 30225@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 05 05:06:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYMFh-000nSv-1j for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jun 2019 05:06:13 +0200 Original-Received: from localhost ([127.0.0.1]:34574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYMFf-0003i5-N0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Jun 2019 23:06:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYMFY-0003hm-N3 for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2019 23:06:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYMFX-0004yf-1K for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2019 23:06:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYMFW-0004xm-G4 for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2019 23:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYMFW-00087L-85 for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2019 23:06:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87shaxe546.fsf@grinchel.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Jackson Ray Hamilton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jun 2019 03:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30225 X-GNU-PR-Package: emacs Original-Received: via spool by 30225-submit@debbugs.gnu.org id=B30225.155970395131181 (code B ref 30225); Wed, 05 Jun 2019 03:06:02 +0000 Original-Received: (at 30225) by debbugs.gnu.org; 5 Jun 2019 03:05:51 +0000 Original-Received: from localhost ([127.0.0.1]:46215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYMFK-00086q-PG for submit@debbugs.gnu.org; Tue, 04 Jun 2019 23:05:50 -0400 Original-Received: from mta-08-4.privateemail.com ([198.54.122.58]:18806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYMFI-00086b-GL for 30225@debbugs.gnu.org; Tue, 04 Jun 2019 23:05:48 -0400 Original-Received: from MTA-08.privateemail.com (localhost [127.0.0.1]) by MTA-08.privateemail.com (Postfix) with ESMTP id C37B760038; Tue, 4 Jun 2019 23:05:42 -0400 (EDT) Original-Received: from [192.168.88.227] (unknown [10.20.151.234]) by MTA-08.privateemail.com (Postfix) with ESMTPA id 94D3F60033; Wed, 5 Jun 2019 03:05:42 +0000 (UTC) Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP 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: 209.51.188.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:160134 Archived-At: Hi Mitchell, A set of changes I pushed to the Emacs master branch 2 months ago should resolve this issue.  (First fixed in be86ece42c, but there were several commits after that when I broke/fixed it again.  The master branch is your best bet.) Note that you might not need to use js-jsx-mode any more, either; support for JSX should be enabled in js-mode if you include the “React” library in a file, or if the file ends in “.jsx”. Jackson