Subject: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled

From: Eli Zaretskii <[email-masked]>
Date: Sun, 22 Dec 2024 09:46:11 +0200

> From: Richard Stallman <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked],
> 	[email-masked], [email-masked]
> Date: Sat, 21 Dec 2024 23:49:28 -0500
> 
>   > I took a look at xclip's code, and its scope is larger than just macOS
>   > pasteboard integration. If I volunteered to help adopt xclip into Emacs,
> 
> Merging the application program xclip into Emacs seems like doing
> things the roundabout way.  Doesn't Emacs already have access to the X
> clipboard and selections?  If it doesn't have all the desirable
> features in that area, we can implement the missing ones simply
> like the already-implemened ones.

The xclip package is about allowing Emacs to access the clipboard and
selection from text-only frames.  That is supported on xterm and on
some other text terminals, but not universally.  This package is
supposed to fill the gaps by using external programs.