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
16 views

How can I make emacsclient use an existing window in the current frame?

I'm on MS Windows, if that makes a difference. My desired behavior: There is only one frame visible at any time. Visiting a file should use an existing window in that frame. (This is the default ...
1
vote
1answer
30 views

How does emacs flash its icon on the windows taskbar?

Sometimes when I run a process if there is an error during the process the emacs icon on the windows taskbar lights up, so if I'm in an other app I can see something happened there. I'd like to use ...
0
votes
1answer
20 views

Unable to run nov-mode on Windows

disclaimer: I'm still relatively new to Emacs. When I open an Epub on MS Windows, Emacs opens it using Zip-Archive mode and displays its content (which is normal afaik). However, when I start nov-...
0
votes
0answers
10 views

Emacs Is Auto-Escaping Periods From The Command Line

I'm attempting to run the profile-dotemacs.el script from the command line using Powershell on Windows. Here's what I'm trying to run emacs -Q -l C:\users\tom\Downloads\profile-dotemacs.el --eval "(...
0
votes
0answers
16 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 ...
0
votes
0answers
28 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
33 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 ...
1
vote
1answer
28 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
81 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
122 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 ...
1
vote
1answer
24 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
34 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-...
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.
0
votes
1answer
66 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 ...
0
votes
0answers
33 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-...
0
votes
0answers
45 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 ...
0
votes
0answers
75 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
100 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 ...
1
vote
0answers
124 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 ...
0
votes
0answers
51 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
56 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
176 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, ...
0
votes
0answers
110 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
50 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
34 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....
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, ...
1
vote
1answer
137 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
1answer
190 views

Org mode bullets

I am using org-bullets package but the rendering of unicode bullets doesn't seem correct to me. I tried changing the to different fonts without any success. Also I can't find anything related to ...
4
votes
0answers
922 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 ...
0
votes
0answers
59 views

erc-tls on Emacs/Windows: connection fails

Using erc-tls, I cannot connect to port 6697 on bnc.irccloud.com. Credentials are correct. Furthermore I can connect to that server with: Emacs running on Linux (to be specific, Termux in Android) ...
0
votes
1answer
18 views

Emacs26 on Windows 7, Why is Setting Mark shortcut toggling language instead?

I just installed Emacs26 on my Windows 7 64-bit computer and whenever I try setting a mark ctrl + <space>, it toggles the Windows language settings instead. M-x set-mark-command works as ...
2
votes
2answers
119 views

Opening file with emacsclientw, file name contains non-latin characters

My first post here about Emacs. I've spent days trying to figure out answer before posting here. I'm running Emacs 26.1 on Windows 10. The setup that I'd like to have is running a single instance of ...
2
votes
1answer
109 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
2answers
130 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
1answer
111 views

How to access (remote) MS Windows shared directory or files in Emacs25 running on Ubuntu 18.04

My question has already been asked here. However, the solution provided there didn't work for me. Through Ubuntu "Files" I am able to access the samba share with smb://DOMAIN;USER@IP_ADDRESS/...
2
votes
1answer
66 views

Emacs on cygwin: How to open file/directory on windows share

With Emacs running on Windows (without cygwin) I am able to open a remote (windows share) directory with C-x C-f //IPADDRESS/d$ RET command. With Emacs on cygwin, I tried /smb:IPADDRESS:/d$$ RET. ...
2
votes
1answer
168 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
114 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
56 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
45 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
3answers
88 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
108 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
57 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
49 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
43 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 ...
1
vote
1answer
109 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 (...
3
votes
1answer
91 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 ...
1
vote
1answer
91 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 (...