From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#32158: 26.1; Broken JSX indentation in case of arrow function passing to props Date: Wed, 5 Jun 2019 13:58:09 +0300 Message-ID: References: <2e0ccd59-e688-645c-eada-c4c85ff88b8a@jacksonrayhamilton.com> 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="57779"; 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: valentignatev@gmail.com To: Jackson Ray Hamilton , 32158@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 05 12:59:31 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 1hYTdh-000ElB-Iy for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jun 2019 12:59:29 +0200 Original-Received: from localhost ([127.0.0.1]:39338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYTda-0003Pu-CW for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jun 2019 06:59:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYTdS-0003Pd-LP for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2019 06:59:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYTdL-0003Bh-4s for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2019 06:59:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYTdG-00031u-1I for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2019 06:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYTdF-0002v2-Tg for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2019 06:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jun 2019 10:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32158 X-GNU-PR-Package: emacs Original-Received: via spool by 32158-submit@debbugs.gnu.org id=B32158.155973230011170 (code B ref 32158); Wed, 05 Jun 2019 10:59:01 +0000 Original-Received: (at 32158) by debbugs.gnu.org; 5 Jun 2019 10:58:20 +0000 Original-Received: from localhost ([127.0.0.1]:46594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYTca-0002u6-Ed for submit@debbugs.gnu.org; Wed, 05 Jun 2019 06:58:20 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:40408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYTcY-0002tq-7Y for 32158@debbugs.gnu.org; Wed, 05 Jun 2019 06:58:18 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id p11so14150822wre.7 for <32158@debbugs.gnu.org>; Wed, 05 Jun 2019 03:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=V1AFZY/xc6OQejFMcY+z49uRPfEUvfnEeW7lLLhDl0o=; b=j28oTwQXFSkhIuJzKgNI0duooUD8gm5/5W5BSd5Kd/EeQ3x1pi3C/XdAVnULaaSrPW 8rdOvQiuxPQlJZyZ136wq3/SCreoeJ5U8NGJyRboUm3rk7g0lFej/96lyE1qdPFbxPyd 9uXwOlZ3UPQWSDOC5rAsvPyU9LmmH6nKLKqn8KYPIKBDo/gxoJ/ND8xCNxWHcxjBB2xN Qh6B8qca+Knq3vN2rNC/Vzfkyqsu5adJSmR20TU5K+Iqqz2AFbkY16dx501Yx9PGD2+2 bolkszy2dbt4bD+IlbubKfJG96kF4ajpYd7/YC9F3Eo8OWWaBQmIriWkpfUCtJ3CEdmO Rt2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V1AFZY/xc6OQejFMcY+z49uRPfEUvfnEeW7lLLhDl0o=; b=HmSDs23yJTFF4u3i7GVjQfooL05bblvHIwiuzeajnC1PHZpeS+qfR2ykiRz6+mT5C/ mOoGtFl4/MVTUfWyMwbb9pftz3sa6XFACQ6bPH6ZiRbhYTjqvCXuNxApIOongumRVHnI i1UrsBahsf+M1vnmozU8lKHZYfFxir8yvCDscY9pcciU6LhLgW2x5M5RogVt8cnGag5Z h/Q3MH7MB+3ouOEIpD8T7Kn/k+mLtMMt7FO+vkG8geNO4k/pvt7upioB8dJp8YFJ6PAy 5F6BFtOQCot41E/9Za5MlhU1b04KLuOBgoVgQKfAizZ10jE2A17Zf8DisMzYx9fXXhdt hH/w== X-Gm-Message-State: APjAAAWR6kJ3sWC/sG6/VbYqOZOskezn+lI7dek6T6RKfIFRM3Rgp8Lb svuQ2hInXPccB4smGYZ9LlM= X-Google-Smtp-Source: APXvYqzJruwB3BLorQUnITR7wXwHDhKhEK9EQj6LbRLkyRyGnBGDGwoCvhlER3VuwjymQNydf/xj7g== X-Received: by 2002:adf:9267:: with SMTP id 94mr2512655wrj.338.1559732292075; Wed, 05 Jun 2019 03:58:12 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id x3sm11974493wrp.78.2019.06.05.03.58.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jun 2019 03:58:11 -0700 (PDT) In-Reply-To: <2e0ccd59-e688-645c-eada-c4c85ff88b8a@jacksonrayhamilton.com> Content-Language: en-US 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:160145 Archived-At: On 05.06.2019 6:19, Jackson Ray Hamilton wrote: > A set of changes I pushed to the Emacs master branch 2 months ago should > resolve this issue.  (First fixed in 1a1ef28518, but there were several > commits after that when I broke/fixed it again.  The master branch is > your best bet.) Jackson, here's a slight variation on this example that looks problematic: const foo = (props) => (
i} />
); (Note the empty line) That seems incorrect to me.