[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode
From: |
Carlos Pita |
Subject: |
bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode |
Date: |
Thu, 5 Feb 2015 20:07:32 -0300 |
I've been looking at this and it's pretty problematic indeed.
The reported issue is related to the fact that
python-shell-font-lock-post-command-hook just work on a single line of
the font lock buffer. This could be easily fixed replacing point-min
and point-max for line-beginning-position and line-end-position.
The real problem is that multiline pasting is not that easy, as the
shell already supports that on a line by line basis. So after yanking
multiline text you will see a weird output, with a trail of '...',
which means the shell has responded to newlines in the yanked text.
Maybe an output filter should be installed to remove this trail of ellipsis.
Fabian, what do you think?