From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qJXFOLHgM2YwLQAAe85BDQ:P1 (envelope-from ) for ; Thu, 02 May 2024 20:51:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qJXFOLHgM2YwLQAAe85BDQ (envelope-from ) for ; Thu, 02 May 2024 20:51:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=S9ocFA3D; 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=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714675889; 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=AF2lILLUcd7GWhoP0xOwvNqE30vQFwR/ZJE2sQc87EM=; b=dqh96C4uuD+FQ7sF1DzjoeUDF8poijuBTpBZGNjiO2V/AaakxxLb3JPQuS8fp38xseOeHN HL5sZTkNMy4Fb4J/oIn94BRG9d+6tTQAtKkcMyToXFjUa1ii/QozUDlH4nV7lQzhuSQ15L mShzE7uJzu1EHFr/qHtT5Qmb8Zz0hzSYw+F7wKlpZnibBfGYpu/R2e8FxwJd0ZTScs86ae m7bETS6IRffapT/c4qm16KVbCKrk7RLJq/tCF0DBo3aTA/bfUAB/LUgqp7H2IRFBzgikhm jfyifzKNjiUswCxw605K+pjLnj/QlKujCoPE+hYzXZxWulCgEOh4E3phI3wnqA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=S9ocFA3D; 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=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1714675889; a=rsa-sha256; cv=pass; b=P6ZsgfX39u4SaxcsWwK6g7rzMdSpRbN+5gjUaM5xHnBrZvuRk59rLkXW4N51vzIwzhKyX1 wIYcMhGiuD7T9MSoop/l8sNKXYjDryt9b4Nkzfsf2zCHJUjRBPfNkZKx/78DbIqJFcdFsS 0GD/WeU3T117rU+OAIm0glEoPSwu5PQQpfqssWsQ1Nc3COKNw0mROkoo2tUxUt+UhiKJLm SBFjvodZWiZw9iIsEzsRlR+xYs7hoCuQHD3rglr48EaHW6QmpHci9Yyv9+CwEwd/RXFATV jJs0mgzqykF/oYpJwEKXQtdM7Tt5r/xxiT66Q0iZM7NKbi2rSffQ/eN/v8y06g== 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 A8719747A7 for ; Thu, 2 May 2024 20:51:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2bVw-0007Ow-Nw; Thu, 02 May 2024 14:50:40 -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 1s2bVu-0007Ob-Ro for emacs-orgmode@gnu.org; Thu, 02 May 2024 14:50:39 -0400 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2bVs-0002h3-Bu for emacs-orgmode@gnu.org; Thu, 02 May 2024 14:50:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1714675829; cv=none; d=zohomail.com; s=zohoarc; b=S+HVpXW5QtpvAdLNOObpdJ9r5eAcCjj+rZvxPAZpykBHTXwziBEEKR2I29lfKnXpUlB3P41JJckWo4w2XIiTEXh0jPed+9urMjXBQx06PljOQNKqWgfl6DdVtRGlVzw5TzsPyxew0lV/a4HLVQIjDO9+699/MYvjbCejjy/7YCg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1714675829; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=AF2lILLUcd7GWhoP0xOwvNqE30vQFwR/ZJE2sQc87EM=; b=d0UbTQqv8HwlcHukNr+l3Rv/yqn3cN/GsbNHbxWJ8sHIT6Od/dTIlv28m3onh4HqUBSlTsnJr3xf26tQWDs4hXPJ11xc/uR+IXPtFy1xorTQpMcD61mS+xMQjF/DFl46T/HelLpUfgi/8CisB6+sAR6H5KzqbfKmV6TAG/7t4sA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1714675829; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=AF2lILLUcd7GWhoP0xOwvNqE30vQFwR/ZJE2sQc87EM=; b=S9ocFA3DTQ8SMIo8Mj0A9nIzIzyFQ4de4mTtRpJZaZ69n5UAZGzySYXDMSoiaLqw tA3FKzQNCgtOORd4ZamePx5spifaEyW8/8QHWAaMQR6kSTK63yKcQpHLikOgwPloKXO 0ugRcTLcBZi/q5cCvKkE23UIivaRdbkoaEE/vCXU= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 171467582836736.697975507948854; Thu, 2 May 2024 11:50:28 -0700 (PDT) Date: Thu, 02 May 2024 20:50:28 +0200 From: Matt To: "Ihor Radchenko" Cc: "Max Nikulin" , "emacs-orgmode" Message-ID: <18f3aa4c676.ae62768085345.7619655152678494644@excalamus.com> In-Reply-To: <8734r1s96j.fsf@localhost> References: <18f01342a2f.124ad27612732529.8693431365849276517@excalamus.com> <871q6suv7z.fsf@localhost> <874jbkcmyg.fsf@localhost> <18f35458dc1.12b1098e95744256.2240855810530845420@excalamus.com> <8734r1s96j.fsf@localhost> Subject: Re: [DISCUSSION] The meaning of :cmdline header argument across babel backends MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.112; envelope-from=matt@excalamus.com; helo=sender4-pp-f112.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -10.36 X-Migadu-Queue-Id: A8719747A7 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.36 X-TUID: nPKADfhCTHcH ---- On Wed, 01 May 2024 20:01:03 +0200 Ihor Radchenko wrote ---=20 > Matt matt@excalamus.com> writes: >=20 > > I disagree with one aspect: we shouldn't use Worg as a source of > > truth. The argument holds based on historical behavior of :cmdline. > > AFAIU, Worg is a wiki which is open, more or less, to anyone. Worg > > contents, AFAIU, have not always undergone review. The manual should > > be the final authority. Fortunately, there's nothing in the manual > > about :cmdline. >=20 > For babel backends specifically, WORG is _the_ documentation for the > built-in backends. It is what we will eventually move to the official > manual and it is what we point users to from the manual for now. Okay, I didn't know we made an explicit reference. > (2) nobody got around to actually move things to the manual. I'd be happy to help with this. Discussion for another thread, though. > > Are we thinking of implementing these for other languages, beyond > > ob-shell? >=20 > Yes. The title of this thread has "across babel backends" :) :) > > If we're looking at these as general headers, then I don't think "arg" > > is the correct term here since a switch may not take a value. For > > example, the "-r" option for Bash (IIUC). >=20 > > Quick name ideas that aren't good yet may inspire better ones by > > inspiring disgust--:switches, :flags, :options, (using an "i" prefix > > for "interpreter") :iswitches, :iflags, :ioptions >=20 > Emm... but "command line arguments". No? =20 I was thinking it'd be strange to have an "argument to an argument." Howev= er, the Bash man says things like "non-option arguments". It wasn't my int= ent to have an argument argument argument. Since we're considering this for all babel backends, "interpreter-args" wou= ldn't describe gcc or other compilers. What about :command-args, :command-= args, :cmd-args? "Command" is the only thing I can think of that describes= all of the languages, other than maybe "binary" or "executable". Maybe we= could simply use ":args"? Maybe ":meta-args" since gcc or bash is meta to= the script/artifact? -- Matt Trzcinski Emacs Org contributor (ob-shell) Learn more about Org mode at https://orgmode.org Support Org development at=C2=A0https://liberapay.com/org-mode