1/30/2024 0 Comments Emacs copy paste![]() ![]() ![]() If you absolutely must use your remote server's Emacs instead and want it to get access to your local Windows machine's clipboard, it might be possible to hack something together so that when you want something copied to your local Windows machine's clipboard, you issue a command to the Emacs running on the remote server and it saves whatever you want copied to a file, and you run another command on your local Windows machine to copy that file from the server and put it in to your Windows machine's clipboard. Then it will have full access to your Windows machine's clipboard, and you'll still be able to edit files on your server using TRAMP. I think the best solution, if you want full Emacs integration with your local Windows machine's clipboard, is probably to install Emacs locally right on your WIndows machine itself and run it from there. Using it, it will solve your copy/paste problem, but it won't solve doing it from Emacs, because you won't be using Emacs, and you'll be stuck using a really simple editor instead. It seems that WinSCP has a simple built-in editor (which is close to notepad) that will allow you to edit files on your remote server and since the editor will be running locally on your Windows machine itself, the editor will be able to access your local Windows clipboard. There's some interesting information on WinSCP on Softpanorama. The problem you're having is that the Emacs running on the remote server has no knowledge of or access to the clipboard of the Windows machine you're logging in to it from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |