From 1de831dcc27d93954b6fd19305453c6a57cf06ee Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Sat, 17 Jun 2023 16:24:26 +0200 Subject: [PATCH] fixed auto-fill indent nonsense once and for ever, phew! --- lisp/init-indentation.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/init-indentation.el b/lisp/init-indentation.el index 249bbd5..1a0c9ad 100644 --- a/lisp/init-indentation.el +++ b/lisp/init-indentation.el @@ -18,7 +18,12 @@ ;; FIXME: also check [[https://github.com/glasserc/ethan-wspace][ethan-wspace]] ! -(setq indent-line-function 'insert-tab) +;; TODO: check for side effects when disabling this. Currently it +;; disturbs auto-fill in fundamental-mode, see also: +;; https://superuser.com/a/641778 +;;; (setq indent-line-function 'insert-tab) + + (setq tab-stop-list (quote (4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120))) (setq tab-always-indent 'complete) ; FIXME: doesnt work in cperl-mode (setq show-trailing-whitespace t)