Questions tagged [microsoft-windows]

Questions relating to the use and configuration of Emacs on the proprietary Microsoft Windows Operating System.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Is there any reason why the unexpected character added?

I added python-shell-interpreter in .emacs file, and god the error as you can see the below. Why is there \ characters? and how can I solve this?
0
votes
0answers
15 views

Interactive terminal solution for Emacs on Windows?

I recently tried to move from over to Emacs but hit a brick wall while trying to setup a terminal. While shell and eshell work fine, they are not really interactive so you can't really run things such ...
1
vote
2answers
31 views

Custom compilation command fails on Windows due to slashes in paths

when i type on "shell": c:\Users\TR\Desktop\emacs-27.2-x86_64\bin\GAMES\game3>love . works fine but when i put (defun insert-file-name () (interactive) (let ((compilation-ask-about-...
0
votes
0answers
31 views

(org-babel-load-file (expand-file-name “~/.emacs.d/config.org”)) behaves strangely on Windows 7

In my initialization file the line (when (file-readable-p "~/.emacs.d/config.org") (org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))) give me the error: *Warning (...
0
votes
0answers
71 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
29 views

formated string format around quotes

I am running Emacs on MS Windows. When I use C-c to call doc-view, the default autocomplete is ("\\doc-view \"%r.pdf\"" "%r.pdf") in tex-mode.el. However, this would add ...
0
votes
1answer
32 views

Launch an external command prompt (cmd.exe) in a specific folder [duplicate]

I'm trying to build a cmd interactive function in Emacs, which would open a Windows command prompt - exactly like Win+R cmd does. Within Emacs, it would be accessible with M-x cmd, and it would open ...
0
votes
1answer
27 views

How to use Emacs to prevent screen lock from activating (Windows)

My employer has a pretty paranoid screen locking policy on Windows machines. There's no way to override the time settings for the lock. My colleagues an I have been experimenting with various homebrew ...
0
votes
0answers
14 views

Send string to a fully functional REPL in Emacs on Windows?

Summary. Is there a way to get fully functional REPLs on Windows running in Emacs. I want to avoid the maintenance burden associated with comint. Long version. In many cases I dislike how the built-...
1
vote
0answers
59 views

How can one debug a situation when emacs is unresponsive on Windows?

There is an operation in my setup which makes emacs unresponsive with high CPU. I checked the emacs process with process monitor, but it does not wait for an other process, so I guess it must be ...
0
votes
1answer
60 views

Different folder for .emacs (not HOME)

My company's I.T. department has assigned our HOME directory to a network server. With the COVID-19 pandemic we are now using VPN to connect to the company's network. Having to to go through VPN to ...
1
vote
1answer
61 views

magit on Windows over plink tramp

I'm scratching my head on this problem, but I cannot seem to use magit on a project served over plink or plinkx on Windows. What does work: The windows client can use magit on a project stored ...
0
votes
0answers
59 views

How to change default shell for Emacs on MS Windows?

I'm very new to Emacs (using Doom Emacs) as a former Vim user, and I've been loving it. However, I've been having issues trying to get irony-server to run. From what little I've been able to gather (...
0
votes
0answers
32 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
30 views

How to make Dragon Naturally Speaking work with multiple MS Windows users?

I'm attempting to use Dragon Naturally Speaking (15.3) to dictate into Emacs (version 26.3). I have two accounts using Windows 10 on the same laptop. From one account, Dragon inserts text into Emacs ...
1
vote
0answers
18 views

How can I get Emacs to release a locking folder handle?

After using Emacs to open a file in a folder on MS Windows using emacsclientw -n, killing the buffer does not release a handle Emacs has to the folder, so the folder can't be deleted. GNU Emacs 27.1 (...
1
vote
0answers
8 views

DocView: Nuisance popup of page number in viewing .dvi files

I use DocView under Emacs 26.1 under Cygwin 10.0.2 under Windows 10.0. I use it chiefly for reading .dvi files. I discovered it by accident and find it extremely useful, but I cannot find any ...
0
votes
0answers
65 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
87 views

gccemacs on windows10 compile error

I try to compile gccemacs (emacs feature/native-comp branch) on windows 10, thanks to msys2/mingw64 and the libgccjit package recently available. Here is the error : ../../src/comp.c: In function '...
1
vote
1answer
27 views

Switch desktops hotkey on Windows is not ignored by Emacs

The following keys: Ctrl-Win-Left Ctrl-Win-Right are used to switch desktops on Windows. If Emacs is the active window when you use either of these keys, you get the following in the minibuffer: If ...
1
vote
0answers
141 views

Jupyter notebook, matplotlib visualization not showing up

I am a new Emacs user and proceeded to the install following the tutorial at: https://realpython.com/emacs-the-best-python-editor/#integration-with-jupyter-and-ipython. Now I am running a Jupyter ...
2
votes
1answer
110 views

How to update emacs on MS Windows?

I have installed emacs 2-3 years ago. The version I'm using now is 25.2.1. I want to update it to the latest version, which is 27.1. I uninstalled it and then installed again to no avail, it is the ...
1
vote
1answer
266 views

Can I use Right Alt/Ctrl Keys as Alt/Super/Hyper modifier keys of Emacs in Windows 10?

I noticed that I've rarely used Right Control Key and Right Alt Key in my keyboard, so I'm wondering if I can use them as Alt/Super/Hyper modifier key in Emacs. Is such a thing possible in Windows 10? ...
6
votes
3answers
2k views

Is there a gccemacs (native-comp) build for MS-Windows?

I use the official binaries (28.0.50 prerelease) for MS Windows. I am using gccemacs on my home Linux machines, and feel like native-comp on Windows would be really useful for me at work. However, I ...
0
votes
0answers
11 views

Presenting part of the buffer in alternative way with editing capabilities and background recoding/validation?

Windows .reg files are almost human readable. Because some types require binary encoding, like: "Name"=hex(2):54,00,65,00,6d,00,70,00,6f,00,72,00,61,00,72,00,79,00,20,00,53,\ 00,65,00,74,...
0
votes
0answers
39 views

How to run a keyboard macro (saved in my init.el) automatically when Emacs starts up?

I have saved a keyboard macro in my init.el file as follows (fset 'remember-notes-my-macro (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-...
0
votes
0answers
98 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 ...
0
votes
1answer
156 views

fresh install of Doom on Windows brings up a blank (white) scratch buffer and nothing more

Like it says on the box - I get the "doom loaded such and such packages on startup", but I don't get the home screen, and none of the keybindings etc. Just a white scratch buffer window with ...
1
vote
2answers
104 views

how to open a network folder in dired?

Unfortunately, I'm stuck on Windows. I have a network folder under this PC. Is there a way to navigate into it with dired without mounting it as another drive?
0
votes
0answers
32 views

TTY Emacs from within Windows 10 - garbage appears when switching windows

Due to severe limitations at work I'm forced to run TTY Emacs on a remote Unix server via SSH (launched from Git Bash console under Windows 10... don't ask...). I got my dev environment mostly in ...
0
votes
0answers
25 views

Help required wrt. lsp-mode with gopls on Windows natively without WSL

I am currently running Emacs 27.1 on Windows 10. I am using lsp-mode with gopls with Go installed natively (without WSL). I am running into issues setting it up. Specifically, I am running into: https:...
1
vote
0answers
20 views

Is the Hyper modifier key usable on non-X11 platforms?

I have a hyper modifier setup, however I was wondering if it's possible to use this on any windowing systems besides X11, for example: macOS Wayland Win32 The terminal.
0
votes
0answers
28 views

Emacs on Windows. Dired - no sorting. Unrecognized symbols

Set up Doom Emacs on windows. Works fine but in Dired i have unrecognized symbols and also in org-capture. Sorting in dired does not work either. Any ideas? Latest Emacs.
0
votes
0answers
24 views

How to make sure that Markdown files are opened in Emacs (like normal files) and not in an external application?

I have openwith installed in my Emacs. I use it to open spreadsheets, PDF, and other files in their respective external applications. Recently I had an Org mode file with the following content: * [[...
0
votes
1answer
32 views

echo $(echo $HOM) in eshell of win10 platform get void function reported

I am working on emacs-27.1 of windows 10. PS C:\Users\gaowei> emacs.exe --version GNU Emacs 27.1 Within the eshell, I tried: ~/.doom.d [master] λ which echo eshell/echo is a compiled Lisp function ...
4
votes
2answers
487 views

GPG No Public Key

Emacs gives a error about not finding a GPG key. The Error Failed to verify signature archive-contents.sig: No public key for 066DAFCB81E42C40 created at 2020-08-22T21:05:02+0000 using RSA Command ...
0
votes
1answer
44 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....
0
votes
1answer
111 views

Is the GPG signature of Emacs 26.3 still valid?

I was trying to install Emacs on my Windows 8.1 machine (thus WSL is not an option). I downloaded the file from a mirror (emacs-26.3-x86_64.zip), along with his signature (emacs-26.3-x86_64.zip.sig). ...
1
vote
0answers
157 views

Flymake stopped working with elpy…no idea what I did or didn't do [Windows]

I installed elpy, along with jedi, rope and got it to work briefly yesterday after uninstalling python and reinstalling it with anaconda and setting the environment variable to path. I tinkered around ...
0
votes
1answer
115 views

Emacs install folder vs .emacs.d vs .emacs/.emacs~ confusion [Windows 10]

I've recently run into complications regarding elpy and setting up virtual environments (see other questions) which have brought me back to a more fundamental issue that I must resolve before I ...
1
vote
1answer
650 views

Elpy Configuration…Setting Up a Virtual Environment and Pip Conflic with Conda? Need hand holding

Full disclosure: I installed anaconda and set it to the path variable. After I did this I was able to access elpy-config which I was not able to (see my prior question). I still pretty much have no ...
0
votes
0answers
149 views

Trouble installing elpy (totally newb to both emacs and programming)

I'm having trouble fully installing elpy. I supposedly installed it using emacs' GUI as you can see here. I tried testing whether it works or not by trying to run Eratosthenes's sieve algorithm as ...
0
votes
2answers
77 views

Xref / xref-find-refernces / Windows 7 does not work

I'm struggling with Xref M-? finding references to symbols (C-code). It doesn't work for (e)tags nor for any symbol even in the buffered file. The Xref window/buffer with results is not opened instead ...
0
votes
0answers
31 views

Do I really have no fixed-width fonts installed?

In trying to debug a font issue in Emacs 26.3 on Windows 10, I ran the following, in the *scratch* buffer: (defun font-existsp (font) (if (null (x-list-fonts font)) nil t)) font-existsp (...
0
votes
0answers
41 views

Emax64 trying to install already installed pdf-tools on every startup

I am using the emax64 build of Emacs for Windows x86-64 systems. However, it tries to install pdf-tools on every startup, even though it is already installed. How to turn this off? -*- mode: ...
0
votes
1answer
88 views

How to find a file recursively on Microsoft Windows with findutils (gnu find) installed?

I'm trying to find file recursively from default-directory with helm-find (C-x c /). It works out of box in linux. I tried setting find-program like (I have git bash installed) (setq find-program &...
0
votes
0answers
61 views

Setting up Emacs as an external editor on windows 10

Apologies if this has been asked multiple times already, haven't found a useful answer. I am trying to use Emacs as an external editor on two separate applications in windows 10, one is a notes app (...
1
vote
1answer
102 views

Process shell exited abnormally with code 53 on windows 10

I'm using emacs 26.2 installed through msys2. Recently starting subprocesses from emacs has stopped working for me. Specifically M-x shell and shell-command-to-string. I get the feeling this is due to ...
2
votes
2answers
316 views

Where is `personal dictionary` for `ispell` located?

C-h v ispell-personal-dictionary shows nil. Its docstring says: Documentation: File name of your personal spelling dictionary, or nil. If nil, the default personal dictionary for your spelling ...
1
vote
0answers
18 views

Two versions of Emacs on MS Windows: change the default “emacs” binding in the MS Windows shell

I have got two versions of Emacs on my Windows 10 laptop: Emacs 25.3.1 (x86_64-w64-mingw32) and Emacs 26.1 (build 1, x86_64-w64-mingw32). I would like the windows shell to run the 26.1 version by ...

1
2 3 4 5
8