2022 Developer Survey is open! Take survey.

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
1 vote
0 answers
16 views

pylsp times out over TRAMP

I'm (unfortunately and against my will) using Windows 10 running Emacs 28.1 attempting to connect to a remote Ubuntu machine via TRAMP (currently this happens to be WSL but there are other Linux ...
user avatar
1 vote
1 answer
24 views

Blocked keys! How can I get emacs to see all keystrokes?

Windows 7 64-bit emacs 27.1 Some keys of the form C-M-<char> evidently are not sent to Emacs. How do I get them sent to Emacs? Example: Emacs does not respond C-M-s. Also, does not show binding, ...
user avatar
1 vote
0 answers
41 views

IPython interpreter for conda environments on Windows 10

I am using Anaconda3 for managing my environments and the IPython interpreter in Emacs. When activating an environment with pyvenv-activate the completion in the IPython interpreter is not working and ...
user avatar
1 vote
0 answers
25 views

mingw shell in emacs

i'd like to use bash shell from msys2 in emacs and i made the following changes in emacs init file: (setq explicit-shell-file-name "C:/tools/msys64/usr/bin/bash.exe") (setq shell-file-name &...
user avatar
3 votes
2 answers
94 views

‘Error: junk at end of line’ with native-comp

I recently switched to Emacs 28.1 hoping to use the new native-comp support. Being on Windows, I followed these instructions to install libgccjit, copying the resulting libgccjit.dll library to Emacs’...
user avatar
  • 153
1 vote
0 answers
23 views

How to fix the directory drive letter in eshell to run a NextJS project?

This bug is hard to describe, so I'll tell you how to recreate it. I'm on Windows 10, emacs 27.2, & node v16.13.0. Here are the steps: Open a default emacs (no init) with emacs -Q from powershell ...
user avatar
1 vote
1 answer
35 views

Slow start-up in MS Windows and relation to the Windows registry

I am using Doom in MS Windows with Emacs 27.2. I am experiencing some very slow start-up times (I included the output of benchmark-init/show-duration-tree at the end). Also, the first actions I ...
user avatar
1 vote
1 answer
40 views

elpy on Windows: M-x elpy-config results in "Neither easy_install nor pip found"

I have trouble to get elpy working on Windows 10 with Emacs 27 (Downloaded from http://ftp.gnu.org/gnu/emacs/windows/emacs-27/emacs-27.2-x86_64-installer.exe). When I do M-x elpy-config I got the ...
user avatar
  • 499
1 vote
1 answer
60 views

How do I find the init.el file on windows?

I'm currently stuck with not finding the init.el file, how do I find it on Windows and how do I load it?
user avatar
  • 11
1 vote
0 answers
21 views

Does `sql-mysql` work on MS Windows?

I remember that a few years ago when I tried there was an issue with the mysql client not supporting pipes on Windows or something like that, so it didn't work. I tried sql-mysql with Emacs 27 and it ...
user avatar
  • 1,058
1 vote
2 answers
45 views

Establish plink ssh connection via tramp to AWS instance

on my freaking company windows machine I am trying to use tramp to connect to my aws instance. On pressing C-x C-f, on linux I usually did press slash twice to erase the path and the put in: ssh:.... ...
user avatar
  • 419
1 vote
1 answer
34 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, ...
user avatar
  • 911
1 vote
1 answer
34 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 ...
user avatar
  • 3,835
0 votes
0 answers
19 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 ...
user avatar
  • 1
1 vote
0 answers
47 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 ...
user avatar
  • 51
0 votes
0 answers
45 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 ...
user avatar
  • 143
1 vote
0 answers
31 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) ...
user avatar
  • 185
1 vote
0 answers
33 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 ...
user avatar
  • 13
0 votes
0 answers
54 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)...
user avatar
  • 101
1 vote
1 answer
183 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 ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
1 vote
1 answer
585 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 ...
user avatar
  • 133
0 votes
1 answer
60 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
user avatar
  • 152
0 votes
0 answers
72 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 ...
user avatar
  • 113
0 votes
0 answers
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-...
user avatar
2 votes
2 answers
177 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 ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
0 answers
114 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 ...
user avatar
  • 123
1 vote
2 answers
51 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-...
user avatar
0 votes
0 answers
122 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 (...
user avatar
0 votes
0 answers
717 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 -> ||/ ...
user avatar
0 votes
1 answer
125 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 ...
user avatar
  • 421
0 votes
1 answer
70 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 ...
user avatar
0 votes
0 answers
43 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-...
user avatar
  • 1,481
1 vote
0 answers
143 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 ...
user avatar
  • 1,058
1 vote
1 answer
194 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 ...
user avatar
1 vote
1 answer
181 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 ...
user avatar
0 votes
0 answers
70 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 ...
user avatar
2 votes
0 answers
39 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 (...
user avatar
  • 121
1 vote
0 answers
10 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 ...
user avatar
1 vote
1 answer
47 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 ...
user avatar
  • 1,132
2 votes
1 answer
307 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 ...
user avatar
  • 143
2 votes
1 answer
577 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 ...
user avatar
  • 193
1 vote
1 answer
668 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? ...
user avatar
  • 184
11 votes
4 answers
4k 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 ...
user avatar
  • 185
0 votes
0 answers
58 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-...
user avatar
  • 135
0 votes
0 answers
440 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 ...
user avatar
1 vote
2 answers
348 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?
user avatar
  • 622
1 vote
0 answers
30 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.
user avatar
  • 7,069
0 votes
0 answers
38 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.
user avatar

1
2 3 4 5
8