emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xclip.el & WSL


From: Justin Abrahms
Subject: xclip.el & WSL
Date: Sat, 10 Jun 2023 20:03:18 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2

Hey folks,

Looking through the xclip.el source and noticed the comment ";FIXME: How do we detect WSL?". There are official answers in this thread: https://github.com/microsoft/WSL/issues/4071 . My favorite answer is that "uname -r" contains the word microsoft. Mine says: 5.15.90.1-microsoft-standard-WSL2

Additionally, there is a bug whereby the xclip-program variable is set to "powershell" the defcustom, but the actual value needs to be "clip.exe". I've overridden it in my config, but seems like someone should fix it for the next person.

-justin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]