Open ahmed-shariff opened 3 years ago
Thanks, I'll look into this.
as a temporary fix I have the following edit in org-ql-view:
(defun org-ql-view--complete-buffers-files ()
"Return value for `org-ql-view-buffers-files' using completion."
(cl-labels ((initial-input
() (when org-ql-view-buffers-files
(cons (car (org-ql-view--contract-buffers-files
org-ql-view-buffers-files))
0))))
....
Retargeting this for 0.7. 0.6 has been delayed for too long.
I'm afraid I need to defer this again. Apologies that I haven't made time to review this fully yet. With the limited time I have, I often have to prioritize features that I need myself, and this hasn't affected me much yet. In the meantime, features I do need are ready to be tagged for release.
For future reference: These issues/PRs are a part of this overall feature:
Also, @ahmed-shariff: I'm still hoping to upstream org-ql
into org.git eventually. Work toward that might start sometime next year. That will mean, of course, having to assign copyright to the FSF. Have you signed the FSF CA for Emacs? If not, can you do so for the sake of these changes? Thanks.
I understand.
I am glad to know org-ql could become part of org, that's exciting. I have not signed the FSF. Correct me if I am wrong - I have to follow this: https://git.savannah.gnu.org/cgit/gnulib.git/plain/doc/Copyright/request-assign.future right?
I have to clarify a few things with my employer(s)/school. Once clarified I'll sign them.
Ahmed Shariff @.***> writes:
... Correct me if I am wrong - I have to follow this: https://git.savannah.gnu.org/cgit/gnulib.git/plain/doc/Copyright/request-assign.future right?
Yes. Also, see https://orgmode.org/worg/org-contribute.html#copyright
-- 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
The initial-input in the
org-ql-view--expand-buffers-files
is causing an issue with completing-read. When I try theC-u r
command fromorg-ql-view
:The
initial-input
label referred above returns a list with only one string. But according to the docs, it is expected to be a cons of the form(string . position)
. I initially noticed this with selectum, where selectrum is operating under the assumption that thecdr
of the initial-input is a number, which is what is causing the issue. Also, according to the docs, this feature is deprecated?