I was just refactoring my earlier patch based on Maxim's suggestions.
I attached it but it might be too late.
If the revision make you confused, please ignore it.
Anyway,
thank you for your reviewing, Maxim and Bastien.
Hi,
satotake writes:
> * lisp/org-refile.el (org-refile-get-targets): Ensure
> arg of `file-name-non' and `file-truename' is non-nil.
>
> If you set `org-refile-use-outline-path' `file' or `full-file-path',
> and call `org-refile' in the buffer before visiting file,
> errors are raised at these
issues that can be improved later since
they may require more changes than allowed for "TINYCHANGE".
On 14/05/2021 01:20, satotake wrote:
[PATCH] org-refile.el: Fix the case of emtpy buffer name
Buffer not associated with a file may be more precise since "*scratch*"
has
* lisp/org-refile.el (org-refile-get-targets): Ensure
arg of `file-name-non' and `file-truename' is non-nil.
If you set `org-refile-use-outline-path' `file' or `full-file-path',
and call `org-refile' in the buffer before visiting file,
errors are raised at these point. To fix them,
check if they a
I am very sorry but related tests failed with my previous patch.
I fixed it with this additinal patch.
Bests,
Takehsi SATO
* lisp/org-refile.el (org-refile-get-targets): Ensure
arg of `file-name-non' and `file-truename' is non-nil.
If you set `org-refile-use-outline-path' `file' or `full-file-path',
and call `org-refile' in the buffer before visiting file,
errors are raised at these point. To fix them,
check if they a
Dear Org maintainers,
I often use org-mode for note-taking and so on.
Sometimes, I would like to refile the headings in the scratch to other
org files while I am writing.
When I call `org-refile' in the buffer, Emacs throws errors on
`org-refile-get-targets' because, typically,
these buffers do n