GNU bug report logs - #25005
25.1; Support disabling bracketed paste mode.

Previous Next

Package: emacs;

Reported by: Jay Lee <jay <at> hanjaelee.com>

Date: Wed, 23 Nov 2016 16:30:04 UTC

Severity: minor

Tags: moreinfo

Found in version 25.1

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

Bug is archived. No further changes may be made.

Full log


Message #23 received at 25005 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jay Lee <jay <at> hanjaelee.com>
Cc: 25005 <at> debbugs.gnu.org
Subject: Re: bug#25005: 25.1; Support disabling bracketed paste mode.
Date: Thu, 24 Nov 2016 18:06:45 +0200
> From: Jay Lee <jay <at> hanjaelee.com>
> Date: Thu, 24 Nov 2016 09:27:31 +0900
> Cc: 25005 <at> debbugs.gnu.org
> 
> If I start from emacs -q, It works well.
> I checked again yesterday, I found reason about this issue.
> 
> (global-set-key (kbd "M-[") 'previous-multiframe-window) this keybindings affect this issue.
> after removing this configuration, It works well. Not added “200~201~” I don't understand why is this reason. I think It is just keybinding.

The bracketed paste sequence also starts with M-[, so when you paste,
Emacs invokes previous-multiframe-window instead of the function that
handles the paste.  The function that handles the paste knows about
the “200~201~” stuff, and removes it from the pasted text.  But
previous-multiframe-window doesn't.

> So in this case, is my emacs bracketed paste mode disabled?

No, I think it's enabled.  That's why you get those garbled characters
when you paste.

> if so I want to know why bracketed paste mode is disabled. I just remove configuration for keybinding.

When you remove the key binding, bracketed pastes should work
correctly.  Do they?

> And is there way to turn off bracketed paste mode officially?

No, not yet.  Not through Emacs, anyway.




This bug report was last modified 3 years and 162 days ago.

Previous Next


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