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

“No such file or directory, bind-key” after installing use-package [duplicate]

I'm using Emacs on Windows 10. I want to override key bindings, so after reading How to override major mode bindings, I installed use-package with the built-in package manager (via M-x package-install ...
2
votes
0answers
675 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 ...
6
votes
4answers
2k views

aspell with emacs 26.1 on ms windows

After updating emacs to version 26.1 on a windows machine, I get the following error message from flyspell: Error enabling Flyspell mode: (c:/Program Files (x86)/Aspell/bin/aspell.exe release 0.60 or ...
1
vote
1answer
798 views

Installing pdf-tools on Windows

I am new to Emacs and I am trying to install pdf-tools on Windows. I am following this, but I just couldn't understand what to do from the step 3. Could someone explain to me in very simple language ...
0
votes
1answer
218 views

Font on emacs (Windows 10) appears cut off

How can I improve the appearance of the emacs (25.2.1) font on Windows 10 (1703)? Currently, text appears blurred and cut off (especially lines on the bottom):
1
vote
0answers
314 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 ...
2
votes
0answers
191 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 ...
1
vote
1answer
109 views

Can gnus handle “maildir” format mail files with “.eml” extension?

I've been using "gnus" for reading/writing mail in MS Windows, but to make Windows recognize mail file, I want to add ".eml" extension to each numbered mail in "maildir" format. Is there any way to ...
0
votes
1answer
192 views

Not able to setup org-agenda-files

I am Emacs and org-mode noob and using MS Windows 10. I would like to add a folder containing all org files to my org-agenda-files in my .emacs. Location of my .emacs file: c:/Users/Guest User/...
4
votes
1answer
221 views

Avoid cmd window for pinned emacs on Windows 10

This question How to start Emacs without the cmd.exe window (on MS Windows)? adresses how you start emacs without a cmd window in the first place. This works out nicely until you pin emacs to your ...
2
votes
0answers
54 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, ...
0
votes
1answer
352 views

How should I solve “no such directory” error at CDPATH with environmental variable on Windows 10 Emacs?

I have installed GNU Emacs on Windows 10. When I open it, I get an error. Warning (initialization): An error occured while loading 'c:/Users/[redacted]/AppData/Roaming/.emacs.d/init.el': error: No ...
1
vote
1answer
23 views

Can't see changes in file on remote Unix machine “on fly”

Windows 10 (64 bit), Emacs 25.1 in my .emacs I have: (global-auto-revert-mode t) So when I open file (in dired mode) on my LOCAL machine it's success refresh opened file "on fly". Nice. Now I ...
1
vote
0answers
140 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
votes
1answer
235 views

Unable to use Microsoft Japanese IME in Emacs under Windows

For some reason I can't seem to use the Microsoft Japanese IME in Emacs, even though I can apparently use the Microsoft Chinese IME to input Chinese without problems. Even if I've switched to the ...
1
vote
1answer
117 views

flycheck on Windows, python-pycompile: “output contained no errors”

I'm running a hand-built recent trunk build of emacs on Windows. I have flycheck set up, and flycheck-verify-setup in a python-mode buffer shows it's enabled and OK: Syntax checkers for buffer foo.py ...
1
vote
1answer
81 views

How can I disable the “<C-lwindow> is undefined” error?

I use Windows 10's virtual desktop feature. The hotkey for switching between virtual desktops is Ctrl-Win-Left / Ctrl-Win-Right. When Emacs is focused and I want to switch dekstops, I get an error ...
2
votes
0answers
875 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 ...
1
vote
0answers
183 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
588 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 ...
0
votes
1answer
122 views

How do I exit a serial terminal buffer using keyboard?

I am using emacs for Windows. I start a new terminal using serial-term. Once in that buffer, I cannot open a minibuffer or use meta keys to escape this shell. The only way I can navigate out is ...
2
votes
2answers
251 views

TRAMP on Windows connects to Linux but not to OSX (macOS)

Using Emacs-25.2.1 on Windows XP (and on 7, too) I can connect to my Raspberry Pi (Rasppian OS) using TRAMP and the plink method and it works flawlessly. But when I try to connect to my Mac mini (OSX ...
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: ...
0
votes
1answer
202 views

Test file permissions in Windows

The file-writable-p docstring says: Return t if file FILENAME can be written or created by you. In Windows you cannot usually write on files when they are used by a different app. In these ...
0
votes
2answers
384 views

where to put .el files on Windows10 for loading at startup

I'm using emacs as a bog-standard program in Windows, and also from the command line in cygwin. They both use the same installation of emacs. I just grabbed yaml-mode.el off the net but I can't ...
0
votes
1answer
26 views

Can I “find-file //hostname/dirname/filename”

GNU Emacs 24.5.1 (i686-pc-mingw32); local host is MS Windows 7; remote machines are all running variants of MS Windows. I would swear I've used this syntax (most recently less than a month ago) but ...
3
votes
0answers
250 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 ...
1
vote
0answers
163 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 ...
4
votes
1answer
225 views

How do I symlink .spacemacs files to a version controlled .spacemacs file?

I am using Windows 10. I have cloned spacemacs repository inside my %APPDATA% folder. When I launch Emacs for the first time, it asks me usual question about preferring Evil and Helm mode. Then it ...
0
votes
1answer
125 views

Running python script from shell in Emacs results in delayed output

I'm trying to run a python script from a Windows shell (invoked via M-x shell or M-x powershell) inside Emacs. However, no output is shown via print statements until I after I hit a raw_input ...
4
votes
2answers
1k views

Windows: Open files by default application

Windows 10, Emacs 25.1, Dired+ In my folder "test" I have different file: So I want when press Enter on file 97_things_for_programmer.pdf to open this pdf file by my default application - Adobe ...
1
vote
1answer
620 views

Setting up .emacs and user-init-file in Windows 10 GUI and cygwin

Got a lot to learn in lisp but so far with GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-12 I'm trying to set it all up in Windows 10 to pick up just one .emacs init file but I can't ...
1
vote
0answers
53 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
130 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 ...
5
votes
3answers
3k views

Is it possible to use Bash for Windows as the term in Emacs for Windows

When I run M-x term on the Windows version of Emacs, I am prompted to run C:/Program Files/emacs/libexec/emacs/25.1/x86_64-w64-mingw32/cmdproxy.exe New versions of Windows 10 have the Linux subsystem ...
0
votes
1answer
58 views

Is it possible to safely eject flash drive from Emacs

Windows 10, Emacs 25.1. If I want to safe eject usb flash drive I use this (on system tray) Is it possible to do this in Emacs?
0
votes
1answer
189 views

How do I tell the alert package to use growl on windows 7?

I would like to use the alert.el package for notifications on windows 7. Therefore, I installed growl for windows and I can trigger notifications by using growlnotify.exe. When customizing the alert ...
2
votes
1answer
173 views

Starting Emacs from a USB stick: how to extract the drive letter assigned to the stick?

I have installed Emacs, with all its init files, on a USB stick for use on different PCs. The init files contains paths to the USB stick itself. The problem is that the drive letter assigned for the ...
7
votes
2answers
2k views

Setting up emacsclient on MS windows

I am trying to set up the emacs server daemon and use emacsclient on MS Windows so that files can be opened quickly without the delay and overhead associated with starting additional instances of ...
5
votes
1answer
2k views

How to remap backward-delete and help command while using Emacs from a terminal emulator?

I was using Emacs on CentOS 7 from the MobaXterm terminal on Windows 7, but the backspace key instead of backward-deleting a character invokes the prefix command C-h. According to EmacsWiki, I tried ...
2
votes
1answer
930 views

What flows are usable with WSL and Emacs (Windows Subsystem For Linux)?

I have negative experience with Cygwin but it's only the one option I have on Windows. In recent days Cygwin provides W32 build which has native UI (copy/paste, widgets) with tight integration to ...
1
vote
1answer
460 views

How to have a remote terminal inside Spacemacs, like a PuTTy within Emacs? [duplicate]

My question is about mimicking PuTTy inside Spacemacs in Windows, not about using Spacemacs via PuTTy. That is, I am interested in learning whether it is possible to open within Spacemacs a remote ...
0
votes
0answers
535 views

Emacs init with spacemacs fails all the time - Error connection time out for melpa repository

I installed GNU Emacs 25.2.1 64bit and downloaded spacemacs the way it is described in their git repo. Now when starting up through runemacs.exe the following output occurs: Warning (spacemacs): ...
4
votes
0answers
106 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 ...
1
vote
1answer
326 views

Windows 10, Emacs 25.1, shell: Grep not work immediately

Windows 10 (64 bit), Emacs 25.1. I has Android application. And in console I start Android command "adb logcat" to show logs from Android device. But it's show many text. And I want to filter to show ...
2
votes
1answer
76 views

nw in powershell; themes ignored

I'd like to run emacs in powershell (on windows 7) with emacs -nw with the misterioso theme. When I M-x load-theme misterioso the theme'ing doesn't happen. However when I M-x load-theme manoj-dark, ...
2
votes
3answers
493 views

Use mutool / mpdf to render pdf documents in doc-view mode in Windows

Since I feel that ghostscript is buggy on my surface laptop (at least its not working properly for doc-view in emacs with the pdf-Documents I want view; its beamer.pdf created with org-mode-beamer ...
0
votes
1answer
712 views

doc-view not working with emacs 25.2.1. (x86_64-w64-mingw32)

I am definitely no newbie and I think I now followed every little advice I could find online, and after 2 days doc-view is still not working :-( (it works fine on my older laptop under windows 10) On ...
1
vote
1answer
46 views

M-w breaks intermittently on Windows 10

M-w stops working randomly on my Windows 10, which I believe is the same issue described here. Unfortunately no solutions can be found. To sum up: M is mapped to Alt The problem occurs to ALL Emacs ...
0
votes
1answer
224 views

Connect to remote Windows machine: Network error: Connection timed out

Windows 10 (64 bit), Emacs 25.1 When I want to connect to remote Windows machine (via VPN) I use the next steps: Start application OpenVPN and success connect Start msc (Remote Desktop Connection) ...