From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#19744: 25.0.50; Cannot yank text with "\n" in inferior python mode Date: Thu, 5 Feb 2015 20:07:32 -0300 Message-ID: References: <87d25t56ov.fsf@secretsauce.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1423177692 22074 80.91.229.3 (5 Feb 2015 23:08:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 23:08:12 +0000 (UTC) To: 19744@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 06 00:08:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJVWu-0008OT-3L for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Feb 2015 00:08:12 +0100 Original-Received: from localhost ([::1]:45947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJVWt-0001xf-8Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 18:08:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJVWo-0001t8-KU for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2015 18:08:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJVWk-00059i-QM for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2015 18:08:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJVWk-00059W-NV for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2015 18:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YJVWk-0007dL-9M for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2015 18:08:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87d25t56ov.fsf@secretsauce.net> Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Feb 2015 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19744-submit@debbugs.gnu.org id=B19744.142317768129335 (code B ref 19744); Thu, 05 Feb 2015 23:08:02 +0000 Original-Received: (at 19744) by debbugs.gnu.org; 5 Feb 2015 23:08:01 +0000 Original-Received: from localhost ([127.0.0.1]:35110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJVWj-0007d4-2T for submit@debbugs.gnu.org; Thu, 05 Feb 2015 18:08:01 -0500 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:53697) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YJVWh-0007cp-20 for 19744@debbugs.gnu.org; Thu, 05 Feb 2015 18:07:59 -0500 Original-Received: by mail-lb0-f169.google.com with SMTP id f15so12691348lbj.0 for <19744@debbugs.gnu.org>; Thu, 05 Feb 2015 15:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=55Q5GugkmwwLfxbtPv+9EcC5C2hK4VKeh4/EeJaPznI=; b=r7LCf5kg/VPEhGV1jCTUrSAKB8tpSe4txFYCElnDqBqrMxZprMK4wo8FqmaB+48buF otEfcAMDeaB9WOqPigw6RER9b1PNpSQG/0nCK4wu5Yq6jZqnN7H/gZDJdLFDbQAIHGGL /nHDnp/bChp4GVT1oXm52+4FqvACjAKJm6F0pZhnQID6GeWDB7+ohJHSA96e8wKlnz6f Y3fRi9ANRfp99v5wBtRBtP8SVsK1M6ib+AIKklEl1HTznc+qrNDfIK/mTioWpA4weUq7 e9r4c/BUxL7gZxuShmPeL5vlQHpZn2h0Q0m49iZsXjZSqmq55zJVJqxpAw/yFl9YaX0S NqSA== X-Received: by 10.112.141.166 with SMTP id rp6mr384034lbb.120.1423177673173; Thu, 05 Feb 2015 15:07:53 -0800 (PST) Original-Received: by 10.112.124.202 with HTTP; Thu, 5 Feb 2015 15:07:32 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99082 Archived-At: 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?