.dir-locals.el
Table of Contents
.dir-locals.el holds directory local variables/bindings. With it you can have all files under that directory to have special variable values, such as “for all files under ~/org-roam, their frame title would include ”roam“”
((nil . ((indent-tabs-mode . t) (fill-column . 80) (mode . auto-fill))) (c-mode . ((c-file-style . "BSD") (subdirs . nil))) ("src/imported" . ((nil . ((change-log-default-name . "ChangeLog.local"))))))
1. trusting .dir-locals.el variables
(add-to-list 'safe-local-variable-values '(var . value)) ;; a specific value (put 'var 'safe-local-variable #'stringp) ;; a varialbe that is of string type
2. project root
((nil . ((obsidian-specify-path (locate-dominating-file default-directory ".dir-locals.el"))
)))
3. links
Backlinks
zettelkasten activity report
(2024 > 04 - April >
)in 04/03/24 to 04/04/24, created 14 nodes
- works to copy
- .dir-locals.el
- emacs async
- injection and projection
- alist
- zenity dialog box
- multiple server in one bash script
- emacs in batch
- Tag and link: Gate and corridor
- Burger, Benjamin and Maffettone, Phillip M. and Gusev, Vladimir V. and Aitchison, Catherine M. and Bai, Yang and Wang, Xiaoyan and Li, Xiaobo and Alston, Ben M. and Li, Buyi and Clowes, Rob and Rankin, Nicola and Harris, Brandon and Sprick, Reiner Sebastian and Cooper, Andrew I. ::: A Mobile Robotic Chemist
- zettelkasten softwares
- activity watch
- custom activity watch rules set
- 2-level simulation
emacs
Emacs is an editor featuring:
- an interactive elisp runtime that also controls the editor behaviour
- extensibility such that software code and user code are effectly the same language with the same privillage
- lots and lots of extension packages
- convenient keybinding system and command search
- org-mode
- doom emacs
- emacs allow primitive programming
- emacs follow-mode
- emacs themes
- emacs dash
- python notebook in emacs org-mode
- emacs tip: manual async
- selecting multiple item from completion in emacs
- .dir-locals.el
- emacs in batch
- emacs async
- wonderful emacs packages