I have `org-refile-use-outline-path` set to t, expecting that when refiling, 
the filename should not appear in the list. However, because I am opening an 
org file using a symblink and I have `find-file-visit-truename` set to `t`, the 
test

`(not (equal filename (nth 1 x)))`

in `org-refile-get-location` always fails and the filename is displayed even 
when the current buffer and `(nth 1 x)` point to the same file. If I replace 
this condition by

`(not (equal (file-truename filename) (file-truename (nth 1 x))))`

The filename is not added to the list of refile targets as I would expect.

-- Al

--
Emacs  : GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.5.0, Carbon Version 
169 AppKit 2299.6)
 of 2023-09-09
Package: Org mode version 9.7-pre (release_9.6.29-1443-gb4d17c)


Reply via email to