Important Windows Environment Variables

December 25, 2018 1 minute

PowerShell and Git encoding problems

To make git log command output properly display on Windows, we need to set a variable named LC_ALL:


Incorrect home folder in Emacs

This problem is not only about Emacs. If you try to find a file from HOME variable, you may need to define the variable first:

;; place all backup files in one directory
(setq backup-directory-alist `((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t)))
(setq default-directory (concat (getenv "HOME") "/Workspace"))


Take a look at the other posts about my Windows development environment.