unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Gavin Haynes <haynes.gt@gmail.com>
Cc: 29798@debbugs.gnu.org
Subject: bug#29798: 24.3; Javascript: Too much indentation with + and -
Date: Mon, 10 Aug 2020 08:31:59 -0700	[thread overview]
Message-ID: <CADwFkmkmwLD8Vn3WtDLm5LrE_GVurN4ZNYySNDFVEJAeWSt-sA@mail.gmail.com> (raw)
In-Reply-To: <CAKfd4R8L_VkLPMe_OrBK2K+UhOVJqMHNGOP4Ook-xr=kH5+BQg@mail.gmail.com> (Gavin Haynes's message of "Wed, 20 Dec 2017 23:53:37 -0800")

found 29798 28.0.50
thanks

Gavin Haynes <haynes.gt@gmail.com> writes:

> Write the following in a .js file: { -2, 2, +2 } Then, put your cursor
> over each line and press tab to indent it. The lines having -2 and +2
> get twice as much indentation as expected. The line having just 2 has
> the correct indentation.

I can reproduce this on current master.  I see the following
indentation:

{
-2,
    2,
 +2
}

Best regards,
Stefan Kangas





  parent reply	other threads:[~2020-08-10 15:31 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 [this message]
2020-08-10 15:36   ` Dmitry Gutov
2020-08-10 15:53     ` Stefan Kangas
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=CADwFkmkmwLD8Vn3WtDLm5LrE_GVurN4ZNYySNDFVEJAeWSt-sA@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=29798@debbugs.gnu.org \
    --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).