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
2
votes
1answer
19 views

How to update emacs on MS Windows?

I have installed emacs 2-3 years ago. The version I'm using now is 25.2.1. I want to update it to the latest version, which is 27.1. I uninstalled it and then installed again to no avail, it is the ...
1
vote
1answer
44 views

Can I use Right Alt/Ctrl Keys as Alt/Super/Hyper modifier keys of Emacs in Windows 10?

I noticed that I've rarely used Right Control Key and Right Alt Key in my keyboard, so I'm wondering if I can use them as Alt/Super/Hyper modifier key in Emacs. Is such a thing possible in Windows 10? ...
1
vote
0answers
100 views

Is there a gccemacs (native-comp) build for MS-Windows?

I use the official binaries (28.0.50 prerelease) for MS Windows. I am using gccemacs on my home Linux machines, and feel like native-comp on Windows would be really useful for me at work. However, I ...
0
votes
0answers
10 views

Presenting part of the buffer in alternative way with editing capabilities and background recoding/validation?

Windows .reg files are almost human readable. Because some types require binary encoding, like: "Name"=hex(2):54,00,65,00,6d,00,70,00,6f,00,72,00,61,00,72,00,79,00,20,00,53,\ 00,65,00,74,...
0
votes
0answers
37 views

How to run a keyboard macro (saved in my init.el) automatically when Emacs starts up?

I have saved a keyboard macro in my init.el file as follows (fset 'remember-notes-my-macro (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-...
0
votes
0answers
35 views

Emacs 27 Win 10 with WSL2 in org-mode, #+BEGIN_SRC bash, block appending \r newline character

Windows 10, now has WSL2, which enables one to use linux bash shell. I have Ubuntu 20.04 installed as my default linux distribution in WSL. What can I do to tell org-babel, in a src code block, what ...
0
votes
1answer
25 views

fresh install of Doom on Windows brings up a blank (white) scratch buffer and nothing more

Like it says on the box - I get the "doom loaded such and such packages on startup", but I don't get the home screen, and none of the keybindings etc. Just a white scratch buffer window with ...
1
vote
2answers
37 views

how to open a network folder in dired?

Unfortunately, I'm stuck on Windows. I have a network folder under this PC. Is there a way to navigate into it with dired without mounting it as another drive?
0
votes
0answers
26 views

TTY Emacs from within Windows 10 - garbage appears when switching windows

Due to severe limitations at work I'm forced to run TTY Emacs on a remote Unix server via SSH (launched from Git Bash console under Windows 10... don't ask...). I got my dev environment mostly in ...
0
votes
0answers
14 views

Help required wrt. lsp-mode with gopls on Windows natively without WSL

I am currently running Emacs 27.1 on Windows 10. I am using lsp-mode with gopls with Go installed natively (without WSL). I am running into issues setting it up. Specifically, I am running into: https:...
1
vote
0answers
18 views

Is the Hyper modifier key usable on non-X11 platforms?

I have a hyper modifier setup, however I was wondering if it's possible to use this on any windowing systems besides X11, for example: macOS Wayland Win32 The terminal.
0
votes
0answers
25 views

Emacs on Windows. Dired - no sorting. Unrecognized symbols

Set up Doom Emacs on windows. Works fine but in Dired i have unrecognized symbols and also in org-capture. Sorting in dired does not work either. Any ideas? Latest Emacs.
0
votes
0answers
24 views

How to make sure that Markdown files are opened in Emacs (like normal files) and not in an external application?

I have openwith installed in my Emacs. I use it to open spreadsheets, PDF, and other files in their respective external applications. Recently I had an Org mode file with the following content: * [[...
0
votes
1answer
23 views

echo $(echo $HOM) in eshell of win10 platform get void function reported

I am working on emacs-27.1 of windows 10. PS C:\Users\gaowei> emacs.exe --version GNU Emacs 27.1 Within the eshell, I tried: ~/.doom.d [master] λ which echo eshell/echo is a compiled Lisp function ...
3
votes
1answer
147 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 ...
0
votes
1answer
37 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
1answer
78 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). ...
0
votes
0answers
46 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
1answer
83 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 ...
1
vote
1answer
185 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
0answers
85 views

Trouble installing elpy (totally newb to both emacs and programming)

I'm having trouble fully installing elpy. I supposedly installed it using emacs' GUI as you can see here. I tried testing whether it works or not by trying to run Eratosthenes's sieve algorithm as ...
0
votes
2answers
55 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
0answers
25 views

Do I really have no fixed-width fonts installed?

In trying to debug a font issue in Emacs 26.3 on Windows 10, I ran the following, in the *scratch* buffer: (defun font-existsp (font) (if (null (x-list-fonts font)) nil t)) font-existsp (...
0
votes
0answers
36 views

Emax64 trying to install already installed pdf-tools on every startup

I am using the emax64 build of Emacs for Windows x86-64 systems. However, it tries to install pdf-tools on every startup, even though it is already installed. How to turn this off? -*- mode: ...
0
votes
1answer
39 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
0answers
38 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 (...
1
vote
1answer
61 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 ...
1
vote
1answer
108 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
0answers
15 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
0answers
79 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
1answer
58 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: ...
0
votes
0answers
17 views

Is it possible to run a wxpython app within Emacs?

I'm definitely transitioning to Emacs. But I can't manage to run within Emacs (vanilla on Windows 10) a simple script using wxpython: -*- coding: utf-8 -*- """Quick test for emacs and wxpython""" ...
0
votes
2answers
143 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 ...
0
votes
0answers
49 views

Unable to create a new commit using Magit on Windows

trying to commit using "M-x magit-status" followed by "c c", keep getting the following: 1 git.exe … "commit" "--" Aborting commit due to empty commit message. sh -c 'printf WITH-EDITOR:: $$: No such ...
1
vote
1answer
203 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
1answer
19 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 ...
0
votes
1answer
204 views

EMACS mode for Microsoft Word

Every time I move to a new Microsoft Word installation, I spend 10-20 minutes setting up all of the various keybindings. This time would probably be better spent creating a Microsoft-word plug-in that ...
1
vote
1answer
106 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, ...
1
vote
1answer
49 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
1answer
32 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 ...
1
vote
1answer
41 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 ...
0
votes
1answer
296 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
0answers
126 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
0answers
29 views

Windows emoji input compatibility with emacs (i.e. emojify)

Windows has a way to input emoji by using Win+. or Win+;. However Emacs interprets them with mixed results, more often than not entering spaces or garbage characters. Is there a way to make this way ...
0
votes
0answers
66 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
1answer
94 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
0answers
19 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
0answers
68 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
1answer
92 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
1answer
538 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-...

1
2 3 4 5
7