From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get decent java-script support
Date: Thu, 25 Jun 2015 23:40:32 +0200 [thread overview]
Message-ID: <87d20j1n73.fsf@gmx.us> (raw)
In-Reply-To: 558C49BE.2020403@yandex.ru
Thanks Dimitry & John!
Dmitry Gutov <dgutov@yandex.ru> writes:
> Thanks. I'm rather busy, so here's hoping somebody else will get to it soon.
Me too (busy and hoping, that is).
I'm also having weird issues with company and python, and surrounding text
being deleted on completion, but probably it's a company-jedi issue. I
haven't had time to debug it properly.
>> Can I keep the indent in general, but not call it on ";"?
>
> Disable electric-indent-mode? Or electric-indent-local-mode, if your
> Emacs is recent enough.
Right. It's awesome that it relies on default settings and modes. I hope
we'll be able to move Org in this direction as well over time.
John Mastro <john.b.mastro@gmail.com> writes:
> Something like this should also work, if you do want electric indent on
> other chars:
>
> (add-hook 'js2-mode-hook
> (lambda ()
> (setq-local electric-indent-chars
> (remq ?\; electric-indent-chars))))
That's a great solution, John! Thanks a lot for sharing.
Rasmus
--
Lasciate ogni speranza, voi che leggete questo.
next prev parent reply other threads:[~2015-06-25 21:40 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
2015-06-25 18:34 ` Dmitry Gutov
2015-06-25 19:12 ` John Mastro
2015-06-25 21:40 ` Rasmus [this message]
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=87d20j1n73.fsf@gmx.us \
--to=rasmus@gmx.us \
--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.