From a49afab6580b630b81813438aaaab1a45df9fd5e Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Tue, 3 Dec 2019 12:24:32 +0100 Subject: [PATCH] fixed utf-8 bug in windows --- init.org | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/init.org b/init.org index a89432c..ee4678a 100644 --- a/init.org +++ b/init.org @@ -75,7 +75,6 @@ #+BEGIN_SRC emacs-lisp (defvar MY--PATH_USER_LOCAL (expand-file-name "~/.emacs.d/user-local/")) (defvar MY--PATH_USER_GLOBAL (expand-file-name "~/.emacs.d/user-global/")) - (defvar MY--PATH_ORG_FILES (expand-file-name "~/Archiv/Organisieren/")) (defvar MY--PATH_ORG_FILES_MOBILE (expand-file-name "~/Archiv/Organisieren/mobile/")) (defvar MY--PATH_ORG_JOURNAl (expand-file-name "~/Archiv/Organisieren/Journal/")) @@ -97,8 +96,8 @@ (set-keyboard-coding-system 'utf-8) (set-selection-coding-system 'utf-8) (if (eq system-type 'windows-nt) - (prefer-coding-system 'utf-8dos) - (prefer-coding-system 'utf-8)) + (prefer-coding-system 'utf-8-dos) + (prefer-coding-system 'utf-8)) (blink-cursor-mode -1) ;; turn off blinking cursor (show-paren-mode t) ;; show other part of brackets (column-number-mode t) @@ -106,13 +105,13 @@ (setq-default indent-tabs-mode nil) ;; avoid tabs in place of multiple spaces (they look bad in tex) (setq-default indicate-empty-lines t) ;; show empty lines (setq scroll-margin 5 ;; smooth scrolling - scroll-conservatively 10000 - scroll-preserve-screen-position 1 - scroll-step 1) + scroll-conservatively 10000 + scroll-preserve-screen-position 1 + scroll-step 1) (global-hl-line-mode t) ;; highlight current line -(menu-bar-mode 0) ;; disable menu bar -(tool-bar-mode 0) ;; disable tool bar -(scroll-bar-mode 0) ;; disable scroll bar + (menu-bar-mode 0) ;; disable menu bar + (tool-bar-mode 0) ;; disable tool bar + (scroll-bar-mode 0) ;; disable scroll bar #+END_SRC * visuals ** Font