GNU bug report logs - #17357
24.4.50; garbage characters when pasting in an OS X terminal

Previous Next

Package: emacs;

Reported by: Glyph <glyph <at> twistedmatrix.com>

Date: Sun, 27 Apr 2014 08:28:01 UTC

Severity: normal

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glyph <glyph <at> twistedmatrix.com>
Cc: 17357 <at> debbugs.gnu.org, Daniel Colascione <dancol <at> dancol.org>, Jan Djärv <jan.h.d <at> swipnet.se>
Subject: bug#17357: 24.4.50; garbage characters when pasting in an OS X terminal
Date: Wed, 09 Sep 2020 14:14:12 +0200
Glyph <glyph <at> twistedmatrix.com> 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




This bug report was last modified 4 years and 260 days ago.

Previous Next


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