]> granicus.if.org Git - python/commit
(py-mode-map): Add a binding of C-m to py-newline-and-indent. This is
authorBarry Warsaw <barry@python.org>
Wed, 21 Jan 1998 05:14:24 +0000 (05:14 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 21 Jan 1998 05:14:24 +0000 (05:14 +0000)
commit82aecb9d66490292f4cdab720a8f29f6dc77942b
tree763c9adbe030b316d6135470016a5dfeaa8ebfd1
parent0f35495563d30a0ac3ec3191bf5b06b44dbea961
(py-mode-map): Add a binding of C-m to py-newline-and-indent.  This is
a religious issue: RMS decrees that the Enter (RET) key should just do
a newline and a LFD (C-j) should do a newline and indent (i.e. the
python-mode version of this).  Almost everyone I know disagrees and
finds that RET should do newline and indent.  Almost everyone hacks
their modes to do this, if they know how.  Because it's hard for
newbies to figure out how to do this, and because most DOS keyboards
lack a LFD (leaving users to the more obscure C-j), I think it makes
better sense to add this default binding.
Misc/python-mode.el