emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [patch] Fix link to Library of Babel
@ 2021-10-24 17:20 Thomas S. Dye
  2021-11-21  7:04 ` Dodgy Worg publishing? (was: [patch] Fix link to Library of Babel) Timothy
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas S. Dye @ 2021-10-24 17:20 UTC (permalink / raw)
  To: orgmode

[-- 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Dodgy Worg publishing? (was: [patch] Fix link to Library of Babel)
  2021-10-24 17:20 [patch] Fix link to Library of Babel Thomas S. Dye
@ 2021-11-21  7:04 ` Timothy
  2021-11-22  5:11   ` Dodgy Worg publishing? Bastien Guerry
  0 siblings, 1 reply; 8+ messages in thread
From: Timothy @ 2021-11-21  7:04 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Bastien, emacs-orgmode

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Dodgy Worg publishing?
  2021-11-21  7:04 ` Dodgy Worg publishing? (was: [patch] Fix link to Library of Babel) Timothy
@ 2021-11-22  5:11   ` Bastien Guerry
  2021-11-22  5:46     ` Timothy
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien Guerry @ 2021-11-22  5:11 UTC (permalink / raw)
  To: Timothy; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Dodgy Worg publishing?
  2021-11-22  5:11   ` Dodgy Worg publishing? Bastien Guerry
@ 2021-11-22  5:46     ` Timothy
  2021-11-22 17:28       ` Thomas S. Dye
  0 siblings, 1 reply; 8+ messages in thread
From: Timothy @ 2021-11-22  5:46 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Dodgy Worg publishing?
  2021-11-22  5:46     ` Timothy
@ 2021-11-22 17:28       ` Thomas S. Dye
  2021-11-22 18:10         ` Worg's library-of-babel.org (was: Dodgy Worg publishing?) Timothy
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas S. Dye @ 2021-11-22 17:28 UTC (permalink / raw)
  To: Timothy; +Cc: Bastien Guerry, emacs-orgmode

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Worg's library-of-babel.org (was: Dodgy Worg publishing?)
  2021-11-22 17:28       ` Thomas S. Dye
@ 2021-11-22 18:10         ` Timothy
  2021-11-22 18:49           ` Thomas S. Dye
  2021-12-06  4:47           ` Thomas S. Dye
  0 siblings, 2 replies; 8+ messages in thread
From: Timothy @ 2021-11-22 18:10 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Bastien Guerry, emacs-orgmode


"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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Worg's library-of-babel.org (was: Dodgy Worg publishing?)
  2021-11-22 18:10         ` Worg's library-of-babel.org (was: Dodgy Worg publishing?) Timothy
@ 2021-11-22 18:49           ` Thomas S. Dye
  2021-12-06  4:47           ` Thomas S. Dye
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas S. Dye @ 2021-11-22 18:49 UTC (permalink / raw)
  To: Timothy; +Cc: Bastien Guerry, emacs-orgmode


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Worg's library-of-babel.org (was: Dodgy Worg publishing?)
  2021-11-22 18:10         ` Worg's library-of-babel.org (was: Dodgy Worg publishing?) Timothy
  2021-11-22 18:49           ` Thomas S. Dye
@ 2021-12-06  4:47           ` Thomas S. Dye
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas S. Dye @ 2021-12-06  4:47 UTC (permalink / raw)
  To: Timothy; +Cc: Bastien Guerry, emacs-orgmode

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-12-06  4:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-24 17:20 [patch] Fix link to Library of Babel Thomas S. Dye
2021-11-21  7:04 ` Dodgy Worg publishing? (was: [patch] Fix link to Library of Babel) Timothy
2021-11-22  5:11   ` Dodgy Worg publishing? Bastien Guerry
2021-11-22  5:46     ` Timothy
2021-11-22 17:28       ` Thomas S. Dye
2021-11-22 18:10         ` Worg's library-of-babel.org (was: Dodgy Worg publishing?) Timothy
2021-11-22 18:49           ` Thomas S. Dye
2021-12-06  4:47           ` Thomas S. Dye

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).