1

I wanted to configure my emacs settings, so as it is said in emacsWIKI I edited .emacs.d/init.el (the file didn't exist so I created a new one).

In the file I wrote:

(setq tab-width 4) ;; For changing identation to four spaces.
(defvaralias 'c-basic-offset 'tab-width) ;; For applying the changed identation to C files.
(global-display-line-numbers-mode) ;; For showing absolute line numbers.
(setq column-number-mode t) ;; For showing column numbers.

However, although I changed the identation to 4 spaces emacs writes 8. (The other two lines work instead).

Do you know what this is due to?

I followed this guide

nega
  • 2,526
  • 20
  • 25

0 Answers0