From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QJ/oN2k9X2SRFgAASxT56A (envelope-from ) for ; Sat, 13 May 2023 09:34:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eAfkN2k9X2TLfgAA9RJhRA (envelope-from ) for ; Sat, 13 May 2023 09:34:01 +0200 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 522B029CB6 for ; Sat, 13 May 2023 09:34:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxjkW-00039q-Cd; Sat, 13 May 2023 03:33:04 -0400 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 1pxjkU-00039b-2s for emacs-orgmode@gnu.org; Sat, 13 May 2023 03:33:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxjkS-00070I-5b for emacs-orgmode@gnu.org; Sat, 13 May 2023 03:33:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5C64F24004F for ; Sat, 13 May 2023 09:32:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683963178; bh=0Om+pE0mJaX5S5M00kQc4HspoKT/KE5OZDeq7REB54w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=XuIoAIxzaaBv62X5bDFy1LbNBDRmQ41+vEBeJp7jCnlxfomMHaMkZnnmw3zhyXI/K utiXHSjm7fk8fAECoiAa9nRyued3yyFRs3ixI2gcim7YTeqkdfv8BMqKbfnDA35kfk 0zKRv3Vhm1ZTZaF3FrXtsTb1r2mTRTlMmZmtLxz/cushPhK19+fOMYLZQrqR0SEWqJ e9NK0Qe2zTUsdxbjZP173FzBl1JkOM/Phn5v+88zlJgSBIJUMEPVVVVj42g9cYRJcy DCoI3Rn900CaT0YmDCfIce8uRoqdvxJLT3rSsSqoJgCZkzXqzVRzjK/HGRr5FngTCi SPi4QMtFFjS1g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QJHRG047Mz6ty0; Sat, 13 May 2023 09:32:57 +0200 (CEST) From: Ihor Radchenko To: Leo Butler Cc: Org Mode Mailing List Subject: Re: [RFC/PATCH] naming src/bin files in ob-C.el In-Reply-To: <874johe1pv.fsf@t14.reltub.ca> References: <87fs81egk5.fsf@t14.reltub.ca> <87a5y9eevv.fsf@t14.reltub.ca> <87jzxdzeoz.fsf@localhost> <874johe1pv.fsf@t14.reltub.ca> Date: Sat, 13 May 2023 07:36:24 +0000 Message-ID: <87bkio1y4n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683963241; a=rsa-sha256; cv=none; b=X/R50hCYY4ePQ1Lv2uOj8C8/cFcA3eZQ1E+OR0uPqlY533Em20vCsBtD4tgiPycPk1xaNP O1e6o1UbGstRimX5bAEmU/Te+N2CVv4Nti7L1H1x2jzEWzJ8+hHYYQKrJ7Ala4L/+YR4ha PqR7NUNDhov8mmDilmHHffCf1CJBhDu3e+kIOMotKjy/RcvGKih55yjPL/MXSyyMYqi1vE 20h6X9JPIAfYjIzvBe0AMQp0w7pOLug85YkLIsq4JX0IaZeioX35L4qVY71e8hI6hb4cJz /bh53nb2b3XnKvzy7zTfkDXTMQJ1dqgU+N2mY4EZB+79A/lv7DDH98P6X21Z/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XuIoAIxz; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683963241; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vyaTbPlher4ji1Uz2WISc1fOBebZeU5KOzvvuBI0E+o=; b=HfoWVSQCvhVSeOolubCg/OctMFJgCdw5X7mjV+ffRZJxOgWBBjAG3M6DAZoDrwBpswN/NF YYW1Cs5iMcp/sn5nq4otynXpuN05uTZyTN1Lwg/4lvgwG8JPGtMsyrgV5L5lLsfGGO5tfA mTNS89WqbmYoaQsqQEx0sq0Sl5yKE6Nynsk6oDuwDMAHE5PI//ePBv32wot9SyUok0s4Yh 5Ak1LPrzJLC+jPevO0KMMv9wHQKyye6uu9UEIiLkyXY2cR8N8p/A/c8g+ahNUBsx9qXwuB 8UR9+sFW2OVPImGbqRJAigK7H3J2RCm3WiRKDoMxzic4CtHyJm/OVz4AMQQTRA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XuIoAIxz; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -6.16 X-Spam-Score: -6.16 X-Migadu-Queue-Id: 522B029CB6 X-TUID: z5QyP21j2gIZ Leo Butler writes: >> IMHO, it will be more consistent with other backends to use :results file :file /path/to/executable > > No, I don't think this is the way to do it. What happens in this > case is: > > 1. `org-babel-C-execute' creates a named source file, compiles it to the > named binary file; > 2. then executes that binary file, producing output; > 3. that output is inserted into the named binary file, overwriting its > contents. What I am suggesting is making :results file :file /path/to stop after 1 and produce a link to the binary file. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at