Drew Adams schrieb am Mi., 23. Nov. 2016 um 17:43 Uhr: > > > I do think it would be nice to let users disable use of this > > feature, even if the terminal supports it. Since we do that > > with other xterm extensions (see xterm-extra-capabilities), > > we should probably offer the same level of control for this > > capability, either as part of getSelection, or as a separate > > feature. > > Clearly. > > If Emacs can suddenly start supporting it then Emacs can > provide a way to turn it off (it was, in effect, off before). > > > Philipp, would you like to add this on the emacs-25 branch? > > Yes, thank you. > There shouldn't be any need for turning off bracketed pasting. It's just a separate input key sequence that is either sent or not sent by the terminal emulator. This isn't different from e.g. the Hyper key; there's also no option to disable the latter. The issue here is that the terminal emulator sends various escape sequences to the running program; such escape sequences cannot in general be used as custom key sequences, because they are intended to have a special predefined meaning.