zkk / Emacs from scratch - System Crafters



Emacs from scratch - System Crafters

1. The Basics of Emacs Configuration

1.1 emacs configuration file

2. basic configurations

Emacs configuration file is written in Elisp programming language. E(macs)lisp language belongs to the lisp programming language category.

Emacs configuration file is all about:

2.1 setting variable value

(setq inhibit-startup-message t)

To evaluate a function:

2.2 Tunrinig mode on or off

Setting mode on or off is all about set the variable with a positive or negative value, conventionally is to set -1 to disable or 1 to enable.

(tool-bar-mode -1)
(scroll-bar-mode -1)
(menu-bar-mode -1)

2.3 Load themes

(load-theme 'deeper-blue t)

Basically setting true the variable related to said theme. The symbol ' before the variable tell Emacs Please do not evalute the following.

2.4 Some key-bindings

2.5 Copy/cut and paste

2.6 Getting help

Pressing C-h v or C-h f with coursor over a function or variable the default action is to show description of said variable/function.