Questions tagged [wsl]

WSL is acronym for Windows Subsystem for Linux.

Filter by
Sorted by
Tagged with
0
votes
1answer
106 views

How to use Ctrl-C on WSL (key binding conflict)

I'm learning Emacs, using WSL-1 in cmder shell on Windows 10. C-c seems an essential key binding yet on Windows this combination is tied to copy from buffer. Same applies for Ctrl-v - right from the ...
1
vote
0answers
46 views

Can't launch emacs from outside bin directory

I'm building emacs from source (the feature/native-comp branch) on Ubuntu inside WSL 2. This was working a couple weeks ago, but today it stopped (I hadn't used it in some time though). I've cloned ...
0
votes
0answers
357 views

WSL: emacs gui won't start

I'm on Windows 10 Pro 10.0.21337 (windows insider program) and installed WSL with Ubuntu 20.04. From within ubuntu I said apt-get update apt-get upgrade apt-get install emacs dpkg -l emacs -> ||/ ...
0
votes
0answers
54 views

Cannot connect to WSL using Tramp (all localhost)

this is my %USERPROFILE%\.ssh\config Host wsl User daniele Port 2222 HostName localhost If I open a cmd and run ssh wsl everything works like a charm. But when I try: C-x C-f /ssh[x]:daniele@...
0
votes
0answers
39 views

Opening file after org-export in external program fails, but works with different invocation methods

I'm using emacs in Win10 WSL 2 Linux and call a custom script open in my $PATH to open files from WSL-Linux/emacs in Windows GUI. My .mailcap makes sure that the script is actually being used and the ...
0
votes
0answers
147 views

Copy/Paste (yank) problems with emacs in WSL2 with VcXsrv (from clipboard)

I have two problems with emacs when I'm using it with WSL2 and VcXsrv. When I copy something out of emacs and paste/yank it in a buffer, it usually works smoothly except for two cases: If I select ...
0
votes
0answers
151 views

Emacs 27 Win 10 with WSL2 in org-mode, #+BEGIN_SRC bash, block appending \r newline character

Windows 10, now has WSL2, which enables one to use linux bash shell. I have Ubuntu 20.04 installed as my default linux distribution in WSL. What can I do to tell org-babel, in a src code block, what ...
1
vote
0answers
252 views

(Windows Terminal) and xterm-mouse-mode has a problem

Don’t really know where to post this issue, or even the nature of it, but it can get very frustrating. This is not exclusive to Windows Terminal, MobaXTerm has the same problem. So I use emacs under ...
2
votes
2answers
243 views

US-Intl layout EU users of Emacs in WSL - how do you input those Alt-Gr characters?

I am a user of the US-International keyboard layout and the German language. Somehow Emacs does not allow me to access those Alt-Gr characters for example the German Eszett "ß" and many ...
0
votes
1answer
61 views

Start Process Not Working: Process List Claims Process Started but Process UI not shown

Start Process is not working when starting GUI application in WSL on Windows 10 Pro. I am calling Start Process as follows. (start-process "yekneb-exec-2" nil "/mnt/c/WINDOWS/explorer....
3
votes
2answers
1k views

Emacs as Editor under Win10 WSL 2

From Windows 10, how can I call an Emacs instance residing on a Windows 10 WSL 2 Linux install, passing it a given file to visit? So far, I've done this: On my WSL 2 Linux, I've created a script ...
0
votes
1answer
112 views

Emacs wsl grep fails on special characters

I'm using GNU Emacs 26.3 on a Windows 10 system (Virtualbox guest on Mac). The following grep command inside emacs fails: grep -i -n -d skip -e temp_ * with this error: grep -i -n -d skip -e temp_ ...
1
vote
1answer
474 views

Experience with WSL as underlying shell (esp. with Texlive) for native win-x64 Emacs

I've been using MinGW compiled native windows 64-bit Emacs for a while, and I paired it with Cygwin to use especially Texlive, as well as other common linux and shell programs and commands. I am ...
0
votes
1answer
83 views

Why does emacs on a remote computing cluster behave differently depending on how the cluster is accessed?

I use SSH to work on a Linux computer cluster, emacs is my preferred text editor there. My local computer is a Windows 10 machine. If I use PuTTY to access the cluster remotely, when I run emacs, it ...
0
votes
1answer
358 views

Bring Emacs frame to front when running emacsclient on WSL

Currently using Emacs on Windows Subsystem for Linux (WSL). I have this alias for emacsclient executable: alias e='emacsclient -n' Which I run very often when I am on the terminal (I use ConEmu or ...
1
vote
0answers
394 views

Emacs on MS Windows, typescript lsp server on wsl?

Long-time emacs user (38 years or so, not kidding). I'm on Windows 10, running native emacs 26.1. I'm doing some Javascript/Typescript (vue.js) development, using WSL for that world, still with the ...
0
votes
2answers
118 views

Shell-mode execute script every time a shell is invoked

I have changed the emacs-shell mode shell to WSL ubuntu but however, the prompt is not very user-readable. For this reason I would like to execute a script that changes it so that its more readable ...
4
votes
3answers
815 views

Is there a way Emacs can infer is running on WSL (Windows Subsystem for Linux)?

I would like to identify when Emacs is running on WSL (Windows Subsystem for Linux). Normally I use system-type variable to check if Emacs is on Linux, Windows or MacOS X. Though in this case it ...
2
votes
3answers
602 views

error: Invalid byte opcode: op=183, ptr=2

I byte-compile my ~/.emacs.d/init.el. It was done by Emacs 26.1 from Cygwin and I got error when load emacs-nox 25.2 from Debian WSL: error: Invalid byte opcode: op=183, ptr=2 Were new opcodes ...
2
votes
2answers
3k views

Copy/paste from Windows clipboard in WSL terminal

I know that question has been asked dozens of times now, but i have tried every possible suggestion i have found online - nothing worked. I can't figure out how can I copy/paste from my Windows 10 to ...
0
votes
1answer
591 views

Debugging emacs 24.5 slow startup (WSL)

I'm running emacs24-nox on Ubuntu trusty on Windows Linux Subsystem, and I'm trying to figure out why the startup time is slow. I've inspected the startup with strace and found two calls to poll that ...
2
votes
1answer
2k views

What flows are usable with WSL and Emacs (Windows Subsystem For Linux)?

I have negative experience with Cygwin but it's only the one option I have on Windows. In recent days Cygwin provides W32 build which has native UI (copy/paste, widgets) with tight integration to ...