GNU bug report logs - #11705
Pasting text to Emacs inside GNU screen drops "kbr"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Damian Kohlfeld" <damian@HIDDEN>; dated Thu, 14 Jun 2012 02:45:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to 'Pasting text to Emacs inside GNU screen drops "kbr"' from 'Strangest Emacs Bug I've ever seen' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Jun 2012 02:44:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 13 22:44:18 2012
Received: from localhost ([127.0.0.1]:41542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Sf02h-0003lF-TX
	for submit <at> debbugs.gnu.org; Wed, 13 Jun 2012 22:44:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60081)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <damian@HIDDEN>) id 1Sezpk-0003Qq-KL
	for submit <at> debbugs.gnu.org; Wed, 13 Jun 2012 22:30:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <damian@HIDDEN>) id 1Sezmy-00049C-BD
	for submit <at> debbugs.gnu.org; Wed, 13 Jun 2012 22:28:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:53333)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <damian@HIDDEN>) id 1Sezmy-000498-8B
	for submit <at> debbugs.gnu.org; Wed, 13 Jun 2012 22:28:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59937)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <damian@HIDDEN>) id 1Sezmw-0002I7-LU
	for bug-gnu-emacs@HIDDEN; Wed, 13 Jun 2012 22:27:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <damian@HIDDEN>) id 1Sezmu-00048c-Kt
	for bug-gnu-emacs@HIDDEN; Wed, 13 Jun 2012 22:27:58 -0400
Received: from smtpauth20.prod.mesa1.secureserver.net ([64.202.165.36]:42125)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <damian@HIDDEN>) id 1Sezmu-00048H-7b
	for bug-gnu-emacs@HIDDEN; Wed, 13 Jun 2012 22:27:56 -0400
Received: (qmail 28627 invoked from network); 14 Jun 2012 02:27:49 -0000
Received: from unknown (50.104.39.99)
	by smtpauth20.prod.mesa1.secureserver.net (64.202.165.36) with ESMTP;
	14 Jun 2012 02:27:49 -0000
From: "Damian Kohlfeld" <damian@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: Strangest Emacs Bug I've ever seen
Date: Wed, 13 Jun 2012 21:26:51 -0500
Message-ID: <01ca01cd49d5$29081670$7b184350$@kohlfeld.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac1J042sgDkJaTM5RYaasNid89Y11Q==
Content-Language: en-us
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 13 Jun 2012 22:44:12 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

This is a screen+emacs bug.  For whatever reason, it truncated "kbr" when
pasting into Emacs.

Been using Emacs Console for years (inside Screen).  I often copy/paste into
emacs buffer.

If I open emacs editor with:
Emacs test.pl

Then I paste the following text into the emacs console window:
eWRvbWFpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyZkbrbuq7a4Z1Ato

Only the following gets pasted:
eWRvbWFpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyZbuq7a4Z1Ato

I have tested this on emacs in Redhat 9, all the way up to emacs running on
CentOS 5.6

The same will happen with this text:
YEAyZkbrbuq7a4Z1Ato

The "kbr" gets truncated.

I've looked for control characters, etc, but have found nothing.  Here is a
block from Microsoft Notepad:

VQQDEw9Gb3J0LUZ1bnN0b24gQ0ExITAfBgkqhkiG9w0BCQEWEm1lQG15aG9zdC5t
eWRvbWFpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyZkbrbuq7a4Z1Ato
iPETp5Ds6OJWwsCGX5LK6FzDj7e8vA298OiXolOME2I9p7LvXtwUfFSCJH+VGWNE

If you paste that into emacs, the middle line is truncated.  

I do not even see how this is possible.  

Anyway, I thought I would let you know, I've definitely stumbled across
something very very strange.

Thanks for such an awesome editor, compiler, does-everything-I could ever
need program,,,

Damian Kohlfeld







Acknowledgement sent to "Damian Kohlfeld" <damian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11705; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 6 Jul 2016 22:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.