GNU bug report logs - #10367
23.3.50; M-j in js-mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 26 Dec 2011 03:29:04 UTC

Severity: minor

Found in version 23.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 10367 <at> debbugs.gnu.org, Daniel Colascione <dancol <at> dancol.org>, Daniel Colascione <dan.colascione <at> gmail.com>, Leo <sdl.web <at> gmail.com>
Subject: bug#10367: 23.3.50; M-j in js-mode
Date: Fri, 16 Jul 2021 14:39:29 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

>> Any objection to binding M-j to c-indent-new-comment-line in js-mode?
>>
>> (Yes, yes, I know we should fix indent-new-comment-line to do what
>> c-indent-new-comment-line does, but I specifically designed js-mode to be
>> compatible with cc-mode editing functions, and this change will work for now.)
>
> There has been no objections within 9 years.  But I don't use js-mode,
> so I don't know what the best behavior here is.  Does it make more sense
> for js-mode users?  If so, it seems like you should perhaps just go
> ahead and make that change?

It seems like this has changed in the years since this was reported.  In
both c-mode and js-mode, `M-j' is bound to `default-indent-new-line',
and behaves the same in both modes, as far as I can tell.

So I'm closing this bug report.  If there's something I'm
misunderstanding here, please respond to the debbugs address and we'll
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.