[-- Attachment #1: Type: text/plain, Size: 105 bytes --] Aloha all, The attached patch changes a 404 link to the working link used on Worg. All the best, Tom [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Patch --] [-- Type: text/x-diff, Size: 1012 bytes --] From 31f340d80fdd01833e770d12806f0df165b88365 Mon Sep 17 00:00:00 2001 From: "Thomas S. Dye" <tsd@tsdye.online> Date: Sun, 24 Oct 2021 07:09:49 -1000 Subject: [PATCH] doc/org-manual.org: Fix link to Library of Babel --- doc/org-manual.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 6273ec90e..060fc0a44 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -18603,7 +18603,7 @@ can preview the results with the following command: The "Library of Babel" is a collection of code blocks. Like a function library, these code blocks can be called from other Org -files. A collection of useful code blocks is available on [[https://orgmode.org/worg/library-of-babel.html][Worg]]. For +files. A collection of useful code blocks is available on [[https://git.sr.ht/~bzg/worg/tree/master/item/library-of-babel.org][Worg]]. For remote code block evaluation syntax, see [[*Evaluating Code Blocks]]. #+kindex: C-c C-v i -- 2.25.1 [-- Attachment #3: Type: text/plain, Size: 46 bytes --] -- Thomas S. Dye https://tsdye.online/tsdye
[-- Attachment #1: Type: text/plain, Size: 381 bytes --] Hi Thomas, Thanks for catching this problem. To me this looks more like a problem with the worg publishing than an outdated link. I’ve cc’d Bastien as he’s much more familiar with the Worg publish process than I am. “Thomas S. Dye” <tsd@tsdye.online> writes: > The attached patch changes a 404 link to the working link used on Worg. All the best, Timothy
Hi Timothy and Thomas, Timothy <tecosaur@gmail.com> writes: > Thanks for catching this problem. To me this looks more like a > problem with the worg publishing than an outdated link. I’ve cc’d > Bastien as he’s much more familiar with the Worg publish process > than I am. You can check the output of Worg publishing process here: https://builds.sr.ht/~bzg/worg The latest build contains a line showing that library-of-babel.org does not export: https://builds.sr.ht/~bzg/job/627192#task-install-784 "Reference `fibs' not found in this buffer" Can someone have a look at this and fix the ref? Here is the relevant part of the .org file that does not export: https://git.sr.ht/~bzg/worg/tree/master/item/library-of-babel.org#L134 Thanks a lot, -- Bastien
[-- Attachment #1: Type: text/plain, Size: 610 bytes --] Hi Bastien, > You can check the output of Worg publishing process here: > > <https://builds.sr.ht/~bzg/worg> Ah cool, thanks for pointing that out. > The latest build contains a line showing that library-of-babel.org > does not export: > > <https://builds.sr.ht/~bzg/job/627192#task-install-784> > > “Reference `fibs’ not found in this buffer” > > Can someone have a look at this and fix the ref? I’ve just pushed b837a85 which just defines fibs using the content of the example block. This may not be the best fix long-term, but should make it work. All the best, Timothy
Aloha all, Timothy <tecosaur@gmail.com> writes: > Hi Bastien, > >> You can check the output of Worg publishing process here: >> >> <https://builds.sr.ht/~bzg/worg> > > Ah cool, thanks for pointing that out. > >> The latest build contains a line showing that >> library-of-babel.org >> does not export: >> >> <https://builds.sr.ht/~bzg/job/627192#task-install-784> >> >> “Reference `fibs’ not found in this buffer” >> >> Can someone have a look at this and fix the ref? > > I’ve just pushed b837a85 which just defines fibs using the > content of the > example block. This may not be the best fix long-term, but > should make it work. > > All the best, > Timothy Thanks for looking into this and identifying a problem. I checked this morning and I still get a 404 error when I follow the Worg link in section 16.12 of the Org mode manual at orgmode.org. Also, is there a reason to keep worg/org-contrib/babel/library-of-babel.org in addition to worg/library-of-babel.org? All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye
"Thomas S. Dye" <tsd@tsdye.online> writes:
> I checked this morning and I still get a 404 error when I follow the Worg link
> in section 16.12 of the Org mode manual at orgmode.org.
(sigh) I already fixed a 2nd issue, it looks like there's at least a
3rd...
--
Timothy
Timothy <tecosaur@gmail.com> writes: > "Thomas S. Dye" <tsd@tsdye.online> writes: > >> I checked this morning and I still get a 404 error when I >> follow the Worg link >> in section 16.12 of the Org mode manual at orgmode.org. > > (sigh) I already fixed a 2nd issue, it looks like there's at > least a > 3rd... FYI, the long link in my patch was taken from worg/org-contrib/babel/index.org. Whoever put it there (my git foo isn't up to finding out who) might have suspected your experience. Thanks for your work on this. All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye
Aloha all, Timothy <tecosaur@gmail.com> writes: > "Thomas S. Dye" <tsd@tsdye.online> writes: > >> I checked this morning and I still get a 404 error when I >> follow the Worg link >> in section 16.12 of the Org mode manual at orgmode.org. > > (sigh) I already fixed a 2nd issue, it looks like there's at > least a > 3rd... I still get the 404 error. After some thought, it occurs to me that it is likely a bad idea to make changes to library-of-babel.org, which just contains source code blocks that might prove useful to Babel users. Perhaps there is some way to indicate that this file just needs to be copied "as is" when Worg is published? Or, if not, then perhaps the patch with the ungainly, working URL might be applied to the manual? All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye