unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10367: 23.3.50; M-j in js-mode
@ 2011-12-26  3:25 Leo
  2011-12-26  3:29 ` Daniel Colascione
  0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2011-12-26  3:25 UTC (permalink / raw)
  To: 10367; +Cc: Daniel Colascione

It seems M-j js-mode is better bound to a command that does something
similar to C-mode or the global binding.

Leo





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10367: 23.3.50; M-j in js-mode
  2011-12-26  3:25 bug#10367: 23.3.50; M-j in js-mode Leo
@ 2011-12-26  3:29 ` Daniel Colascione
  2020-11-25 10:24   ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Colascione @ 2011-12-26  3:29 UTC (permalink / raw)
  To: Leo; +Cc: 10367, Daniel Colascione

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

On 12/25/11 7:25 PM, Leo wrote:
> It seems M-j js-mode is better bound to a command that does something
> similar to C-mode or the global binding.
> 
> Leo
> 
> 
> 

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.)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 235 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10367: 23.3.50; M-j in js-mode
  2011-12-26  3:29 ` Daniel Colascione
@ 2020-11-25 10:24   ` Stefan Kangas
  2021-07-16 12:39     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2020-11-25 10:24 UTC (permalink / raw)
  To: Daniel Colascione; +Cc: 10367, Daniel Colascione, Leo

Daniel Colascione <dancol@dancol.org> writes:

> On 12/25/11 7:25 PM, Leo wrote:
>> It seems M-j js-mode is better bound to a command that does something
>> similar to C-mode or the global binding.
>
> 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?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10367: 23.3.50; M-j in js-mode
  2020-11-25 10:24   ` Stefan Kangas
@ 2021-07-16 12:39     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-16 12:39 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 10367, Daniel Colascione, Leo

Stefan Kangas <stefan@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-16 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-26  3:25 bug#10367: 23.3.50; M-j in js-mode Leo
2011-12-26  3:29 ` Daniel Colascione
2020-11-25 10:24   ` Stefan Kangas
2021-07-16 12:39     ` Lars Ingebrigtsen

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).