Re: [PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-15 Thread satotake
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.

Re: [PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-15 Thread 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

Re: [PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-14 Thread Maxim Nikulin
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

[PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-13 Thread satotake
* 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

[PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-09 Thread satotake
* 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