Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-14 Thread Nicolas Goaziou
Hello, stardiviner writes: > I attached the new patch. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Add a test for Babel src block languages and header arguments. > > Thank you. Glad this test is simple to write and passed. > >> I'm wandering how to complete header argument values? Do you have any >> hints? > > You can use,

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > Add a test for Babel src block languages and header arguments. Thank you. > I'm wandering how to complete header argument values? Do you have any > hints? You can use, again, `org-babel-common-header-args-w-values' for some parameters. However, most of them

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-13 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Subject: [PATCH] org-pcomplete.el: improve header arguments completion > > Thank you. Some comments follow. > >> - (while (pcomplete-here >> - '("-n" "-r" "-l" >> -":cache" ":colnames" ":comments" ":dir" ":eval"

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-12 Thread Nicolas Goaziou
Hello, stardiviner writes: > Subject: [PATCH] org-pcomplete.el: improve header arguments completion Thank you. Some comments follow. > - (while (pcomplete-here > - '("-n" "-r" "-l" > - ":cache" ":colnames" ":comments" ":dir" ":eval" ":exports" > - ":file" ":hlines"

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-12 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I found Org Mode's completion (from ~completion-at-point-functions~ which is >> provided by ~pcomplete-completions-at-point~) can complete in bellowing >> places >> (the "|" represent cursor point): > > [...] > >> So I think Org

Re: [RFC] Let Org Mode's completion support all Babel header arguments

2020-05-10 Thread Nicolas Goaziou
Hello, stardiviner writes: > I found Org Mode's completion (from ~completion-at-point-functions~ which is > provided by ~pcomplete-completions-at-point~) can complete in bellowing places > (the "|" represent cursor point): [...] > So I think Org Mode need an union API to manage those

[RFC] Let Org Mode's completion support all Babel header arguments

2020-05-09 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I found Org Mode's completion (from ~completion-at-point-functions~ which is provided by ~pcomplete-completions-at-point~) can complete in bellowing places (the "|" represent cursor point): #+begin_src pyt| #+end_src #+begin_src python :ses|