From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Taylor R Campbell <campbell@mumble.net>
Cc: 19258-done@debbugs.gnu.org
Subject: bug#19258: 24.3; Python Mode breaks self-insert-command
Date: Tue, 02 Dec 2014 21:07:55 -0500 [thread overview]
Message-ID: <jwv1tohjxl3.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <20141202222414.7971E6055C@jupiter.mumble.net> (Taylor R. Campbell's message of "Tue, 2 Dec 2014 22:24:52 +0000")
Version: 24.4
> Open a file named foo.py. Enter the following text:
> f = (
> if y[]
> Then put the point between the square brackets and type `i', a key
> which is bound to self-insert-command. Instead of simply inserting an
> `i' as I asked, the whole line will jump to the right several spaces.
That was fixed in 24.4
> This happens because Python Mode has incorrectly put a function into
> `post-self-insert-hook' that randomly messes with the buffer. There
> is no reason Python Mode should touch `post-self-insert-hook' at all
> unless I intentionally turn on `electric' nonsense, which I do not do.
Thanks for the lecture ;-)
Stefan
prev parent reply other threads:[~2014-12-03 2:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 22:24 bug#19258: 24.3; Python Mode breaks self-insert-command Taylor R Campbell
2014-12-03 2:07 ` Stefan Monnier [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=jwv1tohjxl3.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=19258-done@debbugs.gnu.org \
--cc=campbell@mumble.net \
/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).