all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: dgutov@yandex.ru
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to get decent java-script support
Date: Thu, 25 Jun 2015 20:27:13 +0200	[thread overview]
Message-ID: <87oak3k5j2.fsf@gmx.us> (raw)
In-Reply-To: <558C1AE4.9020305@yandex.ru> (Dmitry Gutov's message of "Thu, 25 Jun 2015 18:14:44 +0300")

Dmitry Gutov <dgutov@yandex.ru> 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 ";"?

Thanks,
Rasmus

-- 
When in doubt, do it!



  reply	other threads:[~2015-06-25 18:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25  1:23 How to get decent java-script support Rasmus
2015-06-25  9:25 ` Dmitry Gutov
2015-06-25 15:03   ` Rasmus
2015-06-25 15:14     ` Dmitry Gutov
2015-06-25 18:27       ` Rasmus [this message]
2015-06-25 18:34         ` Dmitry Gutov
2015-06-25 19:12           ` John Mastro
2015-06-25 21:40           ` Rasmus
2015-06-25 23:49         ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oak3k5j2.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.