unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode
@ 2015-02-02  3:32 Dima Kogan
  2015-02-05 23:07 ` Carlos Pita
  2015-02-08  3:39 ` Fabián Ezequiel Gallina
  0 siblings, 2 replies; 4+ messages in thread
From: Dima Kogan @ 2015-02-02  3:32 UTC (permalink / raw)
  To: 19744

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-08  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  3:32 bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode Dima Kogan
2015-02-05 23:07 ` Carlos Pita
2015-02-05 23:11   ` Carlos Pita
2015-02-08  3:39 ` Fabián Ezequiel Gallina

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