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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; M-j should be bound to default-indent-new-line
Date: Tue, 11 Sep 2012 13:35:38 +0400
[Message part 1 (text/plain, inline)]
Tags: patch

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.

default-indent-new-line does pretty much that. The function could use a
better name, though - it isn't used in any variables as default value.

Inspired by bugs 6806 and 10367.

In GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601)
 of 2012-09-11 on SOL
Bzr revision: 109973 eggert <at> cs.ucla.edu-20120911012056-kegco8vmanqs0kpg
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (3.4) --cflags -IJ:/Apps/system/gnuwin32/include'
[m-j.diff (text/plain, attachment)]

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.