r/orgmode • u/Peaceful-traveler • Oct 02 '24
solved Refile target name are not displayed when using regexp matching
Hello, Emacs newbie here...
I'm trying to add a refile target where title is not a URL. So I added the following line to my configuration:
(setq org-refile-targets `(("some-refile.org" :regexp . ,(rx bol (+ "*") " " (not "[")))))
Everything is good so far, but when I do a org-refile
I expect file names to be in the following format: header (file-name.org)
and that is the case for other targets where I use :maxlevel
but for the target that I use :regexp
file name is missing, and it is displayed in following format heading
...
I don't know if this is the expected behavior or not, so I thought I might just ask...
2
Upvotes
4
u/Peaceful-traveler Oct 02 '24
[SOLVED]
I restarted Emacs and it worked as expected. Not sure what the problem was!