Subject: Re: bug#24639: 26.0.50; Terminal paste doesn't work right in term char mode

From: Eli Zaretskii <[email-masked]>
Date: Fri, 07 Oct 2016 22:05:35 +0300

> From: Philipp <[email-masked]>
> Date: Fri, 07 Oct 2016 20:02:45 +0200
> 
> emacs -nw -Q -f term
> 
> RET to start the terminal.  Make sure it's in char mode.  Select
> some text in another X window.  Go back to the Emacs term buffer, press
> middle click, then press RET.
> Expected behavior: Selected text gets inserted and interpreted as shell
> command.
> Actual behavior in Emacs 24.3: Expected behavior.
> Actual behavior in Emacs built from master branch: Selected text gets
> inserted, but not interpreted as shell command (i.e. nothing happens
> after pressing RET).
> 
> This appears to be a regression, possibly caused by
> bracketed-paste-mode.

Does it help to disable the bracketed-paste-mode in term.el?