We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1
vote
0answers
963 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 ...
0
votes
1answer
251 views

pull failed from magit, but pull works on command line (windows 10)

When pull from magit on windows 10 (spacemacs), the error is: 1 C:/Program Files/Git/mingw64/libexec/git-core/git … pull origin fatal: Could not read from remote repository. Please make sure you ...
0
votes
2answers
1k views

Projectile indexing won't work on Windows

I can't get helm-projectile-find-file to work on Windows. When I run it I get the error message "FIND: Parameter format not correct". Given how similar that is to the native windows find.exe default ...
4
votes
1answer
454 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 ...
3
votes
0answers
299 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
2answers
370 views

Fresh install 24.5 on Windows 10 bash shell Linux 16.04 crashing on package manager

Fairly new to emacs, seemed super awesome for writing a lot of different styles. Got it working just find on my desktop using the new bash terminal - 14.04 - on my desktop. Did the exact same setup ...
3
votes
1answer
139 views

Calling a function when emacs process is killed (MS Windows)

I would like to call a function just before emacs exits. Normally the following can do job: (add-hook 'kill-emacs-hook 'my-function) Unfortunately when I shutdown the system (MS Windows) or ...
3
votes
3answers
274 views

How to remove ^M from org-babel code block executing on Linux from Windows OS?

My problem is that every line executing on the remote Linux machine seems to be including a trailing ^M (as is shown as ? in the file name apa? below). Content of my .org document: * Test #+...
0
votes
0answers
53 views

comint-exec with very large argument list on windows

I wish to start a command that has a very large argument list (10s or 100s of thousand characters) with comint-exec but when I do this on Windows it fails to start. The only error is apply: Spawning ...
4
votes
1answer
330 views

how to debug constant freezing with emacs org-mode on windows?

I use org-mode with emacs heavily. On LINUX, everything is great. When I have to use windows emacs regularly freezes and I have to kill via task manager and restart. Any suggestions on how I can ...
2
votes
1answer
152 views

Way to make a file read-only from dired?

Is there a way to make a file read-only from dired? This, this, and this are unclear to me. The manual has lots to say about marking/flagging via dired as well as operating on files, but I can't ...
8
votes
1answer
771 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) ...
1
vote
1answer
145 views

How to make emacs respect non-exe executables on windows?

I've installed flake8 for flycheck to use to check my python syntax. I installed flake8 in cygwin, using the python interpreter shipped with cygwin, which results in a flake8 file in C:\cygwin64\bin. ...
1
vote
0answers
483 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 ...
2
votes
1answer
1k views

Fixing keybindings of Emacs inside Putty on Windows

I have regularly tried, over the years, to run emacs through putty to get rid of the need to install a local X server. I remember the putty+emacs combination being abysmal in the past; and right now ...
3
votes
1answer
3k views

GUI Emacs sets the exec-path only from Windows environment variable but not from .emacs file

I use Emacs 25.1 on my Windows XP laptop both as a command-line app (on ConEmu terminal emulator with MSYS bash as the shell) and as the GUI Emacs. I mainly use Emacs to test and compile programs, so ...
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 ...
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
173 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
189 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
166 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
590 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
899 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
122 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
111 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
110 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
344 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
2k 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
1k 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
29 views

Irish (Gaeilge) dictionary Emacs on Windows

How do I install an Irish (Gaeilge) dictionary for Emacs on Windows?
0
votes
1answer
164 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
4k 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
164 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
55 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
288 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
183 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
388 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
386 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
45 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
7k 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
648 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
931 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
167 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
122 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
318 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 ...