Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use file-truename to resolve symbolic links (jrblevin#81)
A change initiated from org-roam/org-roam#518 causes org-roam to only store files by their resolved symbolic link value. Testcase: 0. Create a symbolic link from '/path/to/real/roam/dir' to '/easy/path' 1. Configure org-roam to use '/easy/path' 2. Update the roam index, it will store files with '/path/to/real/roam/dir' 3. point deft to '/easy/path' (setq deft-recursive t) (setq deft-use-filter-string-for-filename t) (setq deft-default-extension "org") (setq deft-directory "/easy/path/" ) 4. open a file using deft. The result will be that it is opened using /easy/path and roam will not be able to resolve it. Using `fie-truename` will actually expand the symbolic link, opening it with /path/to/real/roam/dir. I can understand if this breaks other things, so perhaps a flag is more appropriate. What do you think?
- Loading branch information