From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#21471: 25.0.50; bug report with text from Info has spurious escape chars Date: Mon, 14 Sep 2015 14:10:51 -0700 Organization: UCLA Computer Science Department Message-ID: <55F737DB.5040003@cs.ucla.edu> References: <55F5CBA0.90406@cs.ucla.edu> <065d972a-464a-4d55-9b67-29b3827caeb9@default> <83si6ha5dd.fsf@gnu.org> <1b2518bd-4049-423f-a32e-85d5b3adc3f4@default> <55F6F805.8010506@cs.ucla.edu> <83vbbc982y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080102060300040001060205" X-Trace: ger.gmane.org 1442265087 1040 80.91.229.3 (14 Sep 2015 21:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 21:11:27 +0000 (UTC) Cc: 21471@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 14 23:11:15 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 1Zbb1u-0006CN-GY for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Sep 2015 23:11:14 +0200 Original-Received: from localhost ([::1]:43560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbb1u-0005wq-57 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Sep 2015 17:11:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbb1m-0005o4-Lz for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2015 17:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbb1i-0001fX-Gt for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2015 17:11:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbb1i-0001fJ-Dz for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2015 17:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zbb1h-0002KP-Vg for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2015 17:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Sep 2015 21:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21471-submit@debbugs.gnu.org id=B21471.14422650578938 (code B ref 21471); Mon, 14 Sep 2015 21:11:01 +0000 Original-Received: (at 21471) by debbugs.gnu.org; 14 Sep 2015 21:10:57 +0000 Original-Received: from localhost ([127.0.0.1]:60626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbb1c-0002K6-Fh for submit@debbugs.gnu.org; Mon, 14 Sep 2015 17:10:56 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54064) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbb1a-0002Jx-6y for 21471@debbugs.gnu.org; Mon, 14 Sep 2015 17:10:55 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6F4941610C4; Mon, 14 Sep 2015 14:10:53 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ozv78c3J3A2F; Mon, 14 Sep 2015 14:10:52 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 90FAA1610B3; Mon, 14 Sep 2015 14:10:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VD0EGncPdWdh; Mon, 14 Sep 2015 14:10:52 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6DEB51605E1; Mon, 14 Sep 2015 14:10:52 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <83vbbc982y.fsf@gnu.org> 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106557 Archived-At: This is a multi-part message in MIME format. --------------080102060300040001060205 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Eli Zaretskii wrote: > What was this fix supposed to change? It was supposed to fix the two scenarios mentioned (one mine, the other Drew's). I didn't know the clipboard didn't work. Fixed, I hope, with the attached patch. --------------080102060300040001060205 Content-Type: text/plain; charset=UTF-8; name="0001-Don-t-double-encode-non-ASCII-mail-clipboard.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Don-t-double-encode-non-ASCII-mail-clipboard.patch" RnJvbSA1OWYwYjUzYzEwOTJiMTUyOGQzNGQ5YzRlZGViY2YwMzRiZTYyOGE0IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBNb24sIDE0IFNlcCAyMDE1IDE0OjA5OjI0IC0wNzAwClN1YmplY3Q6IFtQQVRD SF0gPT9VVEYtOD9xP0Rvbj1FMj04MD05OXQ9MjBkb3VibGUtZW5jb2RlPTIwbm9uLUFTQ0lJ PTIwbWFpPz0KID0/VVRGLTg/cT9sPTIwY2xpcGJvYXJkPz0KTUlNRS1WZXJzaW9uOiAxLjAK Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04CkNvbnRlbnQtVHJhbnNm ZXItRW5jb2Rpbmc6IDhiaXQKCiogbGlzcC9tYWlsL21haWxjbGllbnQuZWwgKG1haWxjbGll bnQtc2VuZC1pdCk6CkFsc28gZml4IHRoZSBjYXNlIHdoZW4gbWFpbGNsaWVudC1wbGFjZS1i b2R5LW9uLWNsaXBib2FyZC1mbGFnCmlzIG5vbi1uaWwuICBQcm9ibGVtIHJlcG9ydGVkIGJ5 IEVsaSBaYXJldHNraWkgKEJ1ZyMyMTQ3MSMzNykuCi0tLQogbGlzcC9tYWlsL21haWxjbGll bnQuZWwgfCA1NiArKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMjUgaW5zZXJ0aW9ucygrKSwgMzEgZGVsZXRpb25z KC0pCgpkaWZmIC0tZ2l0IGEvbGlzcC9tYWlsL21haWxjbGllbnQuZWwgYi9saXNwL21haWwv bWFpbGNsaWVudC5lbAppbmRleCBiZWYyMDM4Li4yZmI5NDRiIDEwMDY0NAotLS0gYS9saXNw L21haWwvbWFpbGNsaWVudC5lbAorKysgYi9saXNwL21haWwvbWFpbGNsaWVudC5lbApAQCAt MTc1LDM3ICsxNzUsMzEgQEAgVGhlIG1haWwgY2xpZW50IGlzIHRha2VuIHRvIGJlIHRoZSBo YW5kbGVyIG9mIG1haWx0byBVUkxzLiIKIAkJCSAgICAgICAobWFpbGNsaWVudC1lbmNvZGUt c3RyaW5nLWFzLXVybCBzdWJqKSkKIAkJICAgICAiIikpKSkKIAkgICAgICA7OyBib2R5Ci0J ICAgICAgKGNvbmNhdAotCSAgICAgICAobWFpbGNsaWVudC11cmwtZGVsaW0pICJib2R5PSIK LQkgICAgICAgKG1haWxjbGllbnQtZW5jb2RlLXN0cmluZy1hcy11cmwKLQkJKGlmIG1haWxj bGllbnQtcGxhY2UtYm9keS1vbi1jbGlwYm9hcmQtZmxhZwotCQkgICAgKHByb2duCi0JCSAg ICAgIChjbGlwYm9hcmQta2lsbC1yaW5nLXNhdmUKLQkJICAgICAgICgrIDEgZGVsaW1saW5l KSAocG9pbnQtbWF4KSkKLQkJICAgICAgKGNvbmNhdAotCQkgICAgICAgIioqKiBFLU1haWwg Ym9keSBoYXMgYmVlbiBwbGFjZWQgb24gY2xpcGJvYXJkLCAiCi0JCSAgICAgICAicGxlYXNl IHBhc3RlIGl0IGhlcmUhICoqKiIpKQotCQkgIDs7IGVsc2UKLQkJICAobGV0ICgoYm9keSAo YnVmZmVyLXN1YnN0cmluZyAoKyAxIGRlbGltbGluZSkgKHBvaW50LW1heCkpKSkKLQkJICAg IChpZiAobnVsbCBjaGFyYWN0ZXItY29kaW5nKQotCQkJYm9keQotCQkgICAgICA7OyBtYWls dG86IHJlcXVpcmVzIFVURi04IGFuZCBjYW5ub3QgZGVhbCB3aXRoCi0JCSAgICAgIDs7IENv bnRlbnQtVHJhbnNmZXItRW5jb2Rpbmcgb3IgQ29udGVudC1UeXBlLgotCQkgICAgICA7OyBG SVhNRTogVGhlcmUgaXMgYSBsb3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S0gCjIuMS40 Cgo= --------------080102060300040001060205--