all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 19744@debbugs.gnu.org
Subject: bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode
Date: Thu, 5 Feb 2015 20:07:32 -0300	[thread overview]
Message-ID: <CAELgYhfJcCbJ4Oj5Qd154e-A7GOJC-gU8+wbabNWXc+vYW5aWw@mail.gmail.com> (raw)
In-Reply-To: <87d25t56ov.fsf@secretsauce.net>

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?





  reply	other threads:[~2015-02-05 23:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAELgYhfJcCbJ4Oj5Qd154e-A7GOJC-gU8+wbabNWXc+vYW5aWw@mail.gmail.com \
    --to=carlosjosepita@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.