This post shows how to make it so clicking on a hyperlink in GNU Emacs running in the Windows Subsystem for Linux (WSL) on Windows 10 causes the link to open up in Microsoft Edge Insider’s Edition.

  1. Install WSL

  2. Install GNU Emacs

  3. Install Markdown mode

  4. Install Microsoft Edge Insider

  5. Make a shell script. I put mine in /home/edburns/bin/runedge.sh

    /mnt/c/Program\ Files\ \(x86\)/Microsoft/Edge\ Dev/Application/msedge.exe $1
    
  6. Put this in your .emacs:

  1. (defun browse-url-edge (url &optional new-window)
  2.       (shell-command
  3.        (concat "/home/edburns/bin/runedge.sh " url)))
  4.  
  5.     (setq browse-url-browser-function 'browse-url-edge)