From: Stefan Kangas <stefan@marxist.se>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 29798@debbugs.gnu.org, Gavin Haynes <haynes.gt@gmail.com>
Subject: bug#29798: 24.3; Javascript: Too much indentation with + and -
Date: Mon, 10 Aug 2020 17:53:43 +0200 [thread overview]
Message-ID: <CADwFkmm5FdqUZzxc-mrnm5sZi73aPDYO-CrHmZER1UHjvs0cmQ@mail.gmail.com> (raw)
In-Reply-To: <c02df8b9-b63e-e90d-f12c-5c1bebec410e@yandex.ru>
Dmitry Gutov <dgutov@yandex.ru> writes:
> > I can reproduce this on current master. I see the following
> > indentation:
> >
> > {
> > -2,
> > 2,
> > +2
> > }
>
> I don't think that's valid JavaScript either.
In the Firefox web console, I get
{ -2, 2, +2 } => 2
So I guess it's valid, if a bit nonsensical? I must admit that my
knowledge of JavaScript is terrible though.
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2020-08-10 15:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 7:53 bug#29798: 24.3; Javascript: Too much indentation with + and - Gavin Haynes
2017-12-21 10:45 ` Dmitry Gutov
2017-12-21 10:50 ` Gavin Haynes
2017-12-21 11:04 ` Dmitry Gutov
2020-08-10 15:31 ` Stefan Kangas
2020-08-10 15:36 ` Dmitry Gutov
2020-08-10 15:53 ` Stefan Kangas [this message]
2020-08-10 17:17 ` Dmitry Gutov
2020-08-10 17:22 ` Stefan Kangas
2022-02-03 19:36 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmm5FdqUZzxc-mrnm5sZi73aPDYO-CrHmZER1UHjvs0cmQ@mail.gmail.com \
--to=stefan@marxist.se \
--cc=29798@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=haynes.gt@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).