From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#17357: 24.4.50; garbage characters when pasting in an OS X terminal Date: Wed, 09 Sep 2020 14:14:12 +0200 Message-ID: <87wo13b10r.fsf@gnus.org> References: <10EFA706-8A14-4F49-81B2-403D770E1CCE@twistedmatrix.com> <535D4211.6030706@dancol.org> <716D74DC-50C1-4E79-B43B-5D595A051516@twistedmatrix.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25297"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 17357@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= To: Glyph Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 09 14:15:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFz0K-0006S2-Lc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 14:15:12 +0200 Original-Received: from localhost ([::1]:34290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFz0J-0004so-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 08:15:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFz0A-0004pL-Ad for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 08:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFz0A-0004RJ-0B for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 08:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFz09-0007Ut-PO for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 08:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 12:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17357 X-GNU-PR-Package: emacs Original-Received: via spool by 17357-submit@debbugs.gnu.org id=B17357.159965366828746 (code B ref 17357); Wed, 09 Sep 2020 12:15:01 +0000 Original-Received: (at 17357) by debbugs.gnu.org; 9 Sep 2020 12:14:28 +0000 Original-Received: from localhost ([127.0.0.1]:57640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFyzc-0007Ta-2K for submit@debbugs.gnu.org; Wed, 09 Sep 2020 08:14:28 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFyzZ-0007TH-SB for 17357@debbugs.gnu.org; Wed, 09 Sep 2020 08:14:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fBRvUoP8hJx5AH305aQtsvpL5aplmKjX582BzN/oRdU=; b=c9IcSsbbIRAGr8jOSPpdxvSwwJ AT/3sZeQlDMPU5s7n4uSbK38HKrtoKfWPaakEhLtKQkH84ISj9C7xk69RMwdFhT6g3IK6iXWbOa4U EJfLzX2laZhTaevchg3VfxRytsydR/n5HXBHIa4RdhDMyt1mk016zPOmz2Lfzo//8YhM=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFyzN-0002NT-FB; Wed, 09 Sep 2020 14:14:18 +0200 X-Now-Playing: Jay Glass Dubs's _Epitaph_: "Seikilos & To Console Him" In-Reply-To: <716D74DC-50C1-4E79-B43B-5D595A051516@twistedmatrix.com> (glyph@twistedmatrix.com's message of "Sun, 27 Apr 2014 17:03:23 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187634 Archived-At: Glyph writes: > The problem is that I had this key-binding in some emacs-lisp code I > wrote a while ago: > > (global-set-key [(meta \])] 'something) > (global-set-key [(meta \[)] 'something-else) > > After removing those global key bindings, it works great. > > It might be worth putting some nicer error-reporting around those > though, since M-] and M-[ are perfectly cromulent keys to want to bind > (and I still bind them, I just have an (if (not (eq window-system > nil))) around it now. This was apparently not an Emacs bug, but then the discussion turned to possibly adding a new feature that would warn the user if binding these keys in a terminal. I'm not sure that's really warranted -- there's a bunch of key bindings that work under a window system that don't work in a terminal. It would be nice to have key bindings that work under different terminal types (and is that what overriding-terminal-local-map kinda sorta does?), but this would in any case be a new feature request, so I'm closing this bug report. (If this is something that should be worked upon, please open a new wishlist bug report.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no