From 805d90971ebeef3258067bdb3456a394854dfd86 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 29 Nov 2024 17:35:45 +0200 Subject: . --- home/dots/.emacs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'home') diff --git a/home/dots/.emacs b/home/dots/.emacs index f3d4167..c56c028 100644 --- a/home/dots/.emacs +++ b/home/dots/.emacs @@ -135,6 +135,12 @@ (use-package emacs :init + (set-language-environment 'utf-8) + (set-terminal-coding-system 'utf-8) + (set-keyboard-coding-system 'utf-8) + (set-selection-coding-system 'utf-8) + (prefer-coding-system 'utf-8) + (fset 'yes-or-no-p 'y-or-n-p) (menu-bar-mode -1) (tool-bar-mode -1) @@ -150,6 +156,8 @@ (line-spacing . 0.5))) (undo-limit 10000000) (undo-outer-limit 20000000) + (locale-coding-system 'utf-8) + (buffer-file-coding-system 'utf-8-unix) (create-lockfiles nil) (idle-update-delay 1.0) (custom-safe-themes @@ -189,6 +197,10 @@ (window-resize-pixelwise nil) (resize-mini-windows 'grow-only) (fast-but-imprecise-scrolling t) + (scroll-step 1) + (scroll-conservatively 100000) + (scroll-preserve-screen-position 1) + (scroll-margin 0) (blink-cursor-mode -1) (x-stretch-cursor t) (tab-always-indent 'complete) -- cgit v1.2.3