summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2021-01-02 15:20:13 +0100
committerfpi2022-03-17 14:37:55 +0100
commitd76076020b849ffc2c0fdf2cd67b55269aa8ae99 (patch)
tree2888f767836302c63f17cbc839e7933d1f060d9b
parentAdd symlinks for gnus state files (diff)
Add bbdb symlink
-rw-r--r--emacs-init.org8
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org
index c19d02a..84e6840 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -66,11 +66,13 @@ This files contains all the elisp code normally placed in the .emacs
file. It and the =init.el= file are then symlinked to my =~/.emacs.d/=
directory. Instead of symlinking the files could also be directly
tangled to =~/.emacs.d/=.
-#+BEGIN_SRC shell :results silent :tangle tangle/symlink.sh :shebang "#!/bin/bash"
+#+BEGIN_SRC shell :results silent :tangle tangle/symlink.sh :shebang "#!/bin/bash" :noweb yes
ln -siv $(pwd)/emacs-init.org ~/.emacs.d/
ln -siv $(pwd)/tangle/emacs-init.el ~/.emacs.d/
+ln -siv $(pwd)/tangle/init-exwm.el ~/.emacs.d/
ln -siv $(pwd)/emacs-private.el.gpg ~/.emacs.d/
ln -siv $(pwd)/tangle/init.el ~/.emacs.d/
+<<symlinks>>
#+END_SRC
An often seen setup is to use ~org-babel-load-file~ in =init.el= to
@@ -5287,6 +5289,10 @@ For now I use this bad code.
(lambda ()
(define-key gnus-summary-mode-map (kbd ";") 'bbdb-mua-edit-field)))
#+end_src
+To synchronize the database across devices I symlink it to my central synchronization directory:
+#+begin_src shell :noweb-ref symlinks :tangle no
+ln -siv ~/sync/bbdb/bbdb ~/.emacs.d/1
+#+end_src
** Compile
Fix ansi colors in compile buffers. From [[https://endlessparentheses.com/ansi-colors-in-the-compilation-buffer-output.html][endlessparentheses]].
#+begin_src emacs-lisp