unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Kangas <stefan@marxist.se>
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 20:17:16 +0300	[thread overview]
Message-ID: <ecc95de6-bb84-d2c1-6df6-ada710e6780e@yandex.ru> (raw)
In-Reply-To: <CADwFkmm5FdqUZzxc-mrnm5sZi73aPDYO-CrHmZER1UHjvs0cmQ@mail.gmail.com>

On 10.08.2020 18:53, Stefan Kangas wrote:
> In the Firefox web console, I get
> 
> { -2, 2, +2 }  =>  2

Yeah, it seems like it's interpreted like a comma-separated list of 
statements in a block.

> So I guess it's valid, if a bit nonsensical? I must admit that my
> knowledge of JavaScript is terrible though.

We generally prioritize supporting code that is likely to actually be 
written by somebody, so IMHO there is no significant bug here.

But if someone would like to propose a patch, we will surely review it.





  reply	other threads:[~2020-08-10 17:17 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
2020-08-10 17:17       ` Dmitry Gutov [this message]
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=ecc95de6-bb84-d2c1-6df6-ada710e6780e@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=29798@debbugs.gnu.org \
    --cc=haynes.gt@gmail.com \
    --cc=stefan@marxist.se \
    /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).