Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
21 views

Grep exited abnormally with code 2

Windows 10, Emacs 26.1 M-x shell grep here result: grep Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Nice. Now I want to find files in temp folder: rgrep ...
1
vote
1answer
33 views

Tool to work with archive?

Windows 10, Emacs 26.1 I need the archive tool that in dired mode that can: work with many archive: zip, 7z, gzip and so on create archive from selected files in dired mode and folders (with ...
0
votes
1answer
50 views

What best tool to find files with content?

Windows 10, Emacs 26.1. I need to find all files that content specific text ,e,g. ("hello"). I need to specify: is case sensitive is search also in all subfolders to find by some text and by regexp ...
0
votes
0answers
9 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
20 views

Problem finding files in deft

Note: I am using Windows 10. I have installed deft on my Emacs. I have two text files in my directory ~/docs/.deft but when I open Emacs and enter M-x deft it says, "No files found." However, if ...
0
votes
3answers
58 views

Quick Startup in Org-Mode?

There are two ways I start a new org-mode file: 1) I open Emacs and then by Ctr-x Ctr-f I type in the address of the location of where I want my file to be in. 2) I right click the place I want my ...
0
votes
1answer
24 views

File-missing “No such file or directory” “c:/emacs-26.1-x86_64/bin/%HOMEDRIVE%%HOMEPATH%/”

I'm launching Emacs using runemacs on Windows 7, from the emacs directory (C:\emacs-26.1-x86_64\bin), using runemacs --debug-init. I get the following error text: Debugger entered--Lisp error: (file-...
1
vote
1answer
33 views

Where find good json formater and validation?

Emacs 26.1. Windows 10 It's has function json-pretty-print . But it not enough for me. Has any another better json formater and validator? I mean the next. Suppose I has error on json on line 26. I ...
0
votes
1answer
15 views

How to bind a function to the Windows key

I want to bind the function evil-normal-state to the windows key on my keyboard. How do I do that? Also is there a way to bind the Fn key to other functions? I am using Emacs 26.1 on a Linux-Mint ...
1
vote
0answers
24 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 ...
0
votes
0answers
29 views

Touchpad scroll speed is too fast

I'm using Emacs on Windows 10. The touchpad scrolling speed in Emacs is currently so fast that it's unusable. In other programs (browser, text editors) both the mouse and touchpad scroll speed are ...
0
votes
1answer
46 views

flycheck don't run in emacs-lisp-mode

In emacs-lisp-mode, flycheck cannot run. If execute M-x flycheck-select-checker RET emacs-lisp RET, Emacs tells message below: Syntax checker in buffer example.el in emacs-lisp-mode: emacs-lisp (...
0
votes
0answers
30 views

Having trouble previewing LaTex on Emacs in Windows

I am having a similar issue to this question. However, I am using Windows 10. The answer to that question said to add the following to the init: (setq preview-gs-command "/usr/local/bin/gs") Is ...
3
votes
1answer
74 views

Why doesn't the same Windows font look the same when migrating to emacs 26.1?

I'm trying to migrate from emacs 24.5 to emacs 26.1. I installed 26.1 and running both with the same config files. I took several tries and fixing small things in the config, for emacs 26.1 to start ...
0
votes
0answers
25 views

How run bat, exe files?

Windows 10 (64 bit), Emacs 26.1 Here my init.el (require 'openwith) ;; Settings for package "openwith" (when (require 'openwith nil 'noerror) (setq openwith-associations (list (list (...
0
votes
0answers
51 views

Install Spacemacs in offline mode on MS windows

I need to install Spacemacs on the company's PC, which has no internet. So I can download an ELPA mirror (archive or library) from here. I followed this URL I changed the https:\\ : then I ran ...
-1
votes
1answer
126 views

Where is emacs powershell getting this PATH variable from?

When I execute the command $env:path to get the path variable in the powershell mode in spacemacs I get the following: C:\Program Files (x86)\Common Files\Oracle\Java\javapath; C:\Windows\system32; C:...
4
votes
2answers
102 views

Minimize emacs on Windows with Meta-Space, n?

I'd like to minimize emacs on Windows, when I press the Alt-Space, then n keys, just like with other Windows programs (because Alt-Space opens the program's menu that includes the 'Mi_n_imize' option, ...
1
vote
0answers
30 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 ...
2
votes
1answer
41 views

Emacs doesn't seem to recognize .emacs.d on the latest Windows Insider Preview

I was able to use Emacs normally on Windows until the latest update to Build 17711.rs_prerelease.180703-1539. Now, whenever I start Emacs, it just shows the default welcome page, even though .emacs.d ...
1
vote
1answer
77 views

Emacs opens gitbash in new system window

I've try to follow this question and sulution Git Bash in emacs on Windows I have this function: (prefer-coding-system 'utf-8) (defun git-bash () (interactive) (let ((explicit-shell-file-name "C:/...
1
vote
1answer
114 views

M-x shell from MSYS2: cannot set terminal process group

I'm using MSYS2-x86_64, and whenever I do M-x shell I see the following: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell ]0;~/.emacs.d ...
0
votes
1answer
18 views

Empty buffer shows when using emacsclient on windows

I am using GNU Emacs for Windows alongside of cygwin, and I want to set my EDITOR shell variable to be emacsclient -a=. My problem is that when certain programs try to use EDITOR to launch an editor ...
0
votes
0answers
48 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[...
0
votes
0answers
26 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
367 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 ...
3
votes
2answers
762 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
280 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
0answers
103 views

(How) Can I change the menu/tool bar (font) size in emacs for Windows?

I recently switched from using emacs (25) via the Windows Subsystem for Linux (WSL) to using the mingw32 versions of emacs available from the gnu download page. Everything works fine, except I want ...
0
votes
0answers
23 views

Disable pixelwise frame resizing on Windows

It seems like emacs on Windows (Windows 10) ignores the value of frame-resize-pixelwise. I notice that even when the value is off (set to nil), I can resize the frame by 1 pixel increments. Is this a ...
0
votes
1answer
112 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):
0
votes
0answers
152 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
85 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
88 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
100 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/...
3
votes
1answer
136 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 ...
3
votes
0answers
45 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
214 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 ...
2
votes
1answer
113 views

How can I disable the vertical scroll bar on just the minibuffer?

Look at this tiny scroll bar (circled in red): I think I could use the elisp function set-window-scroll-bars, but I don't know how to specify the minibuffer.
1
vote
1answer
20 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
104 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 ...
0
votes
1answer
173 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
69 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
52 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
611 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 ...
0
votes
0answers
155 views

While installing jedi for emacs on Windows 10, M-x jedi:install-server returns “Program named 'virtualenv' does not exist”

I've installed Emacs for Windows on my W10 machine, and I'm trying to get Jedi working. I've downloaded it via MELPA and I'm trying to run M-X jedi:install-server, but it returns Program "virtualenv" ...
1
vote
0answers
110 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
345 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
0answers
70 views

Debugging with gdb does not allow user to enter multiple console inputs

I wrote the following C++ program in Emacs named check_emacs_debug.cpp #include <iostream> int main() { for(int i = 0; i < 10; ++i) //Breakpoint { int num; std::...
0
votes
0answers
81 views

Emacs can't open hilit19 load file on Windows

I have just installed GNU Emacs 23.4 on Windows 10 without dependencies. Starting Emacs as: emacs -q -l w:\misc\.emacs.d\init.el Gives the error: : progn: Cannot open load file: hilit19 I see a ...