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

Re: [O] Library of Babel confusion

2018-04-11 Thread Thomas S. Dye
Aloha Lawrence, You probably want (org-babel-lob-ingest 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-variables not

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

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

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

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)

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

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"

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

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

[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

Re: [O] library of babel ingest interferes with noweb

2017-09-16 Thread edgar
On 2017-09-14 21:26, Nicolas Goaziou wrote: I have #+BEGIN_EXAMPLE <> #+END_EXAMPLE However, it seems wrong to have #+BEGIN_EXAMPLE a=2 #+END_EXAMPLE because you no longer know what part you are editing. Ooops, I should have said that I did C-c C-v v

Re: [O] Library of Babel

2017-09-15 Thread Charles Millar
On 09/15/17 19:15, Kyle Meyer wrote: Charles Millar writes: On 09/14/17 09:47, Nicolas Goaziou wrote: Hello, Charles Millar writes: First. Should Sections 14.5 and 14.6 of the manual need revision since lob has been moved to Worg? Or at least a

Re: [O] Library of Babel

2017-09-15 Thread Kyle Meyer
Charles Millar writes: > On 09/14/17 09:47, Nicolas Goaziou wrote: >> Hello, >> >> Charles Millar writes: >> >>> First. Should Sections 14.5 and 14.6 of the manual need revision since >>> lob has been moved to Worg? Or at least a reference to Worg site

Re: [O] Library of Babel

2017-09-15 Thread Charles Millar
On 09/14/17 09:47, Nicolas Goaziou wrote: Hello, Charles Millar writes: First. Should Sections 14.5 and 14.6 of the manual need revision since lob has been moved to Worg? Or at least a reference to Worg site be inserted. Indeed. Would you want to provide a patch for

Re: [O] library of babel ingest interferes with noweb

2017-09-14 Thread Nicolas Goaziou
Hello, ed...@openmail.cc writes: > Hello, > > It seems that when I have two blocks of code with noweb, and then I do > a babel ingest, I don't get my original result (see attached file). > [...] > * This works > #+NAME: test1 > #+BEGIN_SRC bash > a=2 > #+END_SRC > > #+NAME: test2 >

[O] library of babel ingest interferes with noweb

2017-09-14 Thread edgar
Hello, It seems that when I have two blocks of code with noweb, and then I do a babel ingest, I don't get my original result (see attached file). Is there a reason for this? Is this a bug? Thanks. - ONLY AT VFEmail! - Use our Metadata

Re: [O] Library of Babel

2017-09-14 Thread Nicolas Goaziou
Hello, Charles Millar writes: > First. Should Sections 14.5 and 14.6 of the manual need revision since > lob has been moved to Worg? Or at least a reference to Worg site be > inserted. Indeed. Would you want to provide a patch for that? > Second: Am I correct that

[O] Library of Babel

2017-09-09 Thread Charles Millar
First. Should Sections 14.5 and 14.6 of the manual need revision since lob has been moved to Worg? Or at least a reference to Worg site be inserted. Second: Am I correct that ob-lob.el has not been removed so that I can ingest my own source code blocks into, e.g. some/directory/cm-lob?

Re: [O] library-of-babel location

2015-08-04 Thread Bastien Guerry
Hi Charles, Charles Millar mill...@verizon.net writes: From the org manual 14.6 Library of Babel * * * * The central repository of code blocks in the “Library of Babel” is housed in an Org mode file located in the ‘contrib’ directory of Org mode. However (at least in my case,

[O] library-of-babel location

2015-08-04 Thread Charles Millar
From the org manual 14.6 Library of Babel * * * * The central repository of code blocks in the “Library of Babel” is housed in an Org mode file located in the ‘contrib’ directory of Org mode. However (at least in my case, Org-mode version 8.2.10 and also Org-mode version 8.3beta

Re: [O] library of babel call blocks not invoked on buffer/subtree execute

2011-11-09 Thread Eric Schulte
Frankel, Rick (CA-CIB) rick.fran...@ca-cib.com writes: There is a bug (?) with #+call block: They are not executed on export/ invocation of org-babel-execute buffer. There are a couple of reasons for this: 1. org-babel-src-block-regexp, used in org-babel-map-src-blocks does not

Re: [O] Library of Babel function

2011-08-28 Thread Eric Schulte
Hi Tom, This sounds great, would you mind submitting this as a patch to the library-of-babel.org file in the git repository, with some included usage instructions in the same subtree as the code block? Thanks! -- Eric t...@tsdye.com (Thomas S. Dye) writes: Hi Eric, The booktabs-notes

[O] Library of Babel function

2011-08-27 Thread Thomas S. Dye
Hi Eric, The booktabs-notes function, below, is based on the booktabs function in the library of Babel. It takes a second table and adds it to the bottom of the main table. I use it to add multicolumn footnotes to the bottom of the table. There is also a switch that adds a linespace between