[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)] |
Date: |
Mon, 17 Jun 2024 17:26:53 +0000 |
Al Haji-Ali <abdo.haji.ali@gmail.com> writes:
> 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.
Makes sense.
May you prepare a patch with the proposed change?
See https://orgmode.org/worg/org-contribute.html#first-patch
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Al Haji-Ali, 2024/06/17
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)],
Ihor Radchenko <=
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Al Haji-Ali, 2024/06/17
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Ihor Radchenko, 2024/06/18
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Al Haji-Ali, 2024/06/18
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Ihor Radchenko, 2024/06/19
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Al Haji-Ali, 2024/06/20
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Ihor Radchenko, 2024/06/20
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Al Haji-Ali, 2024/06/20
- Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)], Ihor Radchenko, 2024/06/20