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
1answer
23 views

How can I add global (usable outside of Emacs) hotkeys?

Several applications like Mumble allow the use of global hotkeys that even get intercepted if Mumble is not in focus at the time of the key press. Is there a way within Emacs to create such shortcuts, ...
0
votes
1answer
23 views

call windows batch from shell

I'm trying to run QGIS from the command-line on Windows. QGIS provides a batch file for this, "C:\Program Files\QGIS 3.20.3\bin\qgis.bat". When I run this from within Emacs shell, the load ...
0
votes
0answers
16 views

Emacs Not Running When I Try to Open a File (Windows)

I'm trying to upgrade my Emacs distribution from 25 to 27 (aspell no longer works... I use Emacs for org mode and LaTeX). When I select runemacs.exe, emacs starts just fine. It uses my init file. I ...
0
votes
0answers
23 views

How to scale toolbar on HiDPI (4K) display on Microsoft Windows?

My laptop display is 3840x2160 and has about a 15" diagonal. My setting to "Change the size of text and apps" is set to Windows's recommendation of 250%. The title bar, text in the ...
0
votes
0answers
31 views

Spacemacs 0.300: installing only with zip and tar.gz archives offline?

OS: Windows 10 Emacs: 27.2 Spacemacs: 0.300 For some reasons, I cannot retrieve spacemacs through git (a complex combination of corporate proxy and other issues). But I can download archives. Being on ...
1
vote
0answers
17 views

Why is access to Windows shares (SMB) slow from Emacs for Windows (x86-64)?

I use Emacs at work for most things, on Windows, and things are mostly good (slow Magit notwithstanding). But one thing completely puzzles me: opening files or directories on Windows shares (SMB) ...
1
vote
0answers
25 views

org-mode has no syntax highlighting unless I start with evil

When I start emacs with evil-mode in my rc ((evil-mode 1)) I get syntax highlighting for .org files. However, when I do not, I do not get any syntax highlighting, even when trying M-x font-lock-mode a ...
0
votes
0answers
28 views

Emacs on Windows won't save

I'm a total beginner to Emacs. I followed the tutorial that came with it, but when I tried to use C-x C-s, the echo area shows the message Opening output file: Permission denied, c:/Program Files (x86)...
1
vote
1answer
160 views

Is it possible my Windows Emacs install was compromised by a virus?

I recently downloaded Emacs 27.2 from one of the mirrors linked from the homepage of Emacs at gnu.org. After extracting the files and running runemacs.exe, Windows warned me that this was an ...
0
votes
1answer
27 views

org-protocol URLs with UTF-8 (URL-encoded) characters aren't properly captured

When using org-protocol capture URLs on Windows, pages with non-ASCII titles or captured text results in a capture with incorrect values applied in the template. Despite such characters being properly ...
0
votes
1answer
192 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 ...
0
votes
1answer
41 views

Touchpad vertical scroll gesture scrolls too much lines in GUI on Windows 10

How can I change that? I probably need something like fractional scrolling? Look at that video https://streamable.com/lfic9h
0
votes
0answers
44 views

How to create shell aliases in Emacs [GUI] in Windows?

In Linux this can be done by something like: alias cdwww="cd /srv/www" In Windows there is an equivalent command called DOSKEY, used for example like this: doskey ls=dir $* The above works ...
0
votes
0answers
13 views

find-tag M-. vs Windows 10 emoji [duplicate]

Recent Windows update kills my M-. (Meta-dot) binding, it intercept the keystroke (Windows Key+.) and display the emoji windows. I already try this link https://techcult.com/how-to-enable-or-disable-...
2
votes
2answers
122 views

How to use make-frame to bring up "maximized windows" like -mm does for the first window (using WSL 2)?

I am running emacs under (Ubuntu under) WSL 2 and I can bring up the first frame maximized (i.e. almost full screen, leaving the Windows "task bar" exposed, the -mm option does that). I ...
0
votes
0answers
17 views

"window-combination-resize" sometimes not working

In my .emacs I use (setq window-combination-resize nil) to prevent Emacs from resizing split windows evenly. In the upper part of the buffer I usually have an Org mode file, in the bottom part is the ...
0
votes
0answers
52 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
41 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
72 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
444 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
1answer
88 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
53 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
26 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
95 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 ...
1
vote
1answer
108 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
128 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
99 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
42 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
56 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 ...
2
votes
0answers
24 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
9 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
170 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
110 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
32 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 ...
2
votes
1answer
234 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
336 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
485 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? ...
10
votes
4answers
3k 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
50 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
303 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
229 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?
1
vote
0answers
24 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
32 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
1answer
37 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
942 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
68 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
182 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
247 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
143 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 ...
3
votes
1answer
1k 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 ...

1
2 3 4 5
8