all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 12413@debbugs.gnu.org
Subject: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line
Date: Thu, 25 Feb 2016 16:13:59 +1030	[thread overview]
Message-ID: <87vb5dxs2o.fsf@gnus.org> (raw)
In-Reply-To: <504F05EA.6000703@yandex.ru> (Dmitry Gutov's message of "Tue, 11 Sep 2012 13:35:38 +0400")

Dmitry Gutov <dgutov@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





  parent reply	other threads:[~2016-02-25  5:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11  9:35 bug#12413: 24.2.50; M-j should be bound to default-indent-new-line Dmitry Gutov
2016-02-24  6:11 ` Lars Ingebrigtsen
2016-02-24 15:04   ` Dmitry Gutov
2016-02-25  5:43 ` Lars Ingebrigtsen [this message]
2019-06-27 14:58 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vb5dxs2o.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=12413@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.