summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-10-28 12:29:47 +0200
committeryuzu-eva <stevenhu@web.de>2023-10-28 12:29:47 +0200
commitf9ba4d0aad9487ffbea9f5d5b173ceed70f4cddc (patch)
tree8da8261f3d1e651ff9717a07982c23ba733e4a60 /config.org
parentebb45524a7188adbdf48a1dab6595ff07295141e (diff)
change: reactivated file backups and auto saves, changed where backups are saved
Diffstat (limited to 'config.org')
-rw-r--r--config.org12
1 files changed, 9 insertions, 3 deletions
diff --git a/config.org b/config.org
index deba8fb..5a0e250 100644
--- a/config.org
+++ b/config.org
@@ -43,10 +43,9 @@ Some quality-of-life improvements
(scroll-bar-mode -1)
#+end_src
-*** Disable automatic creation of backup files
+*** Change directory where backups are saved
#+begin_src emacs-lisp
- (setq make-backup-files nil)
- (setq auto-save-default nil)
+ (setq backup-directory-alist '(("." . "~/.emacs.d/emacs_saves")))
#+end_src
*** Disable ring-bell
@@ -196,6 +195,8 @@ ibuffer on "C-x b"
*** Moving around brackets
+Thanks to [[http://xahlee.info][Xah Lee]] for this code.
+
#+begin_src emacs-lisp
(defvar xah-brackets '("“”" "()" "[]" "{}" "<>" "<>" "()" "[]" "{}" "⦅⦆" "〚〛" "⦃⦄" "‹›" "«»" "「」" "〈〉" "《》" "【】" "〔〕" "⦗⦘" "『』" "〖〗" "〘〙" "「」" "⟦⟧" "⟨⟩" "⟪⟫" "⟮⟯" "⟬⟭" "⌈⌉" "⌊⌋" "⦇⦈" "⦉⦊" "❛❜" "❝❞" "❨❩" "❪❫" "❴❵" "❬❭" "❮❯" "❰❱" "❲❳" "〈〉" "⦑⦒" "⧼⧽" "﹙﹚" "﹛﹜" "﹝﹞" "⁽⁾" "₍₎" "⦋⦌" "⦍⦎" "⦏⦐" "⁅⁆" "⸢⸣" "⸤⸥" "⟅⟆" "⦓⦔" "⦕⦖" "⸦⸧" "⸨⸩" "⦅⦆")
"A list of strings, each element is a string of 2 chars, the left bracket and a matching right bracket.
@@ -345,6 +346,11 @@ My preferred org-mode defaults
* Custom functions
** Toggle transparency
+
+Something happened between emacs 28 and 29 that this needs to be toggled twice
+for the first time. After that, it toggles as expected. Will try to fix this
+when I find the time to do so.
+
#+begin_src emacs-lisp
(defun toggle-transparency()
(interactive)