Re: [O] Library of Babel confusion

2018-04-11 Thread Thomas S. Dye
Aloha Lawrence, Lawrence Bottorff writes: I'll try that, Thomas, but this was set up by simply doing the on-board customize, i.e., it needs to have this corrected. So how do I request this correction? There are instructions here: https://orgmode.org/org.html#Feedback You'll need to indica

Re: [O] Library of Babel confusion

2018-04-11 Thread Thomas S. Dye
Aloha Lawrence, You probably want (org-babel-lob-ingest &optional FILE) All the best, Tom Lawrence Bottorff writes: Thanks for the help. However, one mystery still remains: Why is this '(org-babel-lob-files (quote ("~/org/worg/library-of-babel.org"))) in my init.el's custom-set-variabl

Re: [O] Library of Babel confusion

2018-04-11 Thread Berry, Charles
> On Apr 11, 2018, at 6:29 AM, Lawrence Bottorff wrote: > > I'll try that, Thomas, but this was set up by simply doing the on-board > customize, i.e., it needs to have this corrected. So how do I request this > correction? The idiom Tom gave you is correct. There are no variables for you to

Re: [O] Library of Babel confusion

2018-04-11 Thread Lawrence Bottorff
I'll try that, Thomas, but this was set up by simply doing the on-board customize, i.e., it needs to have this corrected. So how do I request this correction? On Tue, Apr 10, 2018 at 3:26 PM, Thomas S. Dye wrote: > Aloha Lawrence, > > You probably want (org-babel-lob-ingest &optional FILE) > > A

Re: [O] Library of Babel confusion

2018-04-10 Thread Lawrence Bottorff
Thanks for the help. However, one mystery still remains: Why is this '(org-babel-lob-files (quote ("~/org/worg/library-of-babel.org"))) in my init.el's custom-set-variables not getting handled? I always have to do an org-babel-lob-ingest to actually get library-of-babel.org loaded. On Fri, Apr

Re: [O] Library of Babel confusion

2018-04-06 Thread Berry, Charles
> On Apr 6, 2018, at 4:59 PM, Thomas S. Dye wrote: > [Tom's response covering the main issues deleted] > hth, > Tom > > Lawrence Bottorff writes: > >> I guess I need more information. For example, what is C-c C-v v doing >> exactly? Then C-x C-e? And M-x (symbol-function 'myelsquare) doesn

Re: [O] Library of Babel confusion

2018-04-06 Thread Thomas S. Dye
Aloha Lawrence, #+name: myelsquare #+header: :var x=0 #+begin_src emacs-lisp :var x=0 (defun myelsquare (x) (* x x)) #+end_src #+RESULTS: myelsquare : myelsquare Assuming myelsquare has been evaluated: #+name: eval-myelsquare #+header: :var y=2 #+BEGIN_SRC emacs-lisp (myelsquare y) #+END_S

Re: [O] Library of Babel confusion

2018-04-06 Thread Lawrence Bottorff
I guess I need more information. For example, what is C-c C-v v doing exactly? Then C-x C-e? And M-x (symbol-function 'myelsquare) doesn't work. Again, #+name: myelsquare #+header: :var x=0 #+begin_src emacs-lisp :var x=0 (defun myelsquare (x) (* x x)) #+end_src is Lisp code where the last

Re: [O] Library of Babel confusion

2018-04-04 Thread Lawrence Bottorff
The docs have this example: #+name: square #+header: :var x=0 #+begin_src python return x*x #+end_src #+call: square(x=6) ...so yes, "return", but with (defun myelsquare (x) (* x x)) isn't the final thing evaluated what is "returned" w

Re: [O] Library of Babel confusion

2018-04-04 Thread Nicolas Goaziou
Lawrence Bottorff writes: > I've been trying to grok LOB again. So I've cloned the worg git and > library-of-babel.el is one of the files. org-babel-lob-injest didn't > work, What doesn't work? You call `org-babel-lob-ingest', specify a file, and it stores all source code blocks in the file for

Re: [O] Library of Babel confusion

2018-04-03 Thread Berry, Charles
> On Apr 3, 2018, at 1:31 PM, Lawrence Bottorff wrote: > > I've been trying to grok LOB again. So I've cloned the worg git and > library-of-babel.el is one of the files. org-babel-lob-injest didn't work, Try M-x org-babel-lob-ingest RET org/worg/library-of-babel.org RET Don't be a jester,

[O] Library of Babel confusion

2018-04-03 Thread Lawrence Bottorff
I've been trying to grok LOB again. So I've cloned the worg git and library-of-babel.el is one of the files. org-babel-lob-injest didn't work, so I customized org-babel-lob-files and inserted .../worg/library-of-babel.el . . . and it did in fact get added to my init.el under the custom-set-variable