Using emacs on MS Windows 10

[TBA]

Table of contents

Introduction

The .emacs configuration file

On Windows 10, the .emacs configuration file is “Appdata\Roaming\.emacs” below your home directory. The “Appdata” folder is normally hidden, but you can use cd to visit it.

To test that it is being read, put the following line it it:

(setq inhibit-startup-screen t) 

By default, emacs opens with a split window. After adding this to .emacs, it will just open with the file you opened for editing.

To make utf-8 the default, put this in .emacs:

(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-language-environment 'utf-8)
(set-selection-coding-system 'utf-8)

Source: johndcook.com.

Final word

[TBA]


Last update: 2020-05-16 [gh].