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 #53 received at 20915 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 20915 <at> debbugs.gnu.org, Rasmus <rasmus <at> gmx.us>
Subject: Re: bug#20915: 25.0.50; [js-mode] electric annoyances
Date: Mon, 29 Jun 2015 17:05:53 +0300
On 06/29/2015 04:18 PM, Stefan Monnier wrote:

> FWIW, given the first two lines, the third line's indentation is wrong.
> Whether the first two lines where auto-indented or manually indented
> does not matter in this regard (IMNSHO).

Not according to the current algorithm (which is based on (nth 1 
parse-status)).

Fixing that might require a rewrite on top of e.g. SMIE. Although that 
might be the point you're making.




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

Previous Next


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