From a94d51020fae12566c2e6924f8daa3e4e92cba68 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 28 Apr 2022 12:03:07 -0400 Subject: [PATCH] ENH finally fix undo mishaps (maybe) --- etc/conf.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/etc/conf.org b/etc/conf.org index 717b930..e134089 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -28,6 +28,7 @@ This is my personal emacs config. It is quite massive. Please use the table of c - [[#autosave][autosave]] - [[#async][async]] - [[#file-io][file IO]] + - [[#undo][undo]] - [[#editing][editing]] - [[#standardization][standardization]] - [[#auto-completion][auto completion]] @@ -747,7 +748,16 @@ Emacs will warn user when opening a file over a certain limit. Raise this to 1GB #+begin_src emacs-lisp (setq large-file-warning-threshold 1000000000) #+end_src - +** undo +:PROPERTIES: +:CREATED: [2022-04-28 Thu 12:00] +:ID: 407e6b89-fd3b-4205-81a2-636c1d82bf5d +:END: +Memory is cheap (kinda). Keep more undo entries to make up for the fact that I don't commit enough. +#+begin_src emacs-lisp +(setq undo-limit 1600000 + undo-strong-limit 2400000) +#+end_src * editing For options that specifically affect programming or editing modes ** standardization