unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17670@debbugs.gnu.org
Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell
Date: Tue, 03 Jun 2014 00:32:03 -0400	[thread overview]
Message-ID: <ktx82pq9o.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <538C9FC8.1020209@easy-emacs.de>

Stefan Monnier wrote:

>> emacs -Q
>> M-x run-python
>> Insert at prompt: "if True:"
>> C-j should indent but goes to BOL
>
> C-j doesn't indent in "emacs -Q".  RET does instead.

But RET does not seem to indent in the situation described here?
Ie, in inferior python buffers.
(Neither C-j nor RET ever has, AFAICS.)

It seems to work with RET if you set python-shell-interpreter to ipython,
but I think that's ipython doing it, not Emacs.

Maybe Emacs should be able to make it work with plain python?





      parent reply	other threads:[~2014-06-03  4:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 16:01 bug#17670: 24.3.90.1; no indent from C-j in Python shell Andreas Röhler
2014-06-02 17:11 ` Andreas Röhler
2014-06-02 18:15 ` Stefan Monnier
2014-06-02 20:02   ` Andreas Röhler
2014-06-02 23:56     ` Stefan Monnier
2014-06-03  4:32   ` Glenn Morris [this message]

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=ktx82pq9o.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17670@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

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).