Emacs - setting column mode to be always on

How do you turn on column-number-mode permanently in emacs?


Solution 1:

$ echo '(setq column-number-mode t)' >>~/.emacs

If you prefer menu-based customization, select Options > Show/Hide > Column Numbers, then Options > Save Options. (This might vary depending on Emacs version.)