From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jackson Hamilton Newsgroups: gmane.emacs.devel Subject: Requesting patch review Date: Sat, 7 Mar 2015 18:09:01 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e0122ad10b5a9410510bd6631 X-Trace: ger.gmane.org 1425780551 23838 80.91.229.3 (8 Mar 2015 02:09:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 02:09:11 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 08 03:09:11 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YUQeS-0000e0-6B for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 03:09:08 +0100 Original-Received: from localhost ([::1]:37237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUQeR-0006mF-0A for ged-emacs-devel@m.gmane.org; Sat, 07 Mar 2015 21:09:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUQeN-0006mA-Lf for emacs-devel@gnu.org; Sat, 07 Mar 2015 21:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUQeM-0001qI-A5 for emacs-devel@gnu.org; Sat, 07 Mar 2015 21:09:03 -0500 Original-Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:46523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUQeM-0001qE-3V for emacs-devel@gnu.org; Sat, 07 Mar 2015 21:09:02 -0500 Original-Received: by obcva2 with SMTP id va2so9039580obc.13 for ; Sat, 07 Mar 2015 18:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=ZyW5qIKvPig2MUFGRkwz45VIZUBbQ3hH+FRqUJazwxs=; b=Hou4h+e0W1VpGJ7vr9eoMRp2YaXJpxx5Q2p5t0lhqNodW21/RzyfWx3SDersGhygGW zXmxUKLW899Uhkfp2qUjpERb4VhIluSL0SZ6tkejR0Y3cbywLMKmG677g21CFt2rb7L6 +zzpxfXowmAm+Sk2YnEv/TNC22jEEtdwQlBcICFfwPZiQOfthxvEzgOU7ySNYfX5Beym WZMM+b7VeE8dSrf6+kxObLGwy0M6uvnUFL/cCFq/tNg2GEvuze2ktf5Fr/DEbjkD/Pf5 WZDs4UDIuamHk53jUaB/nGdh1i2vqQe0UM+odcwYBnW/31WyaXUsa0K0qA7uZhI1PnmR I0EQ== X-Received: by 10.182.120.97 with SMTP id lb1mr16647186obb.16.1425780541579; Sat, 07 Mar 2015 18:09:01 -0800 (PST) Original-Received: by 10.76.195.8 with HTTP; Sat, 7 Mar 2015 18:09:01 -0800 (PST) X-Google-Sender-Auth: Np8r_lsUcVnvPwwfykCzcY8wzy8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183718 Archived-At: --089e0122ad10b5a9410510bd6631 Content-Type: multipart/alternative; boundary=089e0122ad10b5a93b0510bd662f --089e0122ad10b5a93b0510bd662f Content-Type: text/plain; charset=ISO-8859-1 Hi guys, New patch for js-mode. Adds a new indentation option. I would appreciate review before merging. Thanks, Jackson --089e0122ad10b5a93b0510bd662f Content-Type: text/html; charset=ISO-8859-1
Hi guys,

New patch for js-mode. Adds a new indentation option. I would appreciate review before merging.

Thanks,
Jackson
--089e0122ad10b5a93b0510bd662f-- --089e0122ad10b5a9410510bd6631 Content-Type: text/x-patch; charset=US-ASCII; name="0001-New-indentation-option-for-js-mode.patch" Content-Disposition: attachment; filename="0001-New-indentation-option-for-js-mode.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i6zswm4j0 RnJvbSA0OTE1ZTQxMWEyMmVlZWZjOTU2MTYzOWY1Y2RlMmJiZGYxNzMxYzAwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYWNrc29uIFJheSBIYW1pbHRvbiA8amFja3NvbkBqYWNrc29u cmF5aGFtaWx0b24uY29tPgpEYXRlOiBTYXQsIDcgTWFyIDIwMTUgMTg6MDE6MDUgLTA4MDAKU3Vi amVjdDogW1BBVENIXSBOZXcgaW5kZW50YXRpb24gb3B0aW9uIGZvciBqcy1tb2RlCgoqIGxpc3Av cHJvZ21vZGVzL2pzLmVsIChqcy0tcHJvcGVyLWluZGVudGF0aW9uKTogQWRkIGFuZCB1c2UgY3Vz dG9tCm9wdGlvbiBganMtZHluYW1pYy1tdWx0aS1saW5lLWRlY2xhcmF0aW9uLWluZGVudGF0aW9u Jy4KLS0tCiBsaXNwL0NoYW5nZUxvZyAgICAgICB8ICA1ICsrKysrCiBsaXNwL3Byb2dtb2Rlcy9q cy5lbCB8IDU0ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKy0KIDIgZmlsZXMgY2hhbmdlZCwgNTggaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoK ZGlmZiAtLWdpdCBhL2xpc3AvQ2hhbmdlTG9nIGIvbGlzcC9DaGFuZ2VMb2cKaW5kZXggMGIyNzdj Ny4uMjYwOTY5MyAxMDA2NDQKLS0tIGEvbGl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nRlZCwgYW5kIHN1YnNlcXVl bnQgaXRlbXMgaGF2ZQordGhlaXIgaWRlbnRpZmllcnMgbGluZWQgdXAgYWdhaW5zdCB0aGUgZmly c3Q6CisKKyAgdmFyIG8gPSB7CisgICAgICBmb286IDMKKyAgfTsKKworICB2YXIgbyA9IHsKKyAg ICAgIGZvbzogMworICB9LAorICAgICAgYmFyID0gMjsKKworV2l0aCB0aGlzIG9wdGlvbiBlbmFi bGVkLCB0aGUgZmlyc3QgZGVjbGFyYXRpb24gd2lsbCBiZSBpbmRlbnRlZAoraWYgdGhlcmUgYXJl IG1vcmUgZGVjbGFyYXRpb25zLCBzdWNoIHRoYXQgdGhlIGZpcnN0IGZ1bmN0aW9uLAorYXJyYXkg b3Igb2JqZWN0IGxpbmVzIHVwIG5pY2VseSB3aXRoIHRoZSByZW1haW5pbmcgZGVjbGFyYXRpb25z OgorCisgIHZhciBvID0geworICAgICAgZm9vOiAzCisgIH07CisKKyAgdmFyIG8gPSB7CisgICAg ICAgICAgZm9vOiAzCisgICAgICB9LAorICAgICAgYmFyID0gMjsiCisgIDp0eXBlICdib29sZWFu CisgIDpncm91cCAnanMpCisKIDs7OyBLZXlNYXAKIAogKGRlZnZhciBqcy1tb2RlLW1hcApAQCAt MTg4NCwxMyArMTkxNSwzNCBAQCBJbiBwYXJ0aWN1bGFyLCByZXR1cm4gdGhlIGJ1ZmZlciBwb3Np dGlvbiBvZiB0aGUgZmlyc3QgYGZvcicga3dkLiIKIAkgICA7OyAiY2FzZSIgYW5kICJkZWZhdWx0 Ii4KICAgICAgICAgICAgKGxldCAoKHNhbWUtaW5kZW50LXAgKGxvb2tpbmctYXQgIltdfSldIikp CiAgICAgICAgICAgICAgICAgIChzd2l0Y2gta2V5d29yZC1wIChsb29raW5nLWF0ICJkZWZhdWx0 XFxfPlxcfGNhc2VcXF8+W146XSIpKQotICAgICAgICAgICAgICAgICAoY29udGludWVkLWV4cHIt cCAoanMtLWNvbnRpbnVlZC1leHByZXNzaW9uLXApKSkKKyAgICAgICAgICAgICAgICAgKGNvbnRp bnVlZC1leHByLXAgKGpzLS1jb250aW51ZWQtZXhwcmVzc2lvbi1wKSkKKyAgICAgICAgICAgICAg ICAgZGVjbGFyYXRpb24ta2V5d29yZC1lbmQpCiAgICAgICAgICAgICAgKGdvdG8tY2hhciAobnRo IDEgcGFyc2Utc3RhdHVzKSkgOyBnbyB0byB0aGUgb3BlbmluZyBjaGFyCiAgICAgICAgICAgICAg KGlmIChsb29raW5nLWF0ICJbKHtbXVxccy0qXFwoL1svKl1cXHwkXFwpIikKICAgICAgICAgICAg ICAgICAgKHByb2duIDsgbm90aGluZyBmb2xsb3dpbmcgdGhlIG9wZW5pbmcgcGFyZW4vYnJhY2tl dAogICAgICAgICAgICAgICAgICAgIChza2lwLXN5bnRheC1iYWNrd2FyZCAiICIpCiAgICAgICAg ICAgICAgICAgICAgKHdoZW4gKGVxIChjaGFyLWJlZm9yZSkgP1wpKSAoYmFja3dhcmQtbGlzdCkp CiAgICAgICAgICAgICAgICAgICAgKGJhY2stdG8taW5kZW50YXRpb24pCisgICAgICAgICAgICAg ICAgICAgKHdoZW4gKGFuZCBqcy1keW5hbWljLW11bHRpLWxpbmUtZGVjbGFyYXRpb24taW5kZW50 YXRpb24KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IENoZWNrIHRoZSBjb25kaXRp b24gYW5kCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBzaW11bHRhbmVvdXNseSBw cmVzZXJ2ZSB0aGUgbWF0Y2gKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IGRhdGEu CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2hlbiAobG9va2luZy1hdCBqcy0tZGVj bGFyYXRpb24ta2V5d29yZC1yZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNl dHEgZGVjbGFyYXRpb24ta2V5d29yZC1lbmQgKG1hdGNoLWVuZCAwKSkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICA7OyBEZXRlcm1pbmUgaWYgdGhlIGRlY2xhcmF0aW9uCisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICA7OyBzdGF0ZW1lbnQgaGFzIG11bHRpcGxlIGRlY2xhcmF0 aW9ucworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgKGltcGxpZWQgaWYgYXQgbGVh c3Qgb25lIGlzIHNlcGFyYXRlZAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgYnkg YSAiLCIpLgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNhdmUtZXhjdXJzaW9uCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChnb3RvLWNoYXIgKG50aCAxIHBhcnNlLXN0 YXR1cykpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh3aGVuIChjb25kaXRpb24t Y2FzZSBuaWwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChwcm9n bgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZm9yd2FyZC1z ZXhwKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0KQorICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChlcnJvciBuaWwpKQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICh3aGlsZSAoZm9yd2FyZC1jb21tZW50IDEpKQor ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChsb29raW5nLWF0ICIsIikpKSkKKyAg ICAgICAgICAgICAgICAgICAgIChnb3RvLWNoYXIgKDErIGRlY2xhcmF0aW9uLWtleXdvcmQtZW5k KSkpCiAgICAgICAgICAgICAgICAgICAgKGxldCogKChpbi1zd2l0Y2gtcCAodW5sZXNzIHNhbWUt aW5kZW50LXAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxvb2tp bmctYXQgIlxcXzxzd2l0Y2hcXF8+IikpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAoc2Ft ZS1pbmRlbnQtcCAob3Igc2FtZS1pbmRlbnQtcAotLSAKMS45LjEKCg== --089e0122ad10b5a9410510bd6631--