You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks a lot for this super useful package.
I have been taking a look at the source code and I see the current flow emacs-everywhere-finish:
Write buffer contents to file
Copy from file to clipboard
Paste from clipboard to app
Why don't we shortcircuit (1) and (2) and directly copy the buffer contents to the clipboard?
From my understanding, that would make the application more robust across OSs, since Emacs already has the capability of copying to the system's clipboard...
The text was updated successfully, but these errors were encountered:
arthurcgusmao
changed the title
Why not copy to from clipboard from buffer (instead of file)?
Why not copy to clipboard directly from buffer (instead of file)?
Mar 5, 2024
We do actually directly copy the buffer content to the clipboard, but during development I found that just using gui-select-text wasn't actually 100% successful, as hinted in the code comment here:
Hi @tecosaur,
First of all, thanks a lot for this super useful package.
I have been taking a look at the source code and I see the current flow
emacs-everywhere-finish
:Why don't we shortcircuit (1) and (2) and directly copy the buffer contents to the clipboard?
From my understanding, that would make the application more robust across OSs, since Emacs already has the capability of copying to the system's clipboard...
The text was updated successfully, but these errors were encountered: