Emacs on Windows
Installation
List the Emacs installation on Windows platform.
Native Emacs
VirtualBox with Emacs
Dockerized Emacs
Cygwin/MinGW with Emacs
Chololatey Software
choco install emacs
Unix Utilities
Formatter
Right now, I’m using Steve Purcell’s reformatter with Prettier and shfmt.
- Prettier: YAML, CSS/Less/SCSS
- shfmt: Shell script
Some Options
- https://github.com/purcell/emacs-reformatter
- https://github.com/lassik/emacs-format-all-the-code
- Based on Prettier
Install Prettier
- Follow this guide to install portable Node.js
- Globally install Prettier using
npm install -g prettier
Read More
- https://emacs-china.org/t/reformatter/8239
- https://erick.navarro.io/blog/creating-an-emacs-formatter-the-easy-way/
- https://levelup.gitconnected.com/how-to-format-all-files-in-a-directory-with-prettier-5f0ff5f4ffb2
Encryption
Shell/Term
Debug
If you do M-x toggle-debug-on-error
, you should get a backtrace that might show
where the error is occurring.
Read more
- https://www.gnu.org/software/emacs/manual/html%5Fmono/efaq-w32.html#Other-useful-ports
- https://www.emacswiki.org/emacs/EmacsMsWindowsIntegration
- http://ergoemacs.org/emacs/emacs%5Fenv%5Fvar%5Fpaths.html
- https://emacs.stackexchange.com/questions/27326/gui-emacs-sets-the-exec-path-only-from-windows-environment-variable-but-not-from