Hi Christian,

sorry for the messed-up link.

Please see the attached patch fixing this.

Thanks for pointing this out! And thanks Thomas for applying the patch.

Best regards,
Max

On 09.10.25 11:11, Christian Moe wrote:
Hi, Max (cc: Thomas),

Thanks for the documentation! And Thomas, thanks for applying it.

Max, I apologize for failing to review and apply your August patch; it's
my responsibility to make sure this happens, but I'm afraid some things
slipped under my radar while traveling. Anyway, thanks for the latest
version.

Right now the file fails to export due to a broken link in line 62:

   - =:nugetconfig= :: path to a custom /NuGet.config/ file to use for
     the code block. This is useful if you have a local *.nupkg or a feed
     different from [[nuget.org]] and want to use it in your source
     block.

The exporter assumes the link points to an Org file named nuget.org, not
to a web URL.

I'll fix this ASAP if you tell me what the link path to the indicated
NuGet feed should be (I'm not familiar with NuGet).

Yours,
Christian



Maximilian Kueffner <[email protected]> writes:

Hello,

a while back I merged the language support for C# to the org-mode
repository [1].

Immediately after that, I created a patch to synch the documentation
to worg [2].

This is not yet committed (thanks for pointing that out again Tom).
On top of that, I realized that I forgot to put it in the
"babel-languages" table. So, attached is a revised patch adding also
to said table. Consequently, this renders the patch mentioned earlier
[2] null and void.

And finally, I think it is then time to remove csharp from the
"contributed-languages" as discussed in the thread [1].

Please let me know if I missed something or similar.

Thank you and

Best regards,
Max


[1] see this message (and thread)
https://list.orgmode.org/[email protected]/T/#mf340cd666cde36db1c6c8541fb7587e99404e7b2
[2] the original patch to add csharp documentation to worg:
https://list.orgmode.org/[email protected]/T/#u

[2. text/plain; 
0001-org-doc-csharp.org-add-language-documentation-for-ob.patch]...
From 9f405963012e0e6dce11fa65f77260f65e5ceb38 Mon Sep 17 00:00:00 2001
From: Maximilian Kueffner <[email protected]>
Date: Thu, 9 Oct 2025 11:53:12 +0200
Subject: [PATCH] ob-doc-csharp.org: fix nuget.org link

---
 org-contrib/babel/languages/ob-doc-csharp.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-contrib/babel/languages/ob-doc-csharp.org 
b/org-contrib/babel/languages/ob-doc-csharp.org
index 42304277..519c65a2 100644
--- a/org-contrib/babel/languages/ob-doc-csharp.org
+++ b/org-contrib/babel/languages/ob-doc-csharp.org
@@ -61,7 +61,7 @@ You might want to reset some of these variables to their 
defaults in case you ne
 
 - =:main= :: defines whether or not to wrap the code block's content in a 
default ~void Main(string[] args)~ function. Anything other than ~"no"~ 
(including no =:main= argument at all) as a value for this argument will result 
in wrapping the code block in a ~Main~ function when expanding.
 
-- =:nugetconfig= :: path to a custom /NuGet.config/ file to use for the code 
block. This is useful if you have a local *.nupkg or a feed different from 
[[nuget.org]] and want to use it in your source block.
+- =:nugetconfig= :: path to a custom /NuGet.config/ file to use for the code 
block. This is useful if you have a local *.nupkg or a feed different from 
[[https://www.nuget.org/][nuget.org]] and want to use it in your source block.
 
 - =:framework= :: the 
[[https://learn.microsoft.com/en-us/dotnet/standard/frameworks][target 
framework]] of the code block. See ~org-babel-csharp-default-target-framework~ 
for permanent configuration of this.
 
-- 
2.49.0

Reply via email to