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
19
votes
1answer
10k 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 ...
0
votes
0answers
164 views

Opening a .tex file on Windows emacs 25.1

When I try and open a .tex file on emacs 25.1 under Windows I now get this error: File mode specification error: (dbus-error No connection to bus :session) And cannot typeset anything using the ...
0
votes
1answer
182 views

.emacs setq sets a wrong path for a variable

I put the following in my .emacs file to make sure that the "run-python" variable maps to the right path: (setq python-shell-interpreter "C:\\Users\\xxxx\\python.exe") When I restart emacs and do M-...
3
votes
0answers
157 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 ...
1
vote
1answer
528 views

eval-buffer: Symbol's value as variable is void

I am trying to run Emacs with slime and clisp on windows. Currently I am setting up my init-file so that I can run SLIME. (setq inferior-lisp-program “home/gage/bin/clisp/full/lisp.exe -B home/gage/...
2
votes
1answer
836 views

How to run the tangled file?

How does one run the arbitrary command to execute the tangled code? I use Emacs both on Windows and Linux, but currently I need to run the generated batch file in particular Windows environment. Here ...
0
votes
0answers
117 views

Missing features on Windows

I am trying to assemble a list of features that work out of the box on Linux but will fail on a standard installation without addinng additional executables or DLLs, or are not implemented at all for ...
3
votes
1answer
106 views

Web-mode + Dust.js, no indentation?

If I go to scratch, M-x web-mode RET, type in this snippet: <script type="text/x-dust-template"> {#obj_to_iterate} {prop} <----- this should indent {/obj_to_iterate} </script&...
0
votes
1answer
105 views

Why does viewing PGP encrypted PDF fail?

When I try to open a PGP encrypted PDF file.pdf.gpg, then – after entering the PIN in my smartcard reader – a window pops up with an error message: Error: /syntaxerror in (binary token, type=150) ...
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 ...
0
votes
1answer
290 views

Loading charset map: no such file or directory, KOI8-T

Today I suddenly started getting the above error whenever I try to save a file in emacs 24.5 on Windows 10. Here is my full list of messages: Loading c:/Users/Psalm3_3/GDrive/Tools/Emacs-24.5/site-...
1
vote
3answers
1k views

Play Org-Pomodoro sounds

I am running Emacs version 25.0.92.1, Spacemacs 0.105.x, Windows 7. In my .spacemacs, in dotspacemacs/user-config I have: ;; Org ;; Org-pomodoro (setq org-pomodoro-length 25) (setq org-pomodoro-short-...
1
vote
2answers
962 views

`user-emacs-directory' directory is inaccessible

I had recently started to get Warning (initialization): Unable to access `user-emacs-directory' (~/.emacs.d/). message upon startup. I'm on Windows 7 (X64) using the latest x64 emacs-25.0.94....
0
votes
2answers
1k views

Emacs can't write to its own init file on Windows 10

I have been using Emacs on Windows for decades now and it essentially always worked fine except for minor annoyances. However, I recently had to buy a new machine with Windows 10 (the last Windows I ...
1
vote
0answers
27 views

Irish (Gaeilge) dictionary Emacs on Windows

How do I install an Irish (Gaeilge) dictionary for Emacs on Windows?
0
votes
1answer
153 views

Why does SSH mode for emacs (ssh-el) hang?

Adding this for anyone who runs into this problem. I use SSH mode for emacs (ssh-el) on Windows and it just hangs there without connecting sometimes, usually after a crash.
2
votes
1answer
3k views

msys2 emacs install not working?

I've tried to install Emacs on Windows (7) with msys2, however, I'm not sure if it worked. In any event, I can't find it on my machine. The install (following these instructions seems to go fine -- ...
1
vote
1answer
156 views

How to use dynamic-library-alist to load my own DLL?

I found Emacs has a dynamic-library-alist. But there's no instruction about how to use the libraries after it is been loaded...any idea? What I want to acheive is to load a DLL on my Windows system ...
1
vote
1answer
53 views

Running ruby files from $PATH in Eshell

I'm trying to find a way to run .rb files that are in the $PATH in Eshell by following the solution here. I added ".rb" to exec-suffixes, set eshell-force-execution to t and customized eshell-...
3
votes
2answers
233 views

Pasting Text from Clipboard - why ^M instead of linebreaks?

I'm using some VBA scripts which copy Text in MS Outlook from an e-mail message and send it to the clipboard. If I then paste the clipboard content with Ctrl-Y in Emacs 24.5.1 in Windows 7, the ...
0
votes
2answers
161 views

Windows eshell alias command line arguments.. how?

I have alias msexcel (w32-browser "C:/program files/microsoft office/office12/excel.exe") and this means I can do msexcel from eshell and an asynchronous MS Excel will begin to run. I am looking for ...
0
votes
1answer
380 views

Inferior Python Shell - Windows - not printing results

I'm trying to use inferior python shell to run ipython commands interactively. I am able to connect but it doesn't print the results of my statements except when I use print statements In [1]: a = 10 ...
1
vote
1answer
363 views

File association with cygwin emacs-w32

I invested a lot of time to get a Windows file association working with cygwin emacsclient-w32. But every "solution" has some dead end that I can't solve. Any help really appreciated. What I want is ...
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 ...
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-...
0
votes
2answers
585 views

elisp trying to double backslashes in windows pathname - concat strips a slash escape

I'm trying to insert a string pathname into a buffer on a Windows machine. The variable holding the string has the right number of backslashes (two) in the directory pathname. I know this because when ...
2
votes
1answer
1k views

How to configure EasyPG with Gpg4win or any other Windows GPG version?

I am having a hard time getting GPG to work in Emacs under Windows. The configuration options I tried: (setq epg-gpg-program "c:/Program Files/GNU/GnuPG/gpg2.exe") (setq epg-gpg-home-directory "...
1
vote
1answer
890 views

Windows 10 + Emacs shell--can't run processes from eshell; unwanted cmd windows open

I've been upgraded at work to a Windows 10 machine, from Windows 7. Apparently, this has caused problems. First, eshell doesn't seem to be able to launch windows processes anymore. I get "Spawning ...
0
votes
0answers
150 views

Troubleshooting a blank window

I've run into a bit of an issue that I'm having trouble resolving. I use quite a few packages, one of which is ESS. The latest update to ESS seems to run into issues when trying to install. All I ...
0
votes
2answers
118 views

Modification of Jim Blandy's `dired-tar` — Emacs for MS Windows

I enjoy using Jim Blandy's dired-tar library for Emacs built on *nix systems: https://www.emacswiki.org/emacs/DiredTar I am seeking to modify that library to support both *nix and MS Windows -- i.e.,...
1
vote
2answers
1k views

Convert a MS Windows path to short filename / 8.3 filename / SFN

How can I programmatically convert a Windows OS path containing spaces to one without spaces that uses the tilde format? BEFORE:   c:/Documents and Settings/Administrator/Desktop AFTER:   "c:/docume~...
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 ...
2
votes
0answers
293 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 ...
1
vote
1answer
129 views

Why does emacs dired not display the same files as the Windows “Explorer” (e.g. Windows/System32/config)

(Emacs 24.3.1 i386-mingw-nt6.1.7601 of 2013-03-17 on MARVIN) Emacs dired of C:Windows/System32/config displays only the directories: '..' 'systemprofile' '.' 'TxR' 'RegBack' 'Journal' in the ...
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 ...
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.
1
vote
1answer
57 views

How can I keep the emacs window at a constant size when hiding/showing the menu bar?

I don't like to waste screen space, so usually I have the menu bar hidden. Sometimes, I'd like to show it nevertheless, so I have bound the "menu" key to menu-bar-mode. Works perfectly: (global-set-...
1
vote
1answer
98 views

ange-ftp problem on cygwin emacs

I've hit a brick wall with this. I'm running cygwin on a Windows 7 machine. I can't connect vai ange-ftp to an ftp server, hosted by godaddy.com. I do C-x C-f /username@ftp.foo.com: (to get a dir ...
1
vote
1answer
335 views

Why do paths start with “c:/c/…” in windows emacs when I use 'next-error'?

I'm using native windows emacs together with mingw. When there's a compile error, the *compilation* buffer looks like this: make -C .. make: Entering directory `/c/Users/m.grunwald/Documents/Projects/...
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 ...
4
votes
1answer
611 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 ...
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: ...
4
votes
1answer
358 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 ...
1
vote
1answer
33 views

Alignment not working on one machine, but working on others?

Alignment is not working for me on my Windows machine, but it is on my Centos machine. I want to understand why. I first noticed the problem when I turned on linum-mode. Here's what it looks like ...
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 ...
0
votes
1answer
143 views

Are there Emacs “starter kits” with few to no third-party packages required?

I've seen quite a few starter packages for Emacs (Starter kit, Prelude, etc), but all of them I'm aware of use lots of third-party packages downloaded from the various package repositories, such as ...
0
votes
0answers
302 views

Separate org-file-apps for export

I use org-mode for a lot of things, but two of them are now in conflict. The two use cases are (1) drafting assignments and exporting to LaTeX and (2) tracking my reference library using RefTeX. My ...
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 ...
3
votes
1answer
255 views

Set the same font for different input languages in Windows

For example, if I set a default frame font to Terminus: ELISP> (version) "GNU Emacs 24.5.1 (i686-pc-mingw32)\n of 2015-04-11 on LEG570" ELISP> (add-to-list 'default-frame-alist '(font . "...
0
votes
1answer
361 views

Emacs and Gpg4win Opening input file error

Emacs 24.5.1 in cygwin x64, Windows 7, gpg (GnuPG) 2.0.21 (Gpg4win 2.2.0) Visited file ~/somefile.gpg Got error "Opening input file" "Can't decrypt" "Exit". Debugger entered--Lisp error: (file-...