Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [microsoft-windows]

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

4
votes
0answers
892 views

byte-compile much slower in X (vs. -nw)

Setup Windows 10 host with X server (VcXsrv) Linux guest (Arch) in virtual machine (VMware) Benchmark (defmacro measure-time (&rest body) "Measure the time it takes to evaluate BODY." `(let ...
4
votes
0answers
104 views

Get Administrator privileges on Windows via TRAMP?

I constantly use /sudo::/ URI schema on Linux to edit protected files. Is there something similar on Windows? Currently I start Emacs with Administrator privileges but that can lead to write ...
3
votes
0answers
235 views

Emacs sometimes fails to save files

I'm experiencing a weird problem with Emacs on Windows where sometimes, after a while, the current buffer I'm in throws an error when attempting to save the file. I can't seem to reliably reproduce ...
3
votes
0answers
261 views

In Emacs, how do you force using a fallback font?

Font and encoding (in a broad sense, internationalization) are causing problems in many software scenarios, like web browser and editor. The Unicode U+201C and U+201D are double quotation marks. ...
3
votes
0answers
151 views

Emacs keeps guessing wrong coding system on a file I edit both in Linux and Windows

I use Emacs on both Linux and Windows to edit the same files (that I keep in Dropbox, which I hope is irrelevant, but who knows). The files are encoded in utf-8 with Unix line endings. Occasionally, I ...
3
votes
0answers
396 views

Emacs on Windows: `shell-command` hangs when process wants input

I am using Emacs on Windows 8. Some processes when run through shell-command will request interactive input, notably commands like git push (which will ask for user name and password). Sometimes I ...
2
votes
0answers
642 views

Extremely slow startup on Windows - How to debug?

I have a serious problem with an extremely slow spacemacs startup (emacs-init-time = ~200s). (The server works, but this is so slow I cannot debug some other problems that I am trying to fix) My ...
2
votes
0answers
180 views

Can I use Emacs as an external editor of Thunderbird in MS Windows OS?

I want to edit the text in Emacs when using Thunderbird. I've installed the exteditor (https://github.com/exteditor/exteditor/releases) and specified path to "Emacs.exe" as an editor, but it was not ...
2
votes
0answers
52 views

How to run process in administrative mode from Emacs?

I've been using powershell.el in MS Windows Emacs, but I sometimes want to be administrative mode so that I can do software installation via chocolatey, etc. Is there any way to call shell command, ...
2
votes
0answers
838 views

Copy/paste from Windows clipboard in WSL terminal

I know that question has been asked dozens of times now, but i have tried every possible suggestion i have found online - nothing worked. I can't figure out how can I copy/paste from my Windows 10 to ...
2
votes
0answers
114 views

Updated from 24.5.1 to 25.1, not respecting default app scaling

I use surface book with 3000x2000 native resolution scaled 200%. I just reinstalled (spac)emacs with 25.1 version and a new emacs frame will start the right size then immediately halve in size as it ...
2
votes
0answers
281 views

Pressing both Ctrl keys at the same time is recognized as Ctrl plus Meta

When pressing both C at the same time, the combination is recognized as C-M on a Win7 machine and Emacs 24.5. I've stumbled on this by mistake while pressing C-C-SPC. While on a Linux machine, this ...
2
votes
0answers
148 views

Basic process management under Windows

I've got the following elisp: (setq proc (start-process "powershell" "*powershell*" "powershell.exe")) Unfortunately, I can't seem to get proc to do anything. For instance, in an normal shell, I ...
2
votes
0answers
107 views

What coding system should I use for one Emacs configurations for both unix and Windows?

I set the coding as utf-8, and I got many ^M from eshell on Windows. There's utf-8-dos and utf-8-unix. I would like to use the same configuration file on both unix and Windows. I guess there are many ...
1
vote
0answers
79 views

Can't run Windows 10 Bash with ansi-term

I've got this error, when running M-x ansi-term C:/Windows/System32/bash.exe RET Spawning child process: invalid argument after running M-x debug-on-entry RET start-process RET when running M-x ...
1
vote
0answers
38 views

Is there a way to display png or tiff, instead of xpm, images on the Emacs toolbar for Microsoft Windows?

Is there an emacs version that supports displaying png / tiff images on the toolbar instead of only xpm? On Mac the Mitsuharu Yamamoto version display TIFF images without any issue. I tried ...
1
vote
0answers
35 views

Folder navigation on remote windows machine can't see folders with spaces

I've been trying to navigate folder structures on a remote Windows machine with Cygwin installed, but I can't seem to navigate to folders which contain a space in them. Emacs claims that "File no ...
1
vote
0answers
302 views

From Org code block on *nix run (Power-)Shell (scripts) on MS Windows via SSH

To better integrate my Windows DevOps into Emacs Org-mode, I'd like to use my local emacs as an IDE for a remote Powershell. SSH was easily setup, from Linux shell ssh I can successfully login to a ...
1
vote
0answers
139 views

Using Ubuntu Emacs init file on Windows; possible multiple issues

I've seen Manage same init file for Linux and Windows, but it is not quite what I want. Bear with the description of issues and my attempts for resolution. I recently installed Emacs on Windows using ...
1
vote
0answers
174 views

Symbols display on Windows

I have been struggling with the following issue on Windows for the last couple of years. For some reason, certain symbols are not displayed properly: Everything displayed is those ? symbols. If I ...
1
vote
0answers
549 views

Tramp freezes Emacs with OpenSSH on Windows

I just installed Emacs on my Windows machine for remote file editing using Tramp. However, I noticed than whenever I try to connect to a remote server (C-x C-f /ssh:home:), Tramp just displays Opening ...
1
vote
0answers
35 views

How to set eshell's ls command to different program in different OS?

Since result of /usr/bin/ls is more neat compares with eshell/ls when filenames contain non-lattin Unicodes. I add an alias in ~/.emacs.d/eshell/alias, which makes eshell use /usr/bin/ls as default: ...
1
vote
0answers
158 views

notmuch doesn't show INBOX (“Spawning child process: Invalid argument”)

I'm trying to get notmuch working on Windows 10 using WSL/Ubuntu. The idea is to treat the WSL as a remote machine (roughly following https://notmuchmail.org/remoteusage/) and to have a shell script ...
1
vote
0answers
51 views

Problem execution scope org-babel in shell on windows 8

I just discovered that in order to run a sequence of shell commands under the same scope (same shell session) I have to add a hash at the end of the line. Example When I try to run the following ...
1
vote
0answers
126 views

Why don't I get a source window using realgud:gdb?

using GNU Emacs 25.2.1 (x86_64-w64-mingw32) and realgud 20171006.1840 (from marmalade), I can't use realgud for debugging with gdb: I start it as described in the docu: M-x load-library RET realgud ...
1
vote
0answers
189 views

emacs ssh client on windows

I have emacs installed on linux machine, and for most times, I need to connect to the machine on my windows laptop, previous I use putty, but I found it has issue with emacs keybindings, some key ...
1
vote
0answers
44 views

How to setup VS2015 developer shell for cygwin emacs?

I have cygwin emacs running on a machine with Microsoft Visual Studio 2015 installed. I would like (for a number of reasons) to set it up as a shell, so that i would be able to run its developer ...
1
vote
0answers
61 views

Where can I find emacs logs on Windows?

In this SO question Emacs 23.1.50.1 hangs ramdomly for 6-8 seconds on Windows XP the OP show logs from Emacs that may cause errors, where can I find those logs?
1
vote
0answers
834 views

Spell checking and hunspell on windows (preferably from scratch)

I really need to get spellchecker on emacs (there are few who don't), and hunspell seems like the best option. The other options (aspell and ispell) are said to be ancient and also require a fair ...
1
vote
0answers
447 views

How to open a file from Windows explorer in Cygwin Emacs

I currently have Cygwin Emacs installed on my Windows machine. I am wondering: Is there a way to open files from Windows Explorer in Emacs (which would be running in terminal mode in Cygwin). The ...
1
vote
0answers
27 views

Irish (Gaeilge) dictionary Emacs on Windows

How do I install an Irish (Gaeilge) dictionary for Emacs on Windows?
1
vote
0answers
41 views

If I move frame during Emacs startup, it moves back at the end of startup

I have a fairly long startup for Emacs 24.4 on Microsoft Windows 7. I try to move the frame where I want it during startup, but it snaps back after all the startup code is done running. I don't appear ...
1
vote
0answers
2k views

Why am I getting an error while downloading Melpa packages in Emacs on Win7 OS

I am using Emacs on a Win7 machine. I have added the Melpa repo. in init.el. When I do M-x list-packages, I do get a buffer listing the packages from Melpa. But, when i try to download them, I get an ...
1
vote
0answers
418 views

What variables are needed in init file in order to run eww in emacs 24.5.1 for windows?

I'm using emacs on windows, output of "emacs-version" outputs GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 I added the missing libxml2.dll, (downloaded from ezwinports) in the emacs ...
1
vote
0answers
103 views

Composition of the Arabic letters Lam and Alef in Emacs

When I insert the character ل (the Arabic letter Lam) followed by ا (the Arabic letter Alef) the result would be لا. In other text editors when I have the word لا I can mark (select) each of its ...
1
vote
0answers
206 views

Hunspell: encoding of personal dictionary

I am using hunspell 1.3.2 (on Windows) for spell checking, and I've been trying to make a personal dictionary. It works just fine, except the encoding is garbled. Whether I encode the personal ...
1
vote
0answers
68 views

How can I connect the configuration of emacs-x32 of cygwin and windows emacs

I used to use windows emacs, and store my configuration in the C:/User/admin//Emacs/.emacs.d/init.el. Because I would like to use gnus which is not lucky to access in windows emacs, I plan to change ...
0
votes
0answers
25 views

Setq org-agenda-files in Windows

I'm just looking to add files to my org-agenda-variable. I added a single file successfully but am unable to use multiple. With the code below in my .emacs.el file, the agenda buffer shows 0 TODO's ...
0
votes
0answers
27 views

Emacs cannot find virtual drive defined by MS Windows command `subst`

I am using spacemacs (0.200.13@26.1), but this should be applicable to vanilla Emacs too. The version of Emacs I'm experiencing this issue on is "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-...
0
votes
0answers
32 views

Ipython code only executes from org-edit-special, not from org source code block

I am trying to setup emacs on a windows 7 machine, and having trouble executing python/ipython code blocks. I am able to send these code blocks to org-edit-special (C-c '), start a python process (C-c ...
0
votes
0answers
32 views

Emacs on MS Windows, typescript lsp server on wsl?

Long-time emacs user (38 years or so, not kidding). I'm on Windows 10, running native emacs 26.1. I'm doing some Javascript/Typescript (vue.js) development, using WSL for that world, still with the ...
0
votes
0answers
42 views

ein: [info] Failed to save notebook

I'm using Windows 10, Emacs 26.1, IPython 7.2.0, and ein 20190228.2008. C-x C-s gives the error: ein: [info] Failed to save notebook! . I'm able to save the files through the web interface. As per #...
0
votes
0answers
99 views

Alternatives to Git on Windows due to its slowness

I am forced to use Windows 10 on my job, so I use native Win32 Emacs. Also use Emacs on WSL (compiled from emacs mirror though tried the default Ubuntu 18.04 too). I tend to use more the one on WSL, ...
0
votes
0answers
70 views

setup to compile irony server on windows 10 with Msys2

when I try to install irony server on windows 10 the following output pops up. -*- mode: compilation; default-directory: "c:/Users/opimenov/AppData/Local/Temp/build-irony-server-1.3.1/" -*- ...
0
votes
0answers
38 views

How to kill a running process in compilation buffer in MS Windows?

I have tried using M-x kill-compilation and it doesn't kill the process (on Microsoft Windows). It just sends ^C, which makes my script to retry. When I try to M-x kill-buffer on the compilation ...
0
votes
0answers
18 views

Cygwin mintty cut will paste to notepad, but (sometimes) not to cygwin emacs. Why? mouse-yank-primary?

I'm running Windows 7, cygwin emacs-w32 26.1, and mintty 2.9.6. When I select text in mintty (using the mouse), and paste (using C-v) into Notepad (for example), it works the way I would expect it to....
0
votes
0answers
26 views

Emacs Windows: nil turns into nil symbol

I took my entire Ubuntu 18.10/Emacs 26.1 .emacs.d directory over to a Windows machine and have Windows Emacs 26.1 using it. Seems to work all right; haven't really stress tested it yet. However, ...
0
votes
0answers
43 views

erc-tls on Emacs/Windows: connection fails

Using erc-tls, I cannot connect to port 6697 on bnc.irccloud.com. Credentials are correct. Furthermore I can connect to that server with: Emacs running on Linux (to be specific, Termux in Android) ...
0
votes
0answers
34 views

Enter not sent to bash in shell buffer on Windows

I've asked this question: Emacs opens gitbash in new system window the solution make git bash run on windows but prompt was not read only. I've applied this solution Any way to make prompts and ...
0
votes
0answers
78 views

Emacs client doesn't connect to running server on Windows

I have fresh new installation of emacs altogether with spacemacs. I set env vars for alternate editor and server file. My server file after starting emacs looks like: 127.0.0.1:64518 11948 'M.P$#NT[...