summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.d/main.org18
1 files changed, 16 insertions, 2 deletions
diff --git a/init.d/main.org b/init.d/main.org
index 1b3ff88..fb471ab 100644
--- a/init.d/main.org
+++ b/init.d/main.org
@@ -382,8 +382,8 @@ Do not save auto-save files into the directory of the original
file (especially important for editing files via tramp).
#+begin_src emacs-lisp
- (setq auto-save-file-name-transforms
- `((".*" ,(alex/cache-file "auto-save-list/") t)))
+ (setq auto-save-file-name-transforms `((".*" ,(alex/cache-file "auto-save-list/") t))
+ auto-save-list-file-prefix (alex/cache-file "auto-save-list/.saves-"))
#+end_src
** Remove some annoyances
@@ -2045,6 +2045,20 @@ this function I disable helm.
(advice-add 'org-completing-read-no-i :around #'alex/run-without-helm)
#+end_src
+
+*** org-id
+
+org-id can create, save and find global unique ids for linking to org
+entries. I want to customize location of the file, that tracks the ids
+globally and enable the use of org-ids for creating of links.
+
+#+begin_src emacs-lisp
+ (use-package org-id
+ :init
+ (setq org-id-locations-file (alex/cache-file "org-id-locations")
+ org-id-link-to-org-use-id 't))
+#+end_src
+
** origami
Sometimes I want to fold some code sections. There are several mode