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
0answers
8 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

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
36 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
24 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
15 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
90 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
39 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
56 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
18 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
91 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
63 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
21 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
28 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
34 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
156 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
75 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
18 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
48 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
81 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
16 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
69 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
369 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
1answer
44 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
1answer
33 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 ...
0
votes
1answer
38 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") (...
0
votes
1answer
140 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
1answer
97 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
1answer
47 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
1answer
151 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:...
0
votes
0answers
47 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 ...
0
votes
0answers
37 views

Using find-name-dired on ms-windows in spacmacs not linking to full filename when using C-c l for org-store-link

How to get link to file when using find-name-dired on MS-Windows? I am using MS-Windows and spacemacs. I am use org mode files to manage information. I also have a directories with many reference ...
0
votes
0answers
82 views

How to set up emms under Windows?

I'm trying to set up emms under Windows, but without luck so far. I've told emms to use the VLC player in the follwing way. (if (eq system-type 'windows-nt) (setq emms-player-vlc-command-...
1
vote
1answer
77 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/...
1
vote
0answers
191 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 ...
1
vote
3answers
95 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
0answers
39 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 ...
1
vote
1answer
290 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
38 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 ...
1
vote
1answer
90 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
21 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
0answers
258 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
65 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
130 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
63 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
2answers
1k 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
140 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
98 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
111 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
2 3 4 5
7