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

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

Re: Can I have my electric cake and eat it too? (Python mode question)


From: Skip Montanaro
Subject: Re: Can I have my electric cake and eat it too? (Python mode question)
Date: Mon, 30 Jan 2017 15:28:05 -0600

On Mon, Jan 30, 2017 at 3:23 PM, Skip Montanaro <skip.montanaro@gmail.com>
wrote:

> If there was an electric-newline-and-indent function, I could just bind it
> to C-j in my python-mode-hook. It obviously won't be hard to write (just
> remove the mode check)


Even easier will be the just bind C-j to 'newline-and-indent' in my
python-mode-map. :-)

Still curious why python-mode doesn't do it this way now.

Skip


reply via email to

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