unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glyph <glyph@twistedmatrix.com>
Cc: 17357@debbugs.gnu.org, "Jan Djärv" <jan.h.d@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	[thread overview]
Message-ID: <87wo13b10r.fsf@gnus.org> (raw)
In-Reply-To: <716D74DC-50C1-4E79-B43B-5D595A051516@twistedmatrix.com> (glyph@twistedmatrix.com's message of "Sun, 27 Apr 2014 17:03:23 -0700")

Glyph <glyph@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





      parent reply	other threads:[~2020-09-09 12:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-27  7:47 bug#17357: 24.4.50; garbage characters when pasting in an OS X terminal Glyph
2014-04-27 17:27 ` Jan Djärv
2014-04-27 17:44   ` Daniel Colascione
2014-04-27 23:31     ` Daniel Colascione
2014-04-28  0:03     ` Glyph
2014-04-28  0:11       ` Daniel Colascione
2014-04-28  3:55         ` Stefan Monnier
2014-04-28 19:12         ` Glyph Lefkowitz
2020-09-09 12:14       ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo13b10r.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17357@debbugs.gnu.org \
    --cc=glyph@twistedmatrix.com \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).