From: Jackson Hamilton <jackson@jacksonrayhamilton.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Requesting patch review
Date: Mon, 9 Mar 2015 18:34:16 -0700 [thread overview]
Message-ID: <CAGiE8Az7v8g4aaemrS50uyY4pcwGsFEbcVSHxHew_ZyPpAZSuw@mail.gmail.com> (raw)
In-Reply-To: <54FE2E7C.2050905@yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
> Regarding the meat of the change, it should be "initializer" (Emacs
prefers US spelling)
I used that spelling because that's what ECMAScript uses; from
http://www.ecma-international.org/ecma-262/5.1/#sec-12.2:
> VariableDeclaration : Identifier Initialiser opt
(Dunno who has priority here, Emacs or the spec, but I'm fine with changing
it.)
> maybe we should also extract the added lines into a utility function
How does `js--maybe-goto-declaration-keyword-end` sound?
On Mon, Mar 9, 2015 at 4:36 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
> On 03/09/2015 12:01 AM, Jackson Hamilton wrote:
>
>> For the sake of continuity I'll send my next patch through this email
>> thread, but in the future I will send them to the bug tracker.
>>
>
> Exactly what I was thinking.
>
> Refactored the code to be less tricky, added the additional level of
>> configuration and ported the tests.
>>
>
> Thanks! That's a bit too many test examples for my taste (especially in
> js-indent-first-initialiser-t.js, since that piece of implementation is
> relatively trivial), but I guess that's still much better than no tests.
>
> Regarding the meat of the change, it should be "initializer" (Emacs
> prefers US spelling), and maybe we should also extract the added lines into
> a utility function, in order not to make `js--proper-indentation' even
> longer than it is now.
>
[-- Attachment #2: Type: text/html, Size: 2908 bytes --]
next prev parent reply other threads:[~2015-03-10 1:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 2:09 Requesting patch review Jackson Hamilton
2015-03-08 8:16 ` Thien-Thi Nguyen
2015-03-08 17:55 ` Dmitry Gutov
2015-03-08 22:01 ` Jackson Hamilton
2015-03-09 23:36 ` Dmitry Gutov
2015-03-10 1:34 ` Jackson Hamilton [this message]
2015-03-10 3:22 ` Stefan Monnier
2015-03-10 16:04 ` Dmitry Gutov
2015-03-10 23:39 ` Paul Eggert
2015-03-10 0:40 ` Running test/indent examples, Was: " Dmitry Gutov
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=CAGiE8Az7v8g4aaemrS50uyY4pcwGsFEbcVSHxHew_ZyPpAZSuw@mail.gmail.com \
--to=jackson@jacksonrayhamilton.com \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/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).