bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dmitry Gutov
Subject: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line
Date: Tue, 11 Sep 2012 13:35:38 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0

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@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'

Attachment: m-j.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]