GNU bug report logs - #9151
js-mode indentation doesn't recognize brace-less function expressions

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Fri, 22 Jul 2011 19:34:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Štěpán Němec <stepnem <at> gmail.com>
To: 9151 <at> debbugs.gnu.org
Subject: bug#9151: js-mode indentation doesn't recognize brace-less function expressions
Date: Fri, 22 Jul 2011 21:28:45 +0200
GNU Emacs 24.0.50.6 (i686-pc-linux-gnu) of 2011-01-15 on headley

In JavaScript, the following is a valid function definition:

function foo ()
    a.somewhat().complicated()
    .computation()

but `js-mode' currently indents it like this:

function foo ()
a.somewhat().complicated()
    .computation()

-- 
Štěpán




This bug report was last modified 1 year and 9 days ago.

Previous Next


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