From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: How to get decent java-script support Date: Fri, 26 Jun 2015 01:49:35 +0200 Message-ID: <87egkzjqls.fsf@gmx.us> References: <87h9pw37jv.fsf@gmx.us> <558BC8F1.9010107@yandex.ru> <87lhf7ltix.fsf@gmx.us> <558C1AE4.9020305@yandex.ru> <87oak3k5j2.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435276204 13609 80.91.229.3 (25 Jun 2015 23:50:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2015 23:50:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: dgutov@yandex.ru Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 26 01:49:55 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Z8Gu2-0004Al-P5 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jun 2015 01:49:54 +0200 Original-Received: from localhost ([::1]:57791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Gu2-0004Ge-90 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 19:49:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Gtr-0004GZ-T5 for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 19:49:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Gtp-0005Xd-5T for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 19:49:43 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:59629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Gto-0005XV-QO for help-gnu-emacs@gnu.org; Thu, 25 Jun 2015 19:49:41 -0400 Original-Received: from x200s ([90.163.164.75]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LqRKT-1YdamA2AMb-00e5iZ; Fri, 26 Jun 2015 01:49:39 +0200 In-Reply-To: <87oak3k5j2.fsf@gmx.us> (rasmus@gmx.us's message of "Thu, 25 Jun 2015 20:27:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:kocZkC6yhXpbIkmtUDNtJWLQhD3Es/fkdprU4QZjReJAGacAFfi +xUWJXzF4YtHjvRYvgQ/o8TbwOI+ZCMJwmnW16y76jsyThRYRcKunEPb7nrFxNNlwyhCMY0 o0lslRFCNR1TK1QvqgJQIr80XrHLPukGlvsQkVHA8WFtqYRSqYTOAXBfi2sQtltx0XFoBfL USX5T0QM8l0qrFBZdqu5Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:xN+N7ifWFS4=:9SpDcFoUNoOAIjoqWO/Tyw E9q5NLY2TUSZIPl9dfC8Yg5gmNVWr++rP9eMWYjK4mKz/Jc+DV0hZXP/UyIATGjI0v0NUuRjb vTQCUQHYeVuFsSwNcGIW1qHcSaIhm8ncFR5Mx+3/9hTXiJfWPT2K25J10HnJUaho8GwlShhkw ywj/00LQMgAAtryGuPoSyhALELGy2Extac3q8KpS5NB/rFR6Xygncma5p3Az2Pe52S3hM15Qk BfvCfgcuZjAzIAdRlYifg6/l3NMjC0aodHIcvELEN3J89tt1HQ/ewCK4V9nkZr1HkYmYQcYjj lYpBRnSGeLb/+9eVqFsqJyMvsT7XEzvhnOZYh3BFtgpFeFK3t1xN+XyO3n3wJapCq/bln5e7f yj5actmg+hjbrCyyQz5OwFAjnZUuR/AoKFFiwemGdsjoCHGBPqEJyMWHDgkRRIb64HN3l+rlU sL0VjzS18FDI14IF/96XYnYfH91w+CMnubBxVMB4AkQkwg3T+2e+lc+jGAxLQc774EwQbyBhs xNoj1uKsklzKuW8iH+raVPxE4tPQzCQUIK5UTqiCc+xfppy4HYX+lJImRTgOp3ECMGo4o4nF6 /q0cuwpVWZXD90ZkMWq07OfdzrZjsxnLFhhzhHgh9CWeBgWJ84ibNmfh8YD0f/bDxke3gKtir hQ6QvOgXumyECfp0CPr4VDklmT8tC4bE7/HWk7T4wbVucwKKFMflbQjg/V8tKCoaKYe8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105187 Archived-At: Rasmus writes: > Dmitry Gutov writes: > >> On 06/25/2015 06:03 PM, Rasmus wrote: >> >>> Would you mind if I open a bug on that on github? I don't know if it's a >>> d3 thing or something that is generally useful for JS. >> >> If you want to open a bug, do it for js-mode, via M-x report-emacs-bug. >> >> js2-mode intends to reuse its indentation engine. > > Done. > > Let me tap on your knowledge once more. I still get undesirable > electricity on ";" even when electric layout is off. > > Consider this example > > plot.axes.xAxis = d3.svg.axis() > .scale(plot.axes.xScale) > .orient('bottom') > > When I insert ";" after the .orient call I get > > plot.axes.xAxis = d3.svg.axis() > .scale(plot.axes.xScale) > .orient('bottom'); > > Can I keep the indent in general, but not call it on ";"? Ah: electric-indent-chars. Though in general a fan of electricity, I'm find that a lot of the electricity mode gets in the way... Rasmus -- May the Force be with you