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.

25
votes
3answers
28k views

Where is official 64-bit Emacs for Windows? (The manual said there is!)

I usually download Emacs for Windows from the official GNU site: http://ftp.gnu.org/gnu/emacs/windows/ The latest version is: emacs-24.5-bin-i686-mingw32.zip I'm curious that why there's no 64-bit? ...
19
votes
1answer
9k views

How do I install GnuTLS for Emacs 25.1 on Windows?

I just upgraded Emacs on my Windows 10 machine from 24.5 to 25.1. For Emacs 24.5 I had GnuTLS correctly setup and for 25.1 I did what I thought I remembered I did: Got prebuilt Emacs binaries from ...
18
votes
3answers
5k views

Set up Emacs on Windows to start a single instance and open files in the existing instance

I am particularly interested in the full Windows experience including: Automatically starting a server if one is not already started How to call emacs so that it utilizes the server (e.g. from ...
15
votes
6answers
7k views

How do I set a different location for the dot emacs .emacs file on Windows 7?

I am using a Windows 7 computer and do not have administrator access. Therefore I can not place a dot emacs file in the root directory. Is there a way for me to specify a different location for ...
14
votes
3answers
5k views

Easiest way to install Emacs Windows support libraries

I installed binaries of Emacs 24.4 for Windows and want to install the support libraries described in the Emacs for Windows README. The latest precompiled libraries are available from the ezwinports ...
14
votes
2answers
4k views

Magit extremely slow in Windows. How do I optimize?

I am forced to use Windows 10 for a project. Yes, I would rather use GNU/Linux. To keep my sanity, I've tried to regard Windows as a bootloader for Emacs :) Unfortunately, Magit (one of my favorite ...
11
votes
2answers
2k views

How to build Emacs master branch (aka trunk) on MS-Windows

I took the plunge today and started out on my quest to build the most recent Emacs master branch developer build -- aka Emacs Trunk -- for MS-Windows. I found an old blog and went through the ...
11
votes
4answers
4k views

Comparing two text files on a Windows system

Since ediff-files and ediff-buffers result in apply: Searching for program: no such file or directory, diff error on windows machines. How to compare two files using Emacs on a windows system?
10
votes
8answers
977 views

magit-push hangs on Windows

I'm using GNU Emacs on Windows, and I am unable to use magit-push to push my local changes to a remote repository. This happens with remote repositories regardless of if they are accessed with SSH or ...
9
votes
3answers
6k views

Git Bash in emacs on Windows

I can run the Bash shell that comes with Git for Windows. I put this in my .emacs: (defun git-bash () (interactive) (let ((explicit-shell-file-name "D:/Program Files/git/bin/bash")) (call-...
9
votes
2answers
185 views

How to avoid typing “space” after “^” for moving up in directory in dired?

^ is the key binding for moving to the parent directory in dired ("Up directory"). However, in Gnu Emacs on Windows 7 Professional 64-bit with my German keyboard layout, it is not sufficient to type "...
9
votes
2answers
1k views

eww ---> libxml2 library not found

Windows 10 (64 bit), Emacs 25.1. I try to open in Emacs some web page. E.g. www.google.com. So M-x eww Enter URL: www.google.com But I get error: libxml2 library not found
9
votes
5answers
7k views

How do I set up hunspell on a Windows PC?

I have my hunspell dictionaries at C:\hunspell\. It contains .dic and .aff files for three languages: en_GB, en_US, and nb_NO. The descriptions I find on the web about how to make hunspell work in ...
8
votes
1answer
3k views

How to start Emacs without the cmd.exe window (on MS Windows)?

It says emacs/bin/emacs.exe. If it's not necesarily useful, I'd like to stop it from starting with emacs. The extra window is messing me up a bit.
8
votes
2answers
1k views

Running Emacs from Windows taskbar

When I want to switch between programs in Windows, I ordinarily use the windows key plus a number key to run a program from my taskbar. Most programs will either start running or, if there's already ...
8
votes
3answers
2k views

Emacs on Windows 7 very slow when computer is outside company network

I'm using GNU Emacs 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness. I'm launching Emacs with runemacs.exe However, when I am travelling and try to connect to my ...
8
votes
1answer
517 views

unicode.txt slowness

Moving around point (using the cursor keys) in Xah’s unicode.txt in fundamental-mode is noticeably slower than in an ordinary text file. Are the many non-ASCII characters the issue? Anything else? ...
8
votes
1answer
707 views

What is the relationship between Emacs and various spellcheckers (ispell, etc.)?

A. Is there a spellchecker built in to Emacs? This seems to say that there is a "built-in ispell package" that "handles spell-checking and correction". The manual (Emacs > Fixit > Spelling > 16.4) ...
8
votes
2answers
2k views

How to access os clipboard using Emacs + Evil

How can i yank to/from windows clipboard when using: Windows 7 (x64) GNU Emacs 24.4.1 (x64) Evil 1.0.9 and having (setq x-select-enable-clipboard nil) in my .emacs? (I put this line there because i ...
8
votes
2answers
543 views

How to change octal sequences into utf-8 text

When I copy non-ascii text from Windows and paste into Emacs, it shows up as an octal sequence. For example, if I paste ä into Emacs it shows up as \344. I could type C-q 344 to get the ä back in ...
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 ...
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 ...
6
votes
3answers
4k views

Setting up Ditaa in Org-mode

I've been having trouble setting up ditaa to work in emacs, I got my copy of the ditaa jar from here And I've been trying to run this code block #+begin_src ditaa :file hello.png :exports results ...
6
votes
1answer
818 views

Multiplatform solution to view pdf files in Emacs

I'm searching for solution for viewing .pdf files in Emacs on both Linux and Windows platform. Here is list of my requirements: Outline (view, use to navigate) Follow links Search text Basically I'...
5
votes
1answer
2k views

How to install a package manually

I would like to install the projectile package manually since the repository is blocked by a firewall. I have downloaded the file projectile.el from the [package homepage][1] put it together with ...
5
votes
1answer
2k views

Org-babel invoking cmd.exe

Is there a simple configuration to get org-babel to invoke cmd.exe that doesn't involve modifying the org-babel source? Googling for ["org-babel" sh "cmd"] finds this email list discussion from 2010: ...
5
votes
2answers
389 views

Emacs dev builds for MS Windows

Is there anywhere I can download a pre-compiled executable of the Emacs development version, all built and ready to run on Windows? Doesn't have to be a daily build. Anything from the last month or ...
5
votes
1answer
1k views

Where do DLLs go for Emacs 24.4.1 on Windows 7?

I'm getting the message "zlib library not found" when I start emacs and I found that I need to download zlib, which is fine. Then I need to put the DLL somewhere, but I can't find where that should be....
5
votes
2answers
2k views

Emacs TAGS file in Windows?

One way to look into the source code of any function in Emacs is to use the M-. (find tag). When I do this in Windows platform Emacs 24 I get Find tag: in the minibuffer asking to enter the name of a ...
4
votes
1answer
3k views

Magit on Windows: “searching for program: permission denied, git”

I installed Magit on Windows, but every time I use it, it give me the error: searching for program: permission denied, git even though I already installed the git software on windows. (it seems ...
4
votes
1answer
3k views

your emacs does not come with xwidget support… (Windows 10)

Just unzipped and started using Emacs 25.1, hoping to get a browser running in emacs. The instructions I found had me enter "M-x xwidget-webkit-browse-url" And then I'm asked to complete a command ...
4
votes
1answer
209 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 ...
4
votes
2answers
1k views

Using find command on windows

I'm running GNU Emacs on Windows 7 and was just wondering how to set up emacs so the "find-name-dired" command works. When I try using find-name-dired to recursively search for files I get this: find ...
4
votes
2answers
132 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, ...
4
votes
2answers
972 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 ...
4
votes
1answer
4k views

How do I install emacs on windows 10 pro

I can't find a clear tutorial for how to do this on windows 10. Normally there are a few tricks required to get it running properly so I thought I would ask here before trying one of the windows 8 ...
4
votes
1answer
180 views

What is the equivalent of /sudo:root@localhost:/ in windows?

What is the easiest way to access files that require admin privilege in windows? I could see similar questions here and here. But I think this would be the right forum to find the best solution for ...
4
votes
1answer
605 views

is 64 bit Windows actually faster?

Installing Windows 64 bit for Windows 7 is currently a massive pain Where is official 64-bit Emacs for Windows? (The manual said there is!) because although there are many roque cuts, GNU are not ...
4
votes
4answers
3k views

Org-mode: No images to display inline

I am trying to display images in org files. I have used links such as [[file:~/path/to/image.png]] When I click on the link, it gives me another buffer in which there are only symbols. When I put ...
4
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 ...
4
votes
1answer
200 views

C-) not recognized on Windows 10

In my init file, I have C-) bound to a smartparens "slurp" command. This works great on linux, but when I try to use the same keybinding on my Windows machine, nothing happens. To troubleshoot on my ...
4
votes
3answers
3k views

Emacs 24.5.1 on Windows: How to use server mode?

I used to have Emacs 25.xx on my windows pc and was very happy with the daemon/server mode of emacs. Emacs started via batch-script on startup and everything worked fine -- on every subsequent call ...
4
votes
1answer
354 views

void-function lexical-let

I'm using this code on Xubuntu (emacs 24.5.1) but it throw error on windows (emacs 25.0.50.1 64bit) (defun ignore-error-wrapper (fn) "Funtion return new function that ignore errors. The function ...
4
votes
1answer
1k 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 ...
4
votes
2answers
601 views

How to get colors in Magit diffs on Windows?

Color codes are not working on my Windows 7 box. I have working colors in Git Bash that comes with the Git install. Here is what I get:
4
votes
1answer
214 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 ...
4
votes
2answers
974 views

GnuTLS / OpenSSL hangs on Windows when accessing Gmail

I am trying to set up Gnus (on Emacs 24.5) on Windows to access Gmail through IMAP and it seems like the connection is choking when it attempt to connect to the IMAP server. (Seems like Gnus is not ...
4
votes
0answers
891 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 ...
4
votes
1answer
392 views

Under Windows, Emacs cannot handle encodings correctly for subprocesses, can it?

I have two simple text files on my D: drive, as shown below. D:\我.txt I D:\你.txt You After I execute M-x diff and type the correct filenames (Yes, I can input Chinese and filename ...