From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oIIFN2VadF+oVAAA0tVLHw (envelope-from ) for ; Wed, 30 Sep 2020 10:13:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MNPiMmVadF9XMQAAbx9fmQ (envelope-from ) for ; Wed, 30 Sep 2020 10:13:57 +0000 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 4F2E094014A for ; Wed, 30 Sep 2020 10:13:57 +0000 (UTC) Received: from localhost ([::1]:60792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNZ7T-0002Wz-Nh for larch@yhetil.org; Wed, 30 Sep 2020 06:13:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNZ23-0006w8-FS for Emacs-orgmode@gnu.org; Wed, 30 Sep 2020 06:08:21 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:40424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNZ1y-0005Pa-Oc for Emacs-orgmode@gnu.org; Wed, 30 Sep 2020 06:08:19 -0400 Received: by mail-ed1-f42.google.com with SMTP id t16so1173797edw.7 for ; Wed, 30 Sep 2020 03:08:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yuvhwUEfxShfY20TQvNdMGOlhQft7zHudcGOEo0/3Jw=; b=ThWF8n4+N6OAEEh937n4cJnLdLHBw5Uviu05fqEJEX4kVdBEPB977SH0pNHRGrafzm s4MsA5/26Om6McyExwNfVNRml4e8F0bDdVPJFhmweYSjJBkExihL3Nwe7geJUIgxnczi dCyhSfJaks5gS4JdqpM25DqmxB6olWsv7tuBISLeAPWVCXWXAUAqdkO+Znp0mLwYKMfm wYsxJ6Lqyf0xVqmAci5qoi8UGuasj2Lhx/zKDmpZUm4JhhgQhF+JMMycbKNMAZ5NKTWY TjfllKRQGfvoH3pMKAVm6n8SU0mQvllBj4zkSedYgc+kIoE7U2kXFsN5HRZ37Ep1Kpbg 34gA== X-Gm-Message-State: AOAM532vnuweq1h6/hHTWNgw/VvapHWNDaslhhCzTuRwnKCg2T3rpK8f yNRZl3HRu8b/rp/H7RNRlWpj6GzvTyUCC0fMgMW8aGBWeVE= X-Google-Smtp-Source: ABdhPJylMN4HMBwbVCBUQquyzPwWsRyFLW99nPDBalVjSJx66hAC2rlRx6Eu99i1Owg2Jgjuq8AqnyzDAq6nCXpyne0= X-Received: by 2002:aa7:c61a:: with SMTP id h26mr1805343edq.254.1601460492619; Wed, 30 Sep 2020 03:08:12 -0700 (PDT) MIME-Version: 1.0 References: <877dt72ajj.fsf@kyleam.com> <875z8hmojt.fsf@kyleam.com> In-Reply-To: From: ian martins Date: Wed, 30 Sep 2020 06:08:01 -0400 Message-ID: Subject: Re: org-babel support for haxe To: Kyle Meyer Content-Type: multipart/alternative; boundary="000000000000c8d34a05b0851347" Received-SPF: pass client-ip=209.85.208.42; envelope-from=ianxm1@gmail.com; helo=mail-ed1-f42.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/30 06:08:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.199, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.614, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=jhu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: q7LuVJsAk3oY --000000000000c8d34a05b0851347 Content-Type: text/plain; charset="UTF-8" I wrote the ob-core patch I mentioned before but white writing the commit message I realized there's probably no need to modify ob-core at all. I was doing it in order to allow haxe and java to create subdirectories in the babel temp directory since both languages require class names to match file names and directory structures to match the class' package (which is like namespace in C). But for executing babel code blocks from the temp directory all that is needed is the output; the source file doesn't matter. I'll try updating the haxe and java patches to build and run directly from the babel temp directory. On Thu, Sep 24, 2020 at 5:17 PM ian martins wrote: > with ob-java I assumed I shouldn't change ob-core, so I advised/overrode > ob-core instead of changing it. But it would be much better to change > ob-core. I'll submit those changes as a separate patch that modifies > ob-core. > > On Sun, Sep 13, 2020 at 4:04 PM Kyle Meyer wrote: > >> ian martins writes: >> >> > ob-haxe and ob-java both involve a few changes to ob-core to allow temp >> > directories instead of just temp files. Should I submit that as a >> separate >> > patch? >> >> It looks like that change is included with your ob-java patch [0], which >> will be considered after 9.4 is released [1], so I think it's fine as >> is. (In my opinion, splitting up that patch would have been nice, but I >> don't think it's worth a reroll, at least until some initial comments >> come in.) >> >> [0] >> https://orgmode.org/list/CAC=rjb7AhmnRQ9Nc4Ao07qK3QZF4LVaTmU_R1fWqr+97NpnRJQ@mail.gmail.com >> [1] https://orgmode.org/list/87sgbwgvx6.fsf@gnu.org >> > --000000000000c8d34a05b0851347 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I wrote the ob-core patch I mentioned before but white wri= ting the commit message I realized there's probably no need to modify o= b-core at all. I was doing it in order to allow haxe and java to create sub= directories in the babel temp directory since both languages require class = names to match file names and directory structures to match the class' = package (which is like namespace in C). But for executing babel code blocks= from the temp directory all that is needed is the output; the source file = doesn't matter. I'll try updating the haxe and java patches to buil= d and run directly from the babel temp directory.

On Thu, Sep 24, 2020= at 5:17 PM ian martins <ianxm@jhu.edu> wrote:
with ob-java I assumed I shouldn't ch= ange ob-core, so I advised/overrode ob-core instead of changing it. But it = would be much better to change ob-core. I'll submit those changes as a = separate patch that modifies ob-core.

On Sun, Sep 13, 2020 at 4:04 PM Ky= le Meyer <kyle@kyle= am.com> wrote:
ian martins writes:

> ob-haxe and ob-java both involve a few changes to ob-core to allow tem= p
> directories instead of just temp files. Should I submit that as a sepa= rate
> patch?

It looks like that change is included with your ob-java patch [0], which will be considered after 9.4 is released [1], so I think it's fine as is.=C2=A0 (In my opinion, splitting up that patch would have been nice, but= I
don't think it's worth a reroll, at least until some initial commen= ts
come in.)

[0] htt= ps://orgmode.org/list/CAC=3Drjb7AhmnRQ9Nc4Ao07qK3QZF4LVaTmU_R1fWqr+97NpnRJQ= @mail.gmail.com
[1] https://orgmode.org/list/87sgbwgvx6.fsf@gnu.org
--000000000000c8d34a05b0851347--