Attached is an updated version that I believe addresses all the concerns raised on the mailing list. Given the changes don't split so cleanly into two any more, I've combined them into a single patch. Thanks! On Thu, Jun 9, 2022 at 11:52 PM Eli Zaretskii wrote: > > > Date: Thu, 9 Jun 2022 23:18:01 -0700 > > From: Duncan Findlay via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > Attached are two patches to allow users that use xterm's OSC 52 > > clipboard support to have their primary selection updated with the > > active region, to better match the behavior of running Emacs in X > > locally. > > > > This behavior is enabled automatically for supported terminals, and is > > controlled by the existing `select-active-regions' variable. > > > > Previous discussion: > > https://lists.gnu.org/archive/html/emacs-devel/2022-06/msg00126.html > > Thanks. > > However, the patches you posted seem to ignore the comments I made in > the above-mentioned discussions, specifically here: > > https://lists.gnu.org/archive/html/emacs-devel/2022-06/msg00134.html > > Did you send a wrong version of the patches, perhaps?