Questions tagged [microsoft-windows]
Questions relating to the use and configuration of Emacs on the proprietary Microsoft Windows Operating System.
415
questions
5
votes
2
answers
3k
views
GPG No Public Key
Emacs gives a error about not finding a GPG key.
The Error
Failed to verify signature archive-contents.sig:
No public key for 066DAFCB81E42C40 created at 2020-08-22T21:05:02+0000 using RSA
Command ...
1
vote
1
answer
151
views
Start Process Not Working: Process List Claims Process Started but Process UI not shown
Start Process is not working when starting GUI application in WSL on Windows 10 Pro.
I am calling Start Process as follows.
(start-process
"yekneb-exec-2" nil
"/mnt/c/WINDOWS/explorer....
0
votes
1
answer
295
views
Is the GPG signature of Emacs 26.3 still valid?
I was trying to install Emacs on my Windows 8.1 machine (thus WSL is not an option). I downloaded the file from a mirror (emacs-26.3-x86_64.zip), along with his signature (emacs-26.3-x86_64.zip.sig). ...
1
vote
0
answers
593
views
Flymake stopped working with elpy...no idea what I did or didn't do [Windows]
I installed elpy, along with jedi, rope and got it to work briefly yesterday after uninstalling python and reinstalling it with anaconda and setting the environment variable to path. I tinkered around ...
0
votes
1
answer
249
views
Emacs install folder vs .emacs.d vs .emacs/.emacs~ confusion [Windows 10]
I've recently run into complications regarding elpy and setting up virtual environments (see other questions) which have brought me back to a more fundamental issue that I must resolve before I ...
3
votes
1
answer
3k
views
Elpy Configuration...Setting Up a Virtual Environment and Pip Conflic with Conda? Need hand holding
Full disclosure: I installed anaconda and set it to the path variable. After I did this I was able to access elpy-config which I was not able to (see my prior question). I still pretty much have no ...
0
votes
2
answers
259
views
Xref / xref-find-refernces / Windows 7 does not work
I'm struggling with Xref M-? finding references to symbols (C-code).
It doesn't work for (e)tags nor for any symbol even in the buffered file.
The Xref window/buffer with results is not opened instead ...
0
votes
1
answer
288
views
How to find a file recursively on Microsoft Windows with findutils (gnu find) installed?
I'm trying to find file recursively from default-directory with helm-find (C-x c /). It works out of box in linux.
I tried setting find-program like (I have git bash installed)
(setq find-program &...
0
votes
0
answers
174
views
Setting up Emacs as an external editor on windows 10
Apologies if this has been asked multiple times already, haven't found a useful answer.
I am trying to use Emacs as an external editor on two separate applications in windows 10, one is a notes app (...
2
votes
1
answer
368
views
Process shell exited abnormally with code 53 on windows 10
I'm using emacs 26.2 installed through msys2.
Recently starting subprocesses from emacs has stopped working for me. Specifically M-x shell and shell-command-to-string.
I get the feeling this is due to ...
5
votes
2
answers
1k
views
Where is `personal dictionary` for `ispell` located?
C-h v ispell-personal-dictionary shows nil. Its docstring says:
Documentation:
File name of your personal spelling dictionary, or nil.
If nil, the default personal dictionary for your spelling ...
1
vote
0
answers
48
views
Two versions of Emacs on MS Windows: change the default "emacs" binding in the MS Windows shell
I have got two versions of Emacs on my Windows 10 laptop: Emacs 25.3.1 (x86_64-w64-mingw32) and Emacs 26.1 (build 1, x86_64-w64-mingw32). I would like the windows shell to run the 26.1 version by ...
0
votes
0
answers
568
views
Drag and drop a file to org buffer to insert a link to this file
On Windows it is possible to create a link holding the Meta (Alt) key while dragging a file.
Is it possible to create a link to a file when it is dragged from an Explorer over to emacs holding the ...
0
votes
1
answer
362
views
emacs -nw standard input is not a tty on ConEmu and Mintty
On my Windows XP machine I use Emacs-25.2.1. During web app development I use ConEmu version 191012 and I need to use Emacs at the command line. When I enter emacs -nw on ConEmu, it says
emacs: ...
4
votes
2
answers
2k
views
async-shell-command: run COMMAND without displaying the output
I want to use async-shell-command to run a .bat file on Windows.
Reading the function documentation it says:
(defun async-shell-command (command &optional output-buffer error-buffer)
"Execute ...
0
votes
2
answers
523
views
mu4e (gnus) MS safelinks decoder
Today I got scared after noticing how many Microsoft ATP Safelinks had made their way into my org-mode calendar file. Therefore, is it possible to create a URL decoder to bypass Microsoft Safelinks ...
2
votes
1
answer
855
views
Changing HOME directory only for Emacs (on Windows 7)
Due to the COVID19, I am working from home via VPN. The HOME directory is set to a directory on the company network. Other applications use this directory as well.
I would like to have Emacs use ...
1
vote
1
answer
29
views
How can I refer to the system default (Windows) proportional font?
Let's say I want to write a package which uses proportional font. But I don't want to hardcode a specific font, because the user may not have it installed.
How can I refer to the system default ...
1
vote
1
answer
526
views
Org (and org-capture) uses English for calendar dates, no matter what I do
The problem:
When I use org-capture to write on my journal, it writes the month as April and the day as Friday. But everything in my system is in Portuguese, so it should be "abril" for the month, ...
2
votes
1
answer
327
views
Cannot change cursor type on Windows 10
I've used emacs on Windows 10 for a year. Recently, my "box" cursor in emacs has become a thin vertical line.
I have tried setting the variable "cursor-type", but this no longer seems to have any ...
1
vote
1
answer
103
views
Emacs on Windows sets DISPLAY to w32
I stumbled upon the fact that Emacs on Windows sets the environment variable DISPLAY to w32 (if the variable is not already set). This causes problems for example with OpenSSH.
What is the use case ...
2
votes
1
answer
124
views
Converting init file on Mac/Linux to Windows
I use a package called Deft that needs a directory to store and load files. To define this directory on Mac or GNU/Linux I use the following expression:
(setq deft-directory "~/Dropbox/org")
When ...
2
votes
1
answer
791
views
Experience with WSL as underlying shell (esp. with Texlive) for native win-x64 Emacs
I've been using MinGW compiled native windows 64-bit Emacs for a while, and I paired it with Cygwin to use especially Texlive, as well as other common linux and shell programs and commands.
I am ...
2
votes
0
answers
524
views
Is it possible to override the column width in Emacs?
I'm using graphical GNU Emacs 26.3 on Windows.
At least on Windows, Emacs determines column width by looking at the AveCharWidth field in the font's OS/2 table. As the name suggests, this field ...
0
votes
0
answers
340
views
Emacs font style and colorisation
I am used to Emacs under Windows 10 and trying to switch to Ubuntu.
My Windows 10 Emacs font is M-x describe-font:
name (opened by): -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-...
0
votes
1
answer
187
views
Can you generate a tags table for CMD scripting?
I am working on an elaborate script for Windows using CMD.EXE scripting.
It walks a tree of files and folders and uses our specialized file transfer program to send the tree to a remote location. ...
1
vote
0
answers
44
views
Can Dired (or Dired+) detect symlinks in Windows?
Can Dired(+) be made to show symlinks in Windows?
A picture is worth a thousand words:
0
votes
0
answers
93
views
Emacs on Windows with a GameCube controller for note taking
I'm running out of desk space and can't fit both my textbook and my keyboard on my desk when I need to take notes. It doesn't hurt my wrists to keep a controller in my lap and I have a fair amount of ...
0
votes
1
answer
316
views
Creating ctag DB gives "permission denied" error on git-bash (MS Windows)
I am a Linux user (world was pretty neat; less to no headache)-- I've been using vim with cscope to wade through huge code-base....... And for some reason, now I have to use windows machine, here are ...
1
vote
1
answer
2k
views
Failed to update packages getting error "gnutls-error #<process elpa.gnu.org> -50" on Windows 10
When I run package-refresh-contents after running toggle-debug-on-error I get the following backtrace:
Debugger entered--Lisp error: (gnutls-error #<process elpa.gnu.org> -50)
signal(gnutls-...
0
votes
1
answer
108
views
Retrieve past command from Emacs history using first letter of command
In Vim I could retrieve past commands by typing :<first-letter-of-command>↑ . If my Vim command history is:-
colorscheme +
source %
shell
set spell
colorscheme?
bp
term
Typing :s↑ directly ...
1
vote
1
answer
48
views
Remove the suffix `^M` when run ls in org src
When run ls to print the file list
#+begin_src ipython :session sql :results output
! ls | head -n 5
#+end_src
#+RESULTS:
: create.txt^M
: Lesson 10. Grouping Data.md^M
: Lesson 11. Working with ...
1
vote
1
answer
134
views
el-get Basic Setup (https://github.com/dimitri/el-get) : error: Unable to find 'git'
Start Emacs from gitbash (MINGW64)
Snippet below is loaded automatically:
; add el-get to the load path, and install it if it doesn't exist
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(...
3
votes
1
answer
1k
views
How to fix the error "Executable "zip" needed for creating OpenDocument files" when exporting Org mode document to OpenOffice?
When I try to export an Org mode document to OpenOffice Document format, I get the following error:
This answer suggested to use 7zip. So I
installed 7zip,
copied 7z.exe and renamed the copy to zip....
0
votes
1
answer
827
views
set-frame-size does not work on emacsclient
I have set up Emacs daemon on Windows 10. My Emacs version is GNU Emacs 25.3.1
I have some code in my init.el which resizes the frame size automatically when Emacs starts up. The code is
;; Select a ...
1
vote
1
answer
254
views
emacsclientw does not use font specified in init.el (Windows)
Emacs version: GNU Emacs 25.3.1 (x86_64-w64-mingw32)
I have set up a shell-script which runs Emacs server at Windows startup as mentioned in Emacs Wiki. I have set up a shortcut on my desktop which I ...
0
votes
1
answer
867
views
How to solve GPG problem on Windows 10?
I'm having problem with GPG on emacs. It keeps saying
Failed to verify signature archive-contents.sig:
No public key for [some_weird_code_here] created at [date_here] using RSA Command output:
gpg:...
2
votes
0
answers
252
views
Emacs on Windows randomly stops recognizing the Caps Lock state
I'm running GNU Emacs 26.1 on Windows 10, with minimal customizations (custom shortcuts and command names, theme, (ido-mode 'buffers).). At the start of the session, the Caps Lock state is recognized ...
1
vote
1
answer
121
views
Extra carriage-return on magit path
I'm having a little trouble with magit and the default-directory variable.
When calling M-x magit-status, an exception is thrown - Setting current directory: No such file or directory, /path/to/git/...
6
votes
0
answers
797
views
Org-indent with variable-pitch-mode and visual-line-mode indenting lines after the first too far on windows
On my windows machine, org-indent or visual-line-mode seems to be indenting wrapped lines further than it should. It almost seems like it is double-indenting them, as the extra indentation seems to ...
3
votes
3
answers
991
views
Emacs displays some characters as squares
For example this: 𝔱𝔢𝔰𝔱
Emacs displays it like this:
I have noticed this just after a Windows update this morning (now version is 1903). I remember it was working well a few days ago. I tried ...
1
vote
0
answers
118
views
C-< and C-, keys are echoed as C-\ in no-window mode
I'm trying to edit multiple lines with multiple-cursors package. MC package has C-< keybinding but when I do C-< (Control+less-than sign) it is echoed as C-\ (Control+backslash).
I don't know ...
3
votes
1
answer
1k
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
1
answer
96
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 ...
4
votes
1
answer
509
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
0
answers
36
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 "(...
2
votes
0
answers
511
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
0
answers
112
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 ...
1
vote
1
answer
354
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 ...
2
votes
2
answers
4k
views
Running Anaconda Python within emacs on Windows
Oct. 2021 update: I am at my wit's end over this. Still Windows 10, official GNU emacs 27.2. Anaconda installed in c:\users\[username]\Anaconda3. No venv's, I just use the base conda environment. ...