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

Emacs/Tramp fails to connect with ssh key equiped with a passphrase

I have problem connecting via ssh using Tramp in Emacs on MS-Windows whenever the private ssh key I use is configured with a passphrase. Here's the problem : I. What works : On the command line ssh -...
1 vote
1 answer
19 views

Dired format on Linux and Windows (dired-listing-switches)

I'm using the following on Linux: (setq dired-listing-switches "-agho --group-directories-first") and the files show like this: -rw-r--r--. 1 2.1K Mar 16 03:19 test.org -rw-r--r--. 1 ...
  • 253
0 votes
0 answers
23 views

'pdflatex'is not recognized as an internal or external command - windows 10

I tried all the hints I found until now to install Emacs with auctex, miktex and sumatraPDF on windows 10. I actually used to have a functional setup until recently where I got strange errors ...
  • 1
0 votes
3 answers
43 views

How can I use Tramp's SSH on Windows 10 with the native ssh.exe?

Windows 10 has its own ssh.exe. I can use ssh.exe fine within eshell, but not for Tramp, e.g. /ssh:user@host:/tmp. Is there any way to enable Tramp with the built-in ssh (OpenSSH_for_Windows_8.1p1, ...
  • 992
0 votes
2 answers
40 views

How do I use Emacs editor in Git Bash terminal on a Windows machine?

I am currently using vim editor on Git Bash terminal running in a Windows machine, but I want to switch over to Emacs editor. It is returning bash: emacs: command not found . Do I need to install the ...
1 vote
0 answers
33 views

“term mode” on MS-Windows

I tried to use term-mode on MS-Windows, but my attempt failed. I first started Emacs: PS D:\Progs\emacs-28.2\bin> .\emacs.exe -nw -q Then I used M-x term, and Emacs prompted a query string (...
  • 1,445
0 votes
1 answer
45 views

how to run emacsclient on windows in the terminal

i cannot use emacsclient on windows 10. Starting it with the gui client works well but trying to start it in command line mode from a terminal, for example running emacsclient -nw -c is there a ...
3 votes
2 answers
69 views

Emacs Recognizes “~/” As HOME Instead of “~/AppData/Roaming/” When SSH to Windows

On Windows, c:/Users/shynur/AppData/Roaming/ is the HOME directory recognized by my Emacs-28.2. That's OK, though a little inconvenient. But when I ssh to Windows on PowerShell and then start Emacs, ...
  • 1,445
0 votes
0 answers
44 views

SVG rendering in Org Mode - Emacs 28.1 on Windows 10

When rendering a SVG image in Org mode, it shows a colored rectangle. Used org-toggle-inline-images to show the image. Ok... now downloading this image, it gets correctly rendered by Emacs and in an ...
  • 2,159
1 vote
1 answer
52 views

How to have utf-8 LF encoding by default on Windows?

I mainly use Linux (arch) but for work, I have to use Windows 10. So I share some files between Emacs (28.2 installed via chocolatey) on Windows and Emacs (28.2) on Linux. I never had any encoding ...
0 votes
0 answers
21 views

Connecting a Windows VM from a Windows environment with Tramp

I've been beating my head against this all day and I cannot for the life of me figure out where this is going wrong. I am trying to connect to a Windows 11 VM from an emacs install on a Windows 10 ...
0 votes
1 answer
30 views

Tramp to Windows

No matter what I try, I can't tramp to Windows;) I need to turn on debugging, but where does this debug output end up? All I see is a socket in /tmp when I enable this: ;The debug buffer is written as ...
0 votes
0 answers
68 views

Slowly updating text appears to be in overwrite rather than insert mode--but isn't

I'm running emacsclient -nw and I notice sometimes the buffer appears to be in overwrite mode---I'll go to the beginning of a line and start typing, and when I do the existing text does not get pushed ...
1 vote
1 answer
37 views

Search and replace to merge or eliminate text lines

A WinRAR command (rar vt -pmypassword -v myarc.part01.rar >source.txt) produces detailed information on files contained in .rar files or segments (e.g., filename.part01.rar). Here's an example for ...
1 vote
0 answers
23 views

Configure Emacs to Respect Windows File Attributes?

Is it possible to configure Emacs under Windows to respect the 'hidden' and 'system' NTFS file attributes for example by filtering out these files during selection of filename completion candidates in ...
1 vote
1 answer
124 views

Help me use emacs with org mode at work

When working from home on my linux machine - I have all my org files on Dropbox. I store all agenda files, todos, references and stuff like that in those. Basically my whole life is in those org files....
  • 35
0 votes
0 answers
17 views

How to make Git Bash and Emacs compatible on Windows?

I have Emacs and Git Bash running on Windows. I know I should not, but sometimes life is grim. I found two problems. The ~ gets expanded differently. In Git Bash ~ means /C/Users/me, but in Emacs ~ ...
  • 1,266
0 votes
0 answers
122 views

Error Invoking GCC Driver on Windows

I recently installed gcc compiler MinGW on Windows 11, and haven't been able to run Emacs with my config files. I tried to disable logging, but they show up again on starting Emacs. Warning (...
  • 211
0 votes
0 answers
25 views

tramp not authenticating on windows

I'm experiencing a problem when trying to connect to a remote linux server using tramp and putty on windows. I'm using the following function to call and connect to the remote server (defun server-...
1 vote
0 answers
112 views

Unable to achieve advertised "word-level" accuracy using SyncTeX with PDF Tools

From the AucTeX Changelog (v. 11.89): To open the PDF output file you can now also use PDF Tools, a document viewer for Emacs. With it, as a plus, forward and backward search is accurate at word ...
0 votes
2 answers
17 views

`rename-file` into a different filesystem which does not support permissions

I'm running emacs under WSL 2, in which Windows drives are mounted below /mnt/<Drive Letter> with 9p as the filesystem. That filesystem does not support (setting) permissions on files. I want to ...
0 votes
0 answers
28 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
65 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 ...
  • 137
0 votes
0 answers
15 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 ...
  • 957
0 votes
0 answers
64 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,732
1 vote
1 answer
104 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 ...
  • 65
2 votes
1 answer
40 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
76 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
153 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
48 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, ...
2 votes
0 answers
93 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 ...
3 votes
1 answer
192 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
255 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
45 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
184 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 ...
2 votes
1 answer
121 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 ...
  • 670
1 vote
1 answer
355 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?
1 vote
0 answers
28 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,128
1 vote
2 answers
128 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:.... ...
  • 543
1 vote
1 answer
70 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, ...
  • 992
1 vote
1 answer
93 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 ...
  • 4,217
0 votes
0 answers
21 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
124 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
91 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
70 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
82 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 ...
  • 113
0 votes
2 answers
251 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
231 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
70 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
1k 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

1
2 3 4 5
8