From: Skip Montanaro <skip.montanaro@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Can I have my electric cake and eat it too? (Python mode question)
Date: Mon, 30 Jan 2017 15:28:05 -0600 [thread overview]
Message-ID: <CANc-5UynsgYCGD-rECtp_amr4QXjgfCEF6E7AkE6DP9=9P+WUg@mail.gmail.com> (raw)
In-Reply-To: <CANc-5UxY14mLnB1fHYCymz4fb9LOzFb0dz9av+Q9KVGroSqMBA@mail.gmail.com>
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
next prev parent reply other threads:[~2017-01-30 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 21:23 Can I have my electric cake and eat it too? (Python mode question) Skip Montanaro
2017-01-30 21:28 ` Skip Montanaro [this message]
2017-01-31 14:54 ` Stefan Monnier
2017-01-31 18:06 ` Skip Montanaro
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANc-5UynsgYCGD-rECtp_amr4QXjgfCEF6E7AkE6DP9=9P+WUg@mail.gmail.com' \
--to=skip.montanaro@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).