unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: 19744@debbugs.gnu.org
Subject: bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode
Date: Sun, 01 Feb 2015 19:32:48 -0800	[thread overview]
Message-ID: <87d25t56ov.fsf@secretsauce.net> (raw)

Hi.

I'm using a very recent build of Emacs from git. Trying to yank any text
with a "\n" in it into an inferior python buffer does not work: no text
is yanked at all. To reproduce:

1. emacs -Q
2. M-x run-python
3. Type and kill "5\n"
4. C-y. Nothing happens.

If in step 3 you kill "5" instead, then the yank works fine. This is due
to the python-shell-font-lock-post-command-hook. There, the just-entered
input is deleted, and re-inserted with proper fontification. Except in
this case the re-insertion doesn't work for some reason. I'll look later
myself if nobody else get to it first.





             reply	other threads:[~2015-02-02  3:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02  3:32 Dima Kogan [this message]
2015-02-05 23:07 ` bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode Carlos Pita
2015-02-05 23:11   ` Carlos Pita
2015-02-08  3:39 ` Fabián Ezequiel Gallina

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=87d25t56ov.fsf@secretsauce.net \
    --to=dima@secretsauce.net \
    --cc=19744@debbugs.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.
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).