Subject: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 25 Feb 2016 16:13:59 +1030

Dmitry Gutov <[email-masked]> writes:

> A major mode can change the value of comment-line-break-function, but
> currently it's only used from `do-auto-fill'. I think that doesn't make
> sense, the value should affect the M-j command, too.

[...]

> -(define-key esc-map "j" 'indent-new-comment-line)
> -(define-key esc-map "\C-j" 'indent-new-comment-line)
> +(define-key esc-map "j" 'default-indent-new-line)
> +(define-key esc-map "\C-j" 'default-indent-new-line)

[...]

> -      ((or `newline `newline-and-indent `open-line `indent-new-comment-line
> +      ((or `newline `newline-and-indent `open-line `default-indent-new-line

I think this makes sense...  probably...  does anybody want to weigh in
on this?

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