Questions tagged [wsl]
WSL is acronym for Windows Subsystem for Linux.
23
questions
0
votes
0
answers
42
views
AUCTex in WSL cannot find TeX Live in Win
When trying to compile/ pdf-preview a tex-file, minibuffer spits out:
ERROR: AUCTeX cannot find a working TeX distribution.
Make sure you have one and that TeX binaries are in PATH environment ...
1
vote
1
answer
47
views
How can I get the name of the file on the current Dired line?
I'm running emacs on WSL.
The following function launches the binary file marked in dired:
(defun wsl/execute ()
"execute file at point in dired"
(interactive)
(dired-do-shell-command
...
1
vote
0
answers
61
views
Windows Terminal (WSL2) and M-S, C-S in Org Mode
UPDATE: I just tested emacs -nw with the MSYS2 terminal (Windows) and with iTerm (macOS) and they all have the same problem.
emacs -nw on WSL2 with the Windows Terminal has many known issues with key-...
0
votes
0
answers
44
views
Buffer display issue with unicode characters on WSL2
I have a file with a single Unicode character in it: 🕯 (Unicode character CANDLE, codepoint 128367, #o372557, #x1f56f).
When I open this file via emacs -Q and hit C-l, the display buffer has issues. ...
1
vote
1
answer
734
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
0
answers
59
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
0
answers
822
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
0
answers
221
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@...
1
vote
0
answers
348
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
2
answers
393
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 ...
1
vote
1
answer
85
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
2
answers
2k
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
1
answer
163
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_ ...
2
votes
1
answer
623
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
1
answer
108
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
1
answer
498
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
0
answers
500
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
2
answers
142
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
3
answers
994
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
3
answers
686
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 ...
3
votes
2
answers
4k
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
1
answer
623
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 ...
3
votes
1
answer
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 ...