From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Felipe Ochoa Newsgroups: gmane.emacs.bugs Subject: bug#24896: JSX prop indentation after fat arrow Date: Thu, 8 Dec 2016 12:12:42 +0100 Message-ID: References: <6d48deda-1d14-2d50-ca86-c89f35bf37db@yandex.ru> <77f1f91d-2f8c-0509-7a16-50bae68f3883@jacksonrayhamilton.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d67e45b4d63054323b768 X-Trace: blaine.gmane.org 1481195595 6468 195.159.176.226 (8 Dec 2016 11:13:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 11:13:15 +0000 (UTC) Cc: Jackson Ray Hamilton To: 24896@debbugs.gnu.org, Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 08 12:13:10 2016 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 1cEwdR-0000Sn-G6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 12:13:09 +0100 Original-Received: from localhost ([::1]:45417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEwdV-0000ZO-AN for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 06:13:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEwdP-0000ZF-SW for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 06:13:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEwdK-0002hJ-Q7 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 06:13:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cEwdK-0002h9-M3 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 06:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cEwdK-0001KV-Bi for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 06:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Felipe Ochoa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2016 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24896 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24896-submit@debbugs.gnu.org id=B24896.14811955695092 (code B ref 24896); Thu, 08 Dec 2016 11:13:02 +0000 Original-Received: (at 24896) by debbugs.gnu.org; 8 Dec 2016 11:12:49 +0000 Original-Received: from localhost ([127.0.0.1]:60779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEwd7-0001K4-7b for submit@debbugs.gnu.org; Thu, 08 Dec 2016 06:12:49 -0500 Original-Received: from mail-ua0-f171.google.com ([209.85.217.171]:35050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEwd6-0001Jq-Bk for 24896@debbugs.gnu.org; Thu, 08 Dec 2016 06:12:48 -0500 Original-Received: by mail-ua0-f171.google.com with SMTP id 12so444869497uas.2 for <24896@debbugs.gnu.org>; Thu, 08 Dec 2016 03:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7lJ2tMxYosaJRD6A050aNBPNoeWkametcTpci7bURhg=; b=baoBT6nfJX903p0Of0AIqKhr/q5sWbzUHkT+DI7Pno5iGxAsi8ljS/ufBIkIo7T6Or bsHP5+37Cgp/P4Q/5q3C7miNB66E4gyurjU9kOH1D8LWXMnBmrx1o5l+SUXUFpxoVp6y ret8+Yt3YNiuNadljMyJO5EEHOGQWseDkbSipQs5zCNY4ZUIrVOlOOzutynbJ9N/9rNt YWX/NRhUbM62qK3Chc1eSrr6nFs7WvWs35B+6MC4IoEIWnnprbX58gitqx33BsoOYolq FWm842ZlgKUamNZx7NkYbq6kmFXjTqSgRN2uBOIUA24JlUyMmBuir4wV/cUKHL94n8N3 vIcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7lJ2tMxYosaJRD6A050aNBPNoeWkametcTpci7bURhg=; b=ZoMA7jKlxxZBl08dxG2xiAJ1XBBFQkSlwALFGnNBebF6V1QmOIvv6MPM0Txa2xpWSg r4VmBU/P9UA1sNMxJiSrZ1RfGyaD4yoT20Ghx3MeO4LEN1lVvl+YmpYcj07XAgkvPvNy KUtWV+b0Akbi50xNG1r/H55ClhD3PYsdiWMFawqJ8y/DFMmky94IXQzJBn9Pn7ztOZNc 48B690TwXCQ0fS7kNXQEzv2bOyLS+pmStPoqttl9Nr9wzogJrumOwG2cvj2qSW/Us354 9XeaxQSNNFICQebbIufGGVFz7+IpKw0425rk6qeR6yepmUPJY4UxBmLZhLjFytwk+6bV hT8A== X-Gm-Message-State: AKaTC01f/zO8EUSc63NCJpTUps/MW/7NHETUn8KgCfqt6vBz1wr29EPTFJj8sjUjvtJY3AttXZFL93E7hpquFA== X-Received: by 10.176.3.86 with SMTP id 80mr57906913uat.157.1481195562682; Thu, 08 Dec 2016 03:12:42 -0800 (PST) Original-Received: by 10.176.85.156 with HTTP; Thu, 8 Dec 2016 03:12:42 -0800 (PST) In-Reply-To: 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:126733 Archived-At: --001a113d67e45b4d63054323b768 Content-Type: text/plain; charset=UTF-8 Thanks -- seems reasonable. I figured as much but wanted to confirm. I wonder what could be done in js-mode, too. A syntax-propertize-function > rule, maybe. > syntax-propertize-function is outside my limited knowledge of emacs internals. But to the extent that one could say "Outside of comments and strings, propertize `=>' as punctuation," I imagine that would fix it. Also, this may be a dumb question, but are the tests in the "manual" directory meant to be run manually? If not, how would I run the tests there? And then finally, should I just email a patch with the proposed change & tests for this? > (Sorry Jackson for the double email -- forgot to reply all) --001a113d67e45b4d63054323b768 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks -- seems reasonable. I figured as much but wanted = to confirm.

I wonder what could be done in js-mode, too. A syntax-propertiz= e-function rule, maybe.

syntax-propertize-= function is outside my limited knowledge of emacs internals. But to the ext= ent that one could say "Outside of comments and strings, propertize `= =3D>' as punctuation," I imagine that would fix it.

Also, this may be a dumb question, but are the tests in the "man= ual" directory meant to be run manually? If not, how would I run the t= ests there?

And then finally, should I just email a patch with the proposed change = & tests for this?


(Sorry Jackson = for the double email -- forgot to reply all)
--001a113d67e45b4d63054323b768--