summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-11-23 13:41:23 -0600
committerCase Duckworth2020-11-23 13:41:23 -0600
commit3d195120e9cf01b4544d02176711b56ecd48f8eb (patch)
tree0f88efb22bd5174f5cd9ac6c41cb063355012098
parentSet miscellaneous settings (diff)
downloademacs-3d195120e9cf01b4544d02176711b56ecd48f8eb.tar.gz
emacs-3d195120e9cf01b4544d02176711b56ecd48f8eb.zip
Set default file encodings
This requires more research.
-rw-r--r--config.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index 14ef1cd..0d8324d 100644 --- a/config.org +++ b/config.org
@@ -511,6 +511,22 @@ By default, Emacs loads themes on top of each other. I don't want that, so let'
511 511
512* General editing 512* General editing
513 513
514** File encoding
515
516I'm going to be honest -- most of this is a stab in the dark.
517
518#+begin_src emacs-lisp
519 (prefer-coding-system 'utf-8-unix)
520 (set-default-coding-systems 'utf-8-unix)
521 (set-terminal-coding-system 'utf-8-unix)
522 (set-keyboard-coding-system 'utf-8-unix)
523 (set-selection-coding-system 'utf-8-unix)
524 (set-file-name-coding-system 'utf-8-unix)
525 (set-clipboard-coding-system 'utf-8-unix)
526 (set-buffer-file-coding-system 'utf-8-unix)
527 (cuss locale-coding-system 'utf-8-unix)
528 (cuss x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
529#+end_src
514** Undo 530** Undo
515 531
516#+begin_src emacs-lisp 532#+begin_src emacs-lisp