GNU bug report logs - #12413
24.2.50; M-j should be bound to default-indent-new-line

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Tue, 11 Sep 2012 09:37:01 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 24.2.50

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 12413 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 12413 <at> debbugs.gnu.org
Subject: Re: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line
Date: Thu, 25 Feb 2016 16:13:59 +1030
Dmitry Gutov <dgutov <at> yandex.ru> 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




This bug report was last modified 6 years and 22 days ago.

Previous Next


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