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
1answer
141 views

emacs org-mode error during installation in windows

While I try to install org-mode using M-x package-install RET org RET, I am getting the following error. I am new to both emacs and org-mode and using Windows 10. Debugger entered--Lisp error: (void-...
2
votes
2answers
263 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 ...
0
votes
1answer
100 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-...
3
votes
2answers
358 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 ...
0
votes
0answers
6 views

What are the steps to set up elpy to use the anaconda python distribution on Windows?

I have anaconda installed on Windows (Windows 7), and it is working well in Jupyter. But of course I'd prefer to work in emacs. I have elpy installed in emacs, and it successfully sends commands to ...
1
vote
1answer
296 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
0answers
26 views

Emacs Windows10 ragged font

I'm having issues with ragged or cutoff fonts in emacs with windows10. It's especially noticeable when looking at the bullets in org-mode bullets which seem pixelated and off center. Specs: Display ...
0
votes
0answers
31 views

REST API calls in Emacs Lisp

From what I've seen, it seems that request.el is a pretty popular option for making REST API calls from Emacs Lisp. However, it seem that it isn't very well supported on Windows according to this ...
11
votes
5answers
5k 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?
1
vote
1answer
26 views

Help? - Freeze up to 10 seconds happening on windows when exiting (kill-emacs) when desktop-save-mode and back-button-mode are enabled

I've spent a full working day trying to somehow resolve this, no luck, so I'm turning to this place hoping for help. Recently I started experiencing freeze of something like up to 10 seconds when ...
0
votes
0answers
49 views

Running Anaconda Python within emacs on Windows

I have a Windows 10 machine, with the official GNU emacs Windows build, and Anaconda Python 3.7.3. I can't get Python to properly run within emacs. Whenever I start Python, I get the message: ...
2
votes
1answer
119 views

Chown with dired over Tramp, from Windows machine

I launch dired over Tramp (from Win machine to Linux server): C-x d /plink:user@server|su:root@server:/path-to-folder-controlled-by-root/ Then I type "O" to chown a folder, but I get chown not ...
0
votes
0answers
9 views

How can I configure projectile to use my `grep-find-command`?

I have a customized grep-find-command. (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should ...
1
vote
0answers
33 views

Use Eshell with Tramp, from a Windows computer to a Linux server

I use a Windows computer to control servers through Tramp (with plink). Here's my setup: (setq explicit-shell-file-name "/bin/bash") (setq default-directory "/plink:user@server:~") Now when I run M-...
0
votes
1answer
63 views

Setq org-agenda-files in Windows

I'm just looking to add files to my org-agenda-variable. I added a single file successfully but am unable to use multiple. With the code below in my .emacs.el file, the agenda buffer shows 0 TODO's ...
1
vote
0answers
42 views

opening org link in dired

[[D:/dev::line][code]] stores the link to my code directory. How can i used dired to open it in emacs. Currently with this code explorer opens the directory. I'm using Windows 7.
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 ...
2
votes
1answer
96 views

How to init emacs with an option (such as `--debug-init`)

This might be a very silly question, and that's maybe why there's no answer on the internet. I'm using Windows 10. And I tried to click on properties, and then change the ending of the file's name ...
0
votes
0answers
31 views

Emacs cannot find virtual drive defined by MS Windows command `subst`

I am using spacemacs (0.200.13@26.1), but this should be applicable to vanilla Emacs too. The version of Emacs I'm experiencing this issue on is "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-...
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 ...
1
vote
1answer
899 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
1answer
214 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
1answer
196 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 ...
4
votes
1answer
419 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 ...
1
vote
1answer
55 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
2answers
403 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
2answers
112 views

plantuml requires a header argument (Emacs 24 on Windows' Ubuntu Subsystem)

I'm trying to output images using plantuml-mode. It seems I have plantuml-mode installed successfully, as I can activate the major mode, but I am unable to evaluate using C-c C-c: PlantUML requires ...
0
votes
0answers
44 views

Ipython code only executes from org-edit-special, not from org source code block

I am trying to setup emacs on a windows 7 machine, and having trouble executing python/ipython code blocks. I am able to send these code blocks to org-edit-special (C-c '), start a python process (C-c ...
1
vote
0answers
328 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 ...
0
votes
0answers
58 views

Emacs on MS Windows, typescript lsp server on wsl?

Long-time emacs user (38 years or so, not kidding). I'm on Windows 10, running native emacs 26.1. I'm doing some Javascript/Typescript (vue.js) development, using WSL for that world, still with the ...
0
votes
1answer
101 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
1answer
86 views

Disable left win key in Emacs for Windows

With AutoHotkey If I press the key Win alone, then nothing happens. That's true except with Emacs, because it opens the Windows menu. Is there a way to prevent it? Update: In AHK I have exaclty ...
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 ...
3
votes
2answers
247 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
0answers
138 views

Alternatives to Git on Windows due to its slowness

I am forced to use Windows 10 on my job, so I use native Win32 Emacs. Also use Emacs on WSL (compiled from emacs mirror though tried the default Ubuntu 18.04 too). I tend to use more the one on WSL, ...
1
vote
0answers
109 views

Can't run Windows 10 Bash with ansi-term

I've got this error, when running M-x ansi-term C:/Windows/System32/bash.exe RET Spawning child process: invalid argument after running M-x debug-on-entry RET start-process RET when running M-x ...
0
votes
1answer
25 views

macro execution with i-search fails under Linux and succeeds under windows?

Imagine you've got file with FirstName|LastName| like this : John|toto| Hanz|titi| and want to put the first names at the end of the lines (just an stupid exemple). You may use Macro Recordind for ...
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-...
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 ...
0
votes
0answers
47 views

ein: [info] Failed to save notebook

I'm using Windows 10, Emacs 26.1, IPython 7.2.0, and ein 20190228.2008. C-x C-s gives the error: ein: [info] Failed to save notebook! . I'm able to save the files through the web interface. As per #...
1
vote
1answer
47 views

How do I use tramp to launch a remote PowerShell?

I'm trying to launch a PowerShell on a remote Windows system using tramp. So far all I've been able to do is start a PowerShell inside Emacs on the local (Windows) machine. What is the connection ...
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 ...
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 ...
1
vote
1answer
29 views

Windows versions of pretest releases

"Emacs pretest 26.1.92 is out!" reported a recent email. Are downloads of this available for the Windows platform? Where can I find them? Files here were last updated on 17 January 2019, so ...
7
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 ...
0
votes
0answers
96 views

setup to compile irony server on windows 10 with Msys2

when I try to install irony server on windows 10 the following output pops up. -*- mode: compilation; default-directory: "c:/Users/opimenov/AppData/Local/Temp/build-irony-server-1.3.1/" -*- ...
0
votes
0answers
47 views

How to kill a running process in compilation buffer in MS Windows?

I have tried using M-x kill-compilation and it doesn't kill the process (on Microsoft Windows). It just sends ^C, which makes my script to retry. When I try to M-x kill-buffer on the compilation ...
0
votes
0answers
30 views

Cygwin mintty cut will paste to notepad, but (sometimes) not to cygwin emacs. Why? mouse-yank-primary?

I'm running Windows 7, cygwin emacs-w32 26.1, and mintty 2.9.6. When I select text in mintty (using the mouse), and paste (using C-v) into Notepad (for example), it works the way I would expect it to....
1
vote
1answer
126 views

AUCTeX with Sumatra PDF

I am syncing AUCTeX with Sumatra PDF on MSWindows. I used the instructions in https://www.barik.net/archive/2012/07/18/154432/ (I write here the setqs instead of customization) (setq TeX-source-...
0
votes
0answers
27 views

Emacs Windows: nil turns into nil symbol

I took my entire Ubuntu 18.10/Emacs 26.1 .emacs.d directory over to a Windows machine and have Windows Emacs 26.1 using it. Seems to work all right; haven't really stress tested it yet. However, ...