Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Adding "Edit with Emacs" option to Windows context menu

$
0
0

I have followed this steps: https://www.emacswiki.org/emacs/MsWindowsGlobalContextMenu.

emacs-context-menu.reg:

Windows Registry Editor Version 5.00;; Be sure to set the correct path to Emacs on your system![HKEY_CURRENT_USER\Software\Classes\*\shell];; Open file in new frame[HKEY_CURRENT_USER\Software\Classes\*\shell\emacsopennewframe]@="&Emacs: Edit in new window""icon"="C:\\Program Files\\Emacs\\emacs-29.2\\bin\\emacsclientw.exe"[HKEY_CURRENT_USER\Software\Classes\*\shell\emacsopennewframe\command]@="C:\\Program Files\\Emacs\\emacs-29.2\\bin\\emacsclientw.exe -n --alternate-editor=\"C:\\Program Files\\Emacs\\emacs-29.2\\bin\\runemacs.exe\" -c \"%1\""

Once I run it, the option is added to the menu, but when I click it I get this error message:

Emacsclient ERRORC:\Program Files\Emacs\emacs-29.2\bin\emacsclientw.exe: error executing alternate editor "C:\Program Files\Emacs\emacs-29.2\bin\runemacs.exe"

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>