unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Way to use wsl utilities on windows 10 with emacs windows version.
@ 2019-06-05  8:03 范凯
  2019-06-08  4:48 ` Van L
  0 siblings, 1 reply; 5+ messages in thread
From: 范凯 @ 2019-06-05  8:03 UTC (permalink / raw)
  To: help-gnu-emacs

Dear list,


As we known Emacs relays on many unix tools such as zip, unzip, hunspell, ispell, diff, etc.



Historically to use these kind of tools in Win32 emacs, one have to use cygwin or download them from gnu-win32 project on sf.net.



As recently MS had released the Windows Subsystem for Linux, aka. WSL. and it is able to run any linux commandline tool in windows command shell by calling "wsl" command then append the original wanted command line (include its arguments) as wsl's command arguments. eg.


say I want to get the different of filea.txt and fileb.txt in current directory, I can run following command in cmd.exe


wsl diff -u filea.txt fileb.txt


Then linux diff tool will be run and print the diff result to cmd.exe output buffer.




QUESTION: Has anyone successfully configured wsl related command in win32 emacs? Are there anyway to use this mechanism globally in win32-emacs, say prefix every command line utility with a wxl?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-08 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-05  8:03 Way to use wsl utilities on windows 10 with emacs windows version 范凯
2019-06-08  4:48 ` Van L
2019-06-08  6:07   ` m_pupil
2019-06-08  6:25     ` Van L
2019-06-08 21:39       ` Xavier Maillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).