From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#11705: Strangest Emacs Bug I've ever seen Date: Sun, 30 Jun 2019 06:25:42 +0200 Message-ID: References: <01ca01cd49d5$29081670$7b184350$@kohlfeld.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="47138"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 11705@debbugs.gnu.org To: Damian Kohlfeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 30 06:26:45 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hhRQK-000CA2-Uv for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2019 06:26:45 +0200 Original-Received: from localhost ([::1]:42950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhRQJ-0004ix-JC for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2019 00:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52975) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhRPn-0004ia-HO for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 00:26:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhRPh-0008Vs-FR for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 00:26:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhRPe-0008TO-5A for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 00:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhRPd-0000Ct-Vl for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 00:26:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <01ca01cd49d5$29081670$7b184350$@kohlfeld.com> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2019 04:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11705 X-GNU-PR-Package: emacs Original-Received: via spool by 11705-submit@debbugs.gnu.org id=B11705.1561868761792 (code B ref 11705); Sun, 30 Jun 2019 04:26:01 +0000 Original-Received: (at 11705) by debbugs.gnu.org; 30 Jun 2019 04:26:01 +0000 Original-Received: from localhost ([127.0.0.1]:45193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhRPd-0000Ce-01 for submit@debbugs.gnu.org; Sun, 30 Jun 2019 00:26:01 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:36268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhRPb-0000CN-Bj for 11705@debbugs.gnu.org; Sun, 30 Jun 2019 00:25:59 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id n4so10200325wrs.3 for <11705@debbugs.gnu.org>; Sat, 29 Jun 2019 21:25:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=dx/AMIFYF96FZH4b9H6/KlVMRsj9nbfYZui3qbh/XMs=; b=NKz0cZrIv2ZgcpAXUWBdRhMrmFYjRYG7E7OyEulJ/w4qE3Il3AaPtI9IC5b3Mmm0gU /faZ7n21+G/Hyyq9zGmZbPsQvbNVflNxIBLqM9ENyiLR4IfjXsNUm0T6CT1Td6l2YKYg bIsmxiy8HU2ykAC7df+8IW6M9aMoOF+LfgUv3XKy9N65xmRaMSCtt1D58BJOHTRniJU9 T7FgWYgXC7BKEgyALKstScNyWFqouJDUpujB0bAHEDiaOCj81CmqeXidXUpqJkvpiI+f ZJgOc3j7Qsu2tHqKtfEG/YHLztuECJaETmQefbho/KOMP2NkDfnMgLQYP6RgA9p6oz5z 1gnA== X-Gm-Message-State: APjAAAUvOg5xe+YgOuFccV9scLlPnCVYpctPKovj0CM0rTn5LlWXcUln gkr296ugWIIODjBOGzju0MFtZPP2e9B0AvC1mbE= X-Google-Smtp-Source: APXvYqxsv0yjTdSGRDIhF1JzR59GADF+63R3AX3c0jpYsESu9p8VCjpp2favk9wEa5+43g+NXf8mALroCT5UoRhj4PQ= X-Received: by 2002:adf:eb49:: with SMTP id u9mr13949250wrn.215.1561868753573; Sat, 29 Jun 2019 21:25:53 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:161856 Archived-At: tags 11705 + unreproducible quit "Damian Kohlfeld" writes: > 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 I can't reproduce this on Emacs 26.2 nor on current master. Are you still seeing this bug? If yes, could you please describe your environment more precisely -- for example, what terminal emulator are you using (xterm, rxvt, aterm)? Can you paste this text line into other programs running in terminal? Can you paste it into emacs if you don't use screen? Thanks, Stefan Kangas