From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0MI3A+5GfGebuQAAqHPOHw:P1 (envelope-from ) for ; Mon, 06 Jan 2025 21:11:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0MI3A+5GfGebuQAAqHPOHw (envelope-from ) for ; Mon, 06 Jan 2025 22:11:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="bABo45q/"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736197870; 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; bh=5vuxHZ3raW2ztjoKCuj9LEWKfq2BGO3JaBQYH1o5ULM=; b=CHkyLBq73TRn0vI55Lt0NrgmEFuD7wiGMkmGaVNcsBi3VyLMylzOW5yGChHw9ioBMlUP9V Igcepcb+yetG0kEQFTdeyTQ4EqOSgKcB1ooHJFhB1UpZcE6r6v4Erj6xcKJVTX9h0vsGMZ gh9VVCN4/iB8B9caC3DbvYlloSvXhi2Kzy11aGP3RCk6hwKX6DpmnEvuyB0//Wdl5eaczU IXP2j9QlLmygUAMOs6R3wsVNouDzKN/Sya8z0VRao+nCGsI25FGIN5RN+ILrVw1iWDfC7v Gehkc7681mn7YnygCpEcipiFU5pFojS98xhtb19MoSPSoJoV4xHNnF7h+lRI8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="bABo45q/"; 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=1736197870; a=rsa-sha256; cv=none; b=ZJkPGdG98sB38pxGJVfcmPya5cSZXtkFZLF7JcAG3KTtZUYdt1Z3ZbhyHIQ4PopHGhnoan qQsoZOJLUNtsloUSdd3T0/PnHjee/I8GqkficpJIewdYwEAO+kbDyeGyeblISR3Pmu9CKa g4bCplb2THLWqXpqpUIDwVEqlaVS7dzmOH0tIq9SDBDh+hYo8MtpY9tBPlT8yjZBKsfB7z KHkkUtW6X2JD7CRdG+v+VFSj+E43u2x25oaot9FFutxqqDK9HwPuvMCosAGgMsXYbaKlDr XNk8/V9KCS8eXn8sHUYJyPH/5vCYO5HJBb+8Zj/eYaibuv0/g90uvSUZhgrHwg== 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 B67CA469BE for ; Mon, 06 Jan 2025 22:11:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUuMT-0005tA-JH; Mon, 06 Jan 2025 16:10:09 -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 1tUuMQ-0005sW-Gm for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 16:10:06 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUuMO-0001tP-Mi for emacs-orgmode@gnu.org; Mon, 06 Jan 2025 16:10:06 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3862d161947so7062545f8f.3 for ; Mon, 06 Jan 2025 13:10:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736197803; x=1736802603; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5vuxHZ3raW2ztjoKCuj9LEWKfq2BGO3JaBQYH1o5ULM=; b=bABo45q/YE7/r42hZZ7wQvbsU8hhiIYqOula+48ApnxIsWF+Mwb/RiWbEPzJOIcLoz JniMV+jURZwIaY0/YTtoeK6tTKIv3971pwRj0f4soeKuBTqayBihIg3F+b6rLeYEXyvs 8ZkOV2DIwcrefHbuahMwrLJldpmYGtpr+1N98AVAx9mknk47uHekeI28i8Xu6GAPTK+d VxGaJ6/I1S6Se6+Mqq+Cf74SkfucUiRDXLInePJd69U0E7bgmimjh/rlt8+hTE8u9dyi wR6uY7gctxa6Zh+c2IRBkQI0C079QFn9W+rvfnHLNA9Pu6as3jKvh3tzBRQUGkiAs6lG 7tYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736197803; x=1736802603; h=content-transfer-encoding:in-reply-to: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=5vuxHZ3raW2ztjoKCuj9LEWKfq2BGO3JaBQYH1o5ULM=; b=aKWkSWKCU8qiZXYVfnY1mPDT8OZByiBQZ92Lt9ZWMVkb6PXZcjSafP9l+Ou4fTCIxl OddyyO3B8/ijMpT3BG9lsSMW1O/rslEAUplHPqfzVdaHlqr3kl6BdsW4tpnM501G8/qB P9u8zpGQvtYP8BrJdSa2QIMJQB1RJbasg8pfb77GV83IG6cVgmbBINVv82HZoCjBBwdW bRTGNR8Qz5kUOHw5L3SEJNigFKLm1MIIGin1ym6+TXlaxgzbBJE6Pt6a5scJ/YgPhJYO fotg1Qig0L4kyctjQayR43A2HItmZ6ROAQQKLQ8L0Ue2dd5g+NRTnQDtzAajaPN4+My4 vBcw== X-Gm-Message-State: AOJu0YzB4oCEd6Aov896/dGa+wyQyUKsOFkxxd7YZ2rUFMYhTEFlWIp7 ZRYv6k3AM+Zo7jN7TXmJsWA5OMgBr7QKyGolX5YBOUVCENkT/r4K8lZXTqP2glI= X-Gm-Gg: ASbGncvtOdvxd+MjfQJ7I6dKpAxMJgCF6w0DE185ijS8pVfQRIf6w+c5qrzkkatb3RF 20INogNbY/sdeo74yAul2Ag9jnsp8lkmOrCFMebY+Joy3sRXBxMo2iv1IsZo3/uoMj4gQkAx4u9 b5eVnyzQNkvDOrLY6C1f28FunifA68riSE8+YgRkGLZMSS3cfPwiYfl72MXhEVdKmAey15gJaAL xN8KI9vVGcfOV6EnrSiH0AJCF2KAQUXs8Buj3SMlJchcHLOQjvC709sHoOgtAXTjEXkFdTTRq5j pqouMBM7EHu7OS5AXzKpHpNse4WStfd24Bn7sRANETt7yuxuoaTSBQCinE+U X-Google-Smtp-Source: AGHT+IEpieklgDZqf3m/4PFw6rqhFaj5FOlscHZ4b5xceuXu2bAtEkFIjVTVfGS23LmKsJc2yI/vgA== X-Received: by 2002:a05:6000:4021:b0:385:fa26:f0d8 with SMTP id ffacd0b85a97d-38a221e2f95mr53594881f8f.8.1736197802776; Mon, 06 Jan 2025 13:10:02 -0800 (PST) Received: from ?IPV6:2001:a61:1049:a401:5d2b:549c:3c4f:aae? ([2001:a61:1049:a401:5d2b:549c:3c4f:aae]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a6abesm48699687f8f.90.2025.01.06.13.09.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jan 2025 13:10:01 -0800 (PST) Message-ID: <7d0db99b-f926-42b1-a867-2b05e0224323@gmail.com> Date: Mon, 6 Jan 2025 22:09:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Language support for C# in org-babel To: Leo Butler Cc: emacs-orgmode References: <87y0zn24bk.fsf@t14.reltub.ca> Content-Language: en-US From: Buoso Donati In-Reply-To: <87y0zn24bk.fsf@t14.reltub.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=poverobuosodonati@gmail.com; helo=mail-wr1-x433.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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B67CA469BE X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.48 X-Spam-Score: -0.48 X-TUID: GhamXtVhFD++ Thanks a lot for your input! > Have you looked at ob-C.el or ob-java.el? I am not sure how similar C# > is to either C/C++/D or Java, but it may make sense to try to extend one > of those. 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. > See the instructions at > > https://orgmode.org/worg/org-contribute.html#first-patch I would go ahead and follow these instructions trying to contribute the draft. This also makes it easier for me to show what I mean and elaborate on the concept (and the differences to existing integrations) potentially. Best regards, Max On 06.01.25 19:19, Leo Butler wrote: > On Mon, Jan 06 2025, poverobuosodonati wrote: > >> >> >> >> >> Hi guys, >> >> >> >> I am a newbie in that I've never contributed so far. Thus, I would like to start this journey with pinging the mailing list first as it is indicated in the contributing documentation. >> > Welcome. > >> >> As far as I know, there is currently no language support for C# withi org-babel. >> >> As this (evaluating C# code-blocks) is occasionally helpful for my >> workflow, I went ahead and wrote an integration following the >> excellent documentation found here >> (https://orgmode.org/worg/org-contrib/babel/languages/index.html). > Have you looked at ob-C.el or ob-java.el? I am not sure how similar C# > is to either C/C++/D or Java, but it may make sense to try to extend one > of those. > >> >> Are there any objections against me trying to upstream this addition? >> 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? > See the instructions at > > https://orgmode.org/worg/org-contribute.html#first-patch > > Best regards, > Leo