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
0 answers
11 views

auto-save-file-name-transforms not respected on MS Windows 10

On my linux machines, in my ~/.emacs.d/init.el, I have (setq auto-save-file-name-transforms '(("\\`/.*/\\([^/]+\\)\\'" "~/.emacs_autosave/\\1" t)))) which, when I edit ~/foo, gets ...
  • 113
0 votes
1 answer
32 views

Cygwin commands are not running under Emacs

I installed emacs packages from MobaXterm. When I'm in MobaXterm terminal I could run any Cygwin commands e.g. 'ls' or 'which' but when I start Emacs and call the shell it does not recognize any of ...
  • 139
0 votes
0 answers
11 views

Can't remap left windows key to super in Windows 10

OS: Windows 10 Pro, version 1909. GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26. On the keyboard I have a Windows key on the left between fn and Alt. I open Emacs, then click: Ctrl+h k ...
  • 887
0 votes
0 answers
11 views

Control another process on Windows, perhaps with named pipes

I would like to control an external player with Emacs under Windows. Because I'd like a bit of background music, I would avoid bloated libraries. I saw, for example, that mpv can use IPC calls. In a ...
  • 1,658
1 vote
1 answer
75 views

Emacs doesn't pick up .emacs.d/ on windows

I'm using Linux at home but for work reasons I need to use Windows. That's why I've installed emacs on my company computer. I have a implemented at several scripts at home to be able to replicate my ...
  • 45
2 votes
1 answer
29 views

Changes of ispell.el from GNU emacs v27.2 from v26.3?

Recently, I updated my GNU emacs from v26.3 to v27.2. Now, ispell does not work anymore under Windows 10 (on my Macs, it still works). On my Windows machine, I use hunspell, which has been the same v1....
  • 21
1 vote
1 answer
49 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 ...
  • 145
1 vote
0 answers
73 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 ...
1 vote
1 answer
32 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, ...
1 vote
0 answers
63 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 ...
1 vote
0 answers
73 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 &...
3 votes
2 answers
178 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’...
  • 153
1 vote
0 answers
26 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 ...
1 vote
1 answer
105 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 ...
1 vote
1 answer
68 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 ...
  • 599
1 vote
1 answer
169 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?
  • 11
1 vote
0 answers
24 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 ...
  • 1,068
1 vote
2 answers
79 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:.... ...
  • 439
1 vote
1 answer
49 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, ...
  • 973
1 vote
1 answer
50 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 ...
  • 3,997
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 ...
  • 1
1 vote
0 answers
67 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 ...
  • 51
0 votes
0 answers
70 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 ...
  • 143
1 vote
0 answers
44 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) ...
  • 185
1 vote
0 answers
42 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 ...
  • 13
0 votes
0 answers
105 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)...
  • 101
1 vote
1 answer
192 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
1 answer
58 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 ...
1 vote
1 answer
830 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 ...
  • 133
0 votes
1 answer
75 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
  • 156
0 votes
0 answers
86 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 ...
  • 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-...
2 votes
2 answers
212 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
0 answers
28 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
0 answers
185 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 ...
  • 123
1 vote
2 answers
59 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
0 answers
166 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
0 answers
901 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
1 answer
141 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 ...
  • 441
0 votes
1 answer
89 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
0 answers
52 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,501
1 vote
0 answers
182 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,068
1 vote
1 answer
282 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
1 answer
214 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
0 answers
75 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
0 answers
51 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 (...
  • 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 ...
1 vote
1 answer
57 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,142
2 votes
1 answer
389 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 ...
  • 143
2 votes
1 answer
774 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 ...
  • 193

1
2 3 4 5
8