From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#19471: Emacs can't copy text Date: Sun, 03 Jul 2016 23:31:09 -0400 Message-ID: <87a8hydqpu.fsf@users.sourceforge.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467603146 10987 80.91.229.3 (4 Jul 2016 03:32:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 03:32:26 +0000 (UTC) Cc: 19471@debbugs.gnu.org To: "Kelly Dean" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 05:32:15 2016 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 1bJucI-0001Wf-8k for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2016 05:32:14 +0200 Original-Received: from localhost ([::1]:44996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJucH-00073u-AD for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 23:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJucB-00073J-HM for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 23:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJuc6-00053x-Fd for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 23:32:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJuc6-00053s-B2 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 23:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJuc6-0004Y4-6v for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 23:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2016 03:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19471-submit@debbugs.gnu.org id=B19471.146760307017415 (code B ref 19471); Mon, 04 Jul 2016 03:32:02 +0000 Original-Received: (at 19471) by debbugs.gnu.org; 4 Jul 2016 03:31:10 +0000 Original-Received: from localhost ([127.0.0.1]:36401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJubF-0004Wk-MZ for submit@debbugs.gnu.org; Sun, 03 Jul 2016 23:31:09 -0400 Original-Received: from mail-it0-f43.google.com ([209.85.214.43]:37545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJubD-0004WT-Te; Sun, 03 Jul 2016 23:31:08 -0400 Original-Received: by mail-it0-f43.google.com with SMTP id f6so55093007ith.0; Sun, 03 Jul 2016 20:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=fo/qet8XKhkXAO1UreFCDWcEzXo3DunbbziJBcASkd8=; b=L88eterrRZAp0YToK0KF7oXs5BPoNHK6KaeAa4ywgdQbeWIQN6By3ge603w8JZ1QN1 nEZfPpXVQGGpI40asVvuqwoWA8Ab2/k0bB5v0eLHOgeBJdTntpW6BuFTJj1WBWIldYq4 AtcjwL2jdHcErZE/Y2bQ7hcwGgfbd8OVEL/JWxsxEksGF28qNg7sCWAwHDuRYa9ULxYP CCmh8gNrUTr6UfXpoh/xPqm/br3B0AUWMX6O/drAKaWMLraHTFvUQk4chsonLwA3QR0d H7OCVT2ySweCpLcYvEOT5ytu46iGB5qRCma3HpCwTVVhUVo+HmmAkkcf71xWWjy9GOIG 673A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=fo/qet8XKhkXAO1UreFCDWcEzXo3DunbbziJBcASkd8=; b=lU3IYkaifZ77NUJSeB2ncSQ8UN84vgXJk47K6fbmHKUyTkD9y+gtYas1IOlkSxkhPX rTHOoghSTsAneFKZquAj9DU67QXJUTBjg25AXNkI/HbxMSMs8LnUHRtVp90aYnY6WwI8 yq5TsQWYXCZNzSiMrJ6g2AOss9qHufH7MNQQnt1uHs5vBfyztG2hLHD3ykFHHlCAQpMH JmWqN8AI6CLhITrzQA1PQ+vFBtxfxRPD91fYbtTOXbcPWDxUoFLkdYBnjTytWZEzWEMt RoYyQJ0rRUeCnLen/v/sIQHn4kK1XsysLkdOIIR/oALEtr0TE2jvpi+fOcosClha0Pde Fcsg== X-Gm-Message-State: ALyK8tKGR+51N28Id+pZaDgE2f7UM0OYAMA2Aqz9CYAZulwDjP9FMGta86x675LrOneXFA== X-Received: by 10.36.14.76 with SMTP id 73mr6891457ite.70.1467603062297; Sun, 03 Jul 2016 20:31:02 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id f69sm987282ioj.39.2016.07.03.20.31.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jul 2016 20:31:01 -0700 (PDT) In-Reply-To: (Kelly Dean's message of "Tue, 30 Dec 2014 09:53:52 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) 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: 208.118.235.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:120382 Archived-At: retitle 19471 Can't copy display-string text severity 19471 wishlist found 19471 25.0.95 quit "Kelly Dean" writes: > Do: > C-h i g (elisp)translation keymaps RET > C-HOME C-SPACE DOWN M-w > C-x b foo RET C-y > > What it looks like you copied is =E2=8C=9C(elisp)Top > Keymaps > Translat= ion Keymaps=E2=8C=9D. But when you paste it, you instead get > =E2=8C=9CFile: elisp.info, Node: Translation Keymaps, Next: Key Binding= Commands, Prev: Remapping Commands, Up: Keymaps=E2=8C=9D > > I suppose that's rational in some twisted sense, but it's unreasonable us= er-unfriendliness for a text editor. > See my message =E2=8C=9CRe: Correspondence between web-pages and Info-pag= es=E2=8C=9D in emacs-devel for why this matters. > > I tried switching the buffer to fundamental mode in order to copy the > text, but that didn't solve the problem, so Emacs apparently has some > kind of low-level text-mangling voodoo that hijacks kill-ring-save. It's implemented by an overlay with a display property. Normal Emacs text copying commands work on the underlying text, rather than the displayed one. You can see the what overlays/properties are in effect by doing C-u C-x =3D on the string in question. Perhaps we could add some feature to be able to copy the displayed string instead of the underlying text.