From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KEGlN9eHlmf9DgAAqHPOHw:P1 (envelope-from ) for ; Sun, 26 Jan 2025 19:07:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KEGlN9eHlmf9DgAAqHPOHw (envelope-from ) for ; Sun, 26 Jan 2025 20:07:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cBojId9K; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cBojId9K; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737918423; a=rsa-sha256; cv=none; b=YelkE+GDXLbCJGRX5gwxaRVF8Itx1GSWV3wd54XiP6c9SX+kgZlirdtOORk5NzpMselsIb CgwNX3ShikvPBrCuAjd5/UDvjVnnLFQxuknuKdiuncxcRKU3D16y7XsfcvBAraNzgiEs6V DN4qlm2FwQ+VRC2ccC7g2GDMn+BNKOlevic+gQGucPZlz8DE+SpkH8jHdwzA6n3RBCTIfH Tpzef33adoSe1V6RvPEBHgTQ4ZRO6dx5bccKkhX6NFVyDJMcBnp0xC86BpPv4jvT3NsHN5 aMPKHEtujCYolzUXhmbPR9PAgFmM0nmdDzi8Jg7I5hMuH8CO9kaO2vByrjd8eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737918423; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=kZQlaceJ1xxvlo0TUKBtFwYjplj1zzyP3bovAuFAu3w=; b=K7Em6X0sIicicHKtw5h4h6YXbxz+oE8Z8u05ciiLjH/rCRj8lXWFfa3PO5NXs63BnwZKzW ISe5q/t/0OBire8Ri42ZO3tJJ8INcM5rox1PewZwIHrQU90jf/ya0m0YPEwO/2jPUHXAbb qYFixvAD+pQfjfZTboSQgFXWHHghamE+v0lYj26NIXCi4BfY2czcYER1KfoM07w4Fl2A1I Pb4sTOKQNQe5s4wQRfBlwUam2QNieq12GMAl8iJYxuYglt/iNpSisXOR4dYfMiQaSAPoiQ fPy5KKqMmf2MQHX7yFsq6zk1If6Q+Dm+H6l3rey0XtVRKC3JZnkEovepW0uydg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 801EFA012A for ; Sun, 26 Jan 2025 20:07:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tc7xL-0002p2-CK; Sun, 26 Jan 2025 14:06:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tc7xI-0002op-MJ for emacs-orgmode@gnu.org; Sun, 26 Jan 2025 14:06:00 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tc7xG-0004Yu-QH for emacs-orgmode@gnu.org; Sun, 26 Jan 2025 14:06:00 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3862a921123so2440297f8f.3 for ; Sun, 26 Jan 2025 11:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737918357; x=1738523157; darn=gnu.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kZQlaceJ1xxvlo0TUKBtFwYjplj1zzyP3bovAuFAu3w=; b=cBojId9KmlbPkpPU8ZH+lDu3gjQjGr5m5oAe15aDFYaNjjrC9Jp8PI+2QavWLBkfMj EDpcpCXkpfIp4Qp+MbFqwU7NsrcWJtt9A2IZH5jPGu7frc5n7M3L4DxEj/dZT6kcMDr2 nriITwgA3xmNO2tiWj6B6mPvc7iR8RqtW8B7eQuo/6xQWV6PdoSIOvIVO4CJdeiyqpgn bEdfeh49BGc6KRQ7pEFcg2ur+S7ESb69+6ETJxbYlj4ikH35miNsVu3OLs8iw19NFmE4 gsNS1nTxtWQ4HFLkGGgJ+jn9QUzNigOVdEw9KnkTdfojhmSvdzxE5CLyjXGvmqGPYvRk FVwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737918357; x=1738523157; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kZQlaceJ1xxvlo0TUKBtFwYjplj1zzyP3bovAuFAu3w=; b=QhCk/L9Dm90fgC1/xKj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648a:0:b0:385:f349:fffb with SMTP id ffacd0b85a97d-38bf57bfba2mr36575288f8f.45.1737918356499; Sun, 26 Jan 2025 11:05:56 -0800 (PST) Received: from ?IPV6:2001:a61:1049:a401:a963:bc6f:4b19:a85? ([2001:a61:1049:a401:a963:bc6f:4b19:a85]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1144f6sm8731314f8f.0.2025.01.26.11.05.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Jan 2025 11:05:55 -0800 (PST) Message-ID: <9afcec0f-b392-4d22-8249-ffbd143db76d@gmail.com> Date: Sun, 26 Jan 2025 20:05:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Language support for C# in org-babel To: Ihor Radchenko Cc: Leo Butler , emacs-orgmode References: <87y0zn24bk.fsf@t14.reltub.ca> <7d0db99b-f926-42b1-a867-2b05e0224323@gmail.com> <878qrm33hi.fsf@localhost> Content-Language: en-US From: poverobuosodonati Autocrypt: addr=poverobuosodonati@gmail.com; keydata= xjMEZ4AfnhYJKwYBBAHaRw8BAQdAWO4Giy+pVabQk0IK2+M0bo7s8JaojSO4a037UxxKObTN MU1heGltaWxpYW4gS3VlZmZuZXIgPHBvdmVyb2J1b3NvZG9uYXRpQGdtYWlsLmNvbT7CmQQT FgoAQRYhBP19a1mALXGM34V4BtMUT65NAARRBQJngB+eAhsDBQkFo5qABQsJCAcCAiICBhUK CQgLAgQWAgMBAh4HAheAAAoJENMUT65NAARRlJkA/RXh9VE7mldQcwI3tQtROIvtEBztk5yG TOeJpsCbFU2UAQC+M0ttzGzf4RlKWufP2Toir5g2/Ip5gdZSxXrNPb2xDc44BGeAH54SCisG AQQBl1UBBQEBB0B0C2/xFef4WXiOFuvKc2osZA26GQ11OxTdKgjSATO2FgMBCAfCfgQYFgoA JhYhBP19a1mALXGM34V4BtMUT65NAARRBQJngB+eAhsMBQkFo5qAAAoJENMUT65NAARR1CYB AKtJG1dCiif0ISQ1lffk3RB8rpdm7GGkudAqGt605uckAP44J/HButkeFDs1MNoXkNiBpKPZ pbVNG2TUgqFlRWMEDQ== In-Reply-To: <878qrm33hi.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=poverobuosodonati@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.75 X-Spam-Score: -7.75 X-Migadu-Queue-Id: 801EFA012A X-Migadu-Scanner: mx10.migadu.com X-TUID: g1/06YPk5YUD Thank you so much for your input and guidance. I have put my "patch request" in a public repository. Please find it here https://codeberg.org/buoso/csharp-babel I've tried to document the incentive as well as the usage quite extensive. I would like to propose to merge this as a maintainer as I'd like to take care of this library in future. That is, of course, if you think it is a useful addition and legitimate proposal. I am very much looking forward to feedback on the code, the process in general, or anything beyond that. Thanks again and Best regards, Max On 07.01.25 19:04, Ihor Radchenko wrote: > Buoso Donati writes: > >> Are there any objections against me trying to upstream this addition? > C# is a popular language. I have no objections to adding it to the core. > >> ... I would go ahead and try to open a pull request following the >> guidelines from this documentation >> (https://orgmode.org/worg/org-contribute.html) if there are none. Or >> is there a better way/no need for it in the first place? > If you can, please do follow what is written in our contribution guide. > But feel free to ask us anything if you encounter difficulties. > You do not have to go through all the requirements alone. > >> In fact, I was most inspired by the existing ob-C.el and ob-java.el! >> From what I understand C# (in conjunction with csproj-files) is >> "different enough" from C/C++ and Java (I don't feel particularly >> comfortable judging the D language) that it somewhat makes sense to >> create an individual file integrating it (as opposed to increase the >> complexity with existing integrations). >> I will however consider this and re-evaluate my initial concept with >> your feedback. > Generally, it only makes sense to extend an existing library if there is > very significant code sharing. Otherwise, no need to complicate things. > > Also, before you proceed, note that there is ob-csharp in org-contrib > repository: > https://git.sr.ht/~bzg/org-contrib/tree/master/item/lisp/ob-csharp.el > It is very simplistic though. Just letting you know so that you are > aware. > > You do not need to reuse that file or anything like that - we *cannot* > use that file because its author did not sign copyright papers. (BTW, > you do need to do it - let me know if you need any assistance) > > After your future patch is accepted, we will likely remove ob-csharp > from org-contrib. Which means that you should name the new library > ob-csharp as well - it will serve as the replacement. >