Re: testing org-bbdb-anniversaries

2020-02-22 Thread Bastien
Hi Andrès, andrés ramírez writes: > Perhaps something about it on the help? > > (defun org-bbdb-anniversaries () > "Extract anniversaries from BBDB for display in the agenda > In case of calling programatically. Like most diary-related stuff, it > expects the > `date' variable to be globa

Re: Survey: changing a few default settings for Org 9.4

2020-02-22 Thread Bastien
Hi, Archenoth writes: > The tab key is extremely easy to hit, and having a fully formed block > created by typing a short string of characters makes the > tab-completion lizard-part of my brain happy in a way that key chord > combos simply don't. You say it better than I did - I will see if I c

Re: Survey: changing a few default settings for Org 9.4

2020-02-22 Thread Nicolas Goaziou
Hello, Bastien writes: > Archenoth writes: > >> The tab key is extremely easy to hit, and having a fully formed block >> created by typing a short string of characters makes the >> tab-completion lizard-part of my brain happy in a way that key chord >> combos simply don't. > > You say it better

Re: attachment: link type export to HTML invalid attach dir

2020-02-22 Thread Nicolas Goaziou
Hello, Bastien writes: > Thanks a lot -- feel free to apply it when you think it's okay. I'd like to hear from Gustav, too, since this affects the changes he introduced. If you are in a hurry, we can also apply it. Up to you. > Also, perhaps can you or Gustav suggest a way to test the new feat

Re: Survey: changing a few default settings for Org 9.4

2020-02-22 Thread Bastien
Hi, Nicolas Goaziou writes: > In this case, a strong argument against it is: there is already a > template mechanism available out of the box, why would we provide > two of them? I bet most users of the <* completion mechanism provided by org-tempo don't even notice it is a "template" mechanism

Re: attachment: link type export to HTML invalid attach dir

2020-02-22 Thread Bastien
Hi, Thanks for your answer. Nicolas Goaziou writes: > I'd like to hear from Gustav, too, since this affects the changes he > introduced. If you are in a hurry, we can also apply it. Up to you. I just applied it - Gustav let us know if it fits your needs and if it does not introduce regressions

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-22 Thread Bastien
Hi Nick and Jack, thanks for your thoughtful inputs. I've now removed the option. I agree we should have a discussion on whether :results value is a good default. But I think this needs previous work on documenting what is the actual behavior of the main Babel libraries wrt "value" vs "output".

Re: [PATCH] Fix ob-python.el initiate session error with py-shell

2020-02-22 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi all, > > in future releases of Org, we will move toward stricter rules on what > to accept as ob-* libraries and what modes these libraries should rely > upon. > > This was briefly mentioned in this email: > https://lists.gnu.

Limiting properties and property values

2020-02-22 Thread Vikas Rawal
Dear all, I have two queries regarding use of properties in org mode. 1. Is it possible to restrict the sub-tree of a headline to have only properties specified in the column property of the parent? That is, no additional property can be specified. 2. Is it possible to limit the allowed values o

ob-prolog is sick. . .

2020-02-22 Thread Lawrence Bottorff
. . . can some nice doctor (with elisp skills beyond my laughable ones) make a house call? The repo here has an outstanding *issue* you can read. Also, if you run the .org test file, it hangs after a few of the simpler tests. I think they're related. The original

Re: Make ob-python.el support ":results pp" pretty print result

2020-02-22 Thread Jack Kamm
Hi stardiviner, stardiviner writes: > I found ob-python does not support ":results pp" pretty print result. And > Python > has a module "pprint". What about add support this? ":results pp" works for me, here's an example: > #+begin_src python :results pp > return globals() > #+end_src > >

Re: Survey: changing a few default settings for Org 9.4

2020-02-22 Thread Archenoth
Oh yeah, I agree that it's redundant--and that's why I was more just advocating for the functionality it provided rather than for the module itself. It's just a piece of functionality that a lot of people seem to use and enjoy, and if there were a way to keep it without holding onto a second templ

Re: How to display overlay or propertize text on file: link type about the file?

2020-02-22 Thread John Kitchin
I think you are looking for the :activate-func property of a link. What you want is somewhat tricky though, how would you edit the link? There is an example at https://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org-9/#org069cbfa that might give you some ideas. You can use a '

Exploring properties

2020-02-22 Thread Vikas Rawal
I don't know if I have missed something obvious. But I am trying to read all the properties data (key-value pairs) into an R source code block (essentially to gather into a data.frame before further processing). I thought properties would be a neat way to put together a small database, and then pr

Re: How to display overlay or propertize text on file: link type about the file?

2020-02-22 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John Kitchin writes: > I think you are looking for the :activate-func property of a link. What > you want is somewhat tricky though, how would you edit the link? > > There is an example at > https://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-l

[SOLVED] Re: [Question] adding document global properties drawer

2020-02-22 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This problem has gone, I don't know what config caused this problem. I recently modify some config of Org Mode. Anyway, it's good news. Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I found I can add property with name input name