GNU bug report logs - #20915
25.0.50; [js-mode] electric annoyances

Previous Next

Package: emacs;

Reported by: Rasmus <rasmus <at> gmx.us>

Date: Sun, 28 Jun 2015 11:47:02 UTC

Severity: minor

Found in version 25.0.50

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rasmus <rasmus <at> gmx.us>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#20915: 25.0.50; [js-mode] electric annoyances
Date: Sun, 28 Jun 2015 16:50:23 +0200
Hi,

Eli Zaretskii <eliz <at> gnu.org> writes:

>> Electric layout doesn't always quite work to my liking in js-mode.
>
> The "Emacsy" solution to that is to allow users to define the style
> she likes.  That way, what you like and what I like doesn't have to be
> put into the same procrustean framework.
>
> Since js-mode already supports styles, why wouldn't it be possible to
> solve this problem in the framework of the styles?
>
> (Apologies if what I say makes no sense: I don't use js-mode.)

It is possible, I think, you can e.g. remove the active electricity chars.
I'm talking about the default here...

Something like js-default-style (like in cc) would perhaps be nice.  I
don't know what it would take to adapt such a scheme or how involved it is
to add styles.

Rasmus

-- 
If you can mix business and politics wonderful things can happen!





This bug report was last modified 10 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.