diff options
author | Case Duckworth | 2020-10-27 13:42:25 -0500 |
---|---|---|
committer | Case Duckworth | 2020-10-27 13:42:25 -0500 |
commit | 7e28b729c99c07ce5a24f44dcc4e832939774747 (patch) | |
tree | dae41489a4b9a020fc52d370c92d3d654b3bc998 | |
parent | Don't load init.el after tangling (diff) | |
download | emacs-7e28b729c99c07ce5a24f44dcc4e832939774747.tar.gz emacs-7e28b729c99c07ce5a24f44dcc4e832939774747.zip |
Try to fix utf-8 handling
copy-pasting from Windows still doesn't work properly.
-rw-r--r-- | config.org | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config.org b/config.org index a655267..66aa26b 100644 --- a/config.org +++ b/config.org | |||
@@ -133,13 +133,16 @@ I don't like the customize interface, but I still sometimes use it when I'm not | |||
133 | #+END_SRC | 133 | #+END_SRC |
134 | ** Encoding | 134 | ** Encoding |
135 | #+BEGIN_SRC emacs-lisp | 135 | #+BEGIN_SRC emacs-lisp |
136 | (set-charset-priority 'unicode) | 136 | (prefer-coding-system 'utf-8-unix) |
137 | (set-language-environment "UTF-8") | 137 | (set-default-coding-systems 'utf-8-unix) |
138 | (set-default-coding-systems 'utf-8) | 138 | (set-terminal-coding-system 'utf-8-unix) |
139 | (set-terminal-coding-system 'utf-8) | 139 | (set-keyboard-coding-system 'utf-8-unix) |
140 | (set-keyboard-coding-system 'utf-8) | 140 | (set-selection-coding-system 'utf-8-unix) |
141 | (set-selection-coding-system 'utf-8) | 141 | (set-file-name-coding-system 'utf-8-unix) |
142 | (prefer-coding-system 'utf-8) | 142 | (set-clipboard-coding-system 'utf-8-unix) |
143 | (set-buffer-file-coding-system 'utf-8-unix) | ||
144 | (cuss locale-coding-system 'utf-8) | ||
145 | (cuss x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) | ||
143 | #+END_SRC | 146 | #+END_SRC |
144 | ** Recent files | 147 | ** Recent files |
145 | #+BEGIN_SRC emacs-lisp | 148 | #+BEGIN_SRC emacs-lisp |