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

From: Philipp Stephani <[email-masked]>
Date: Sun, 09 Oct 2016 20:48:59 +0000

Eli Zaretskii <[email-masked]> schrieb am Sa., 8. Okt. 2016 um 07:27 Uhr:

> > From: Philipp Stephani <[email-masked]>
>
> > Date: Fri, 07 Oct 2016 20:19:47 +0000
>
> > Cc: [email-masked]
>
> >
>
> >  > Maybe M-x term should temporarily bracketed paste mode when in char
>
> >  > mode.
>
> >
>
> >  That's what I was trying to suggest. Does this have downsides?
>
> >
>
> > I wouldn't expect any. Bracketed paste mode is a bit faster, but running
> a bit slower is better than not working
>
> > at all.
>
>
>
> Then please push such a change to the emacs-25 branch.
>
>
>
Unfortunately it's not that simple: Bracketed paste more should only be
disabled when a term buffer is active on an xterm and in char mode. So this
will probably require an addition to window-configuration-change-hook or
similar.