all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 范凯 <m_pupil@163.com>
To: help-gnu-emacs@gnu.org
Subject: Way to use wsl utilities on windows 10 with emacs windows version.
Date: Wed, 5 Jun 2019 16:03:37 +0800 (CST)	[thread overview]
Message-ID: <4e592208.becb.16b26aa36c6.Coremail.m_pupil@163.com> (raw)

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?



             reply	other threads:[~2019-06-05  8:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-05  8:03 范凯 [this message]
2019-06-08  4:48 ` Way to use wsl utilities on windows 10 with emacs windows version Van L
2019-06-08  6:07   ` m_pupil
2019-06-08  6:25     ` Van L
2019-06-08 21:39       ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e592208.becb.16b26aa36c6.Coremail.m_pupil@163.com \
    --to=m_pupil@163.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.