all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9151: js-mode indentation doesn't recognize brace-less function expressions
@ 2011-07-22 19:28 Štěpán Němec
  2019-08-21  7:54 ` Knut Olav Bøhmer
  2024-06-03 19:48 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 3+ messages in thread
From: Štěpán Němec @ 2011-07-22 19:28 UTC (permalink / raw)
  To: 9151

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-03 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 19:28 bug#9151: js-mode indentation doesn't recognize brace-less function expressions Štěpán Němec
2019-08-21  7:54 ` Knut Olav Bøhmer
2024-06-03 19:48 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.