From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EED9JeoGTmUeCwAAauVa8A:P1 (envelope-from ) for ; Fri, 10 Nov 2023 11:33:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EED9JeoGTmUeCwAAauVa8A (envelope-from ) for ; Fri, 10 Nov 2023 11:33:14 +0100 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 7271313332 for ; Fri, 10 Nov 2023 11:33:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CKrVyGys; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699612394; 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=JbXZp2livt2cVOzkd518WSh2r4UjyTRQm26g01eHJt4=; b=OZJpLoZZk7K+j9+fp3KooEWPgHcmL9Y8597i6BPggKCohCBe2gOeS10YI5XRwsaXniPPUu GaB2ItVZq5Rpl+rJUMljMr5S9dhrqJ1v9B3e6/oLfmmuNig6harT30dMzqVIVWKB2E8SMy ldQWk2brt0d8O7EGxGLFpUtpJLka4JN99fAYp9L6rHbZVhhlSMWM7mDPD0VyBKJmDc+Bui n2CdQ4BVFKcY1CdpKdwSLcxK9BHjCFIpjohpBQMmA71M8uanGYt+X2nqExrQ2bbcfPJWOU 4eN4mHkH/q5Z7/SrKVcexos0rVis3551psjgjAcDQX9AR1yUE0oFVUeNZn+pzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CKrVyGys; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699612394; a=rsa-sha256; cv=none; b=U8cOtHE4rsJYcuIhHKDq9MZizxnVPHnpwnG5Aj3T8l3HYojl0vP8jDluZ3TYvfF4hlk6/7 8vgkPmFJrF5wPSfXKagdpyyEjRMTQuI6fv0GjHJFWikAQlS0H3Oc3VWC+Plact4tJGqQ6O /eKoC73D2LW1zxA3znt914xv8kJYIOtYxR+NhRsCW7kzN5Z6e6+2jwMJFB+rJBfCpfQFkB HRQcoAxVCUik2Iv2KEExjIyzoSH4uozqf6wlMdVIF+XdEa72b4zqXX7VRkTh+QPvsVdWki F9veqwXSSfkPWhfPoK1FPHTrrjpLTPAz/+oLcYqIuwuEavhUI3EW962wCQiQIw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1OoI-000109-6a; Fri, 10 Nov 2023 05:32:22 -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 1r1OoC-0000zZ-L1 for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 05:32:20 -0500 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 1r1Onu-0001og-QU for emacs-orgmode@gnu.org; Fri, 10 Nov 2023 05:32:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7EE57240029 for ; Fri, 10 Nov 2023 11:31:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699612316; bh=+It1ofwk1/Rf0g27GA+Xz4K1m8EnlWIe2m/ucfZmG70=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=CKrVyGysoK607gQZF+gPdofjPkmHpnaC7uf4R0EM3KOtFfo9i0QmaYNrpnv8VkP8+ 4CoQPhIhDwsY3pZU6vA65KEZkP4bv8UNcaL6L2YQTo+mQNSm5+4zV1KEksiGaEpHBH yQg60DJX6h/0dt7CnZig0XgyilqkNZfwZt+Ddw77NKlu27wQvzhejx2HGrLlA0TFB8 M2J+rsZtZeSyT1SqwG4S6rR+NTv5AVr+Ag8C2QERLqpuQxV5/93n2b/C4kjkQPmKi7 tJPGylxtInaCIHeeyLRNwuGdEAA4E8895bJ3daVOYnKfgo6OmjM8JhBAunGNFlkqMv aqQBygz3Oq16g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SRZrD038hz9rxB; Fri, 10 Nov 2023 11:31:55 +0100 (CET) From: Ihor Radchenko To: Stefano Ghirlanda Cc: emacs-orgmode@gnu.org Subject: Re: Colons in :var header arguments In-Reply-To: <87sf64thaz.fsf@localhost> References: <87sf64thaz.fsf@localhost> Date: Fri, 10 Nov 2023 10:34:04 +0000 Message-ID: <87y1f5zylf.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_H5=0.001, RCVD_IN_MSPIKE_WL=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 X-Migadu-Spam-Score: -6.84 X-Spam-Score: -6.84 X-Migadu-Queue-Id: 7271313332 X-Migadu-Scanner: mx13.migadu.com X-TUID: eAQGikJhVzLf Ihor Radchenko writes: > Stefano Ghirlanda writes: > >> I have run into an inconvenience in that colons in :var header >> arguments to source blocks are invariably interpreted as referring to >> another file. However, I use cleveref in LaTeX export (via org-ref) to >> automatically format references using labels like tab:data, and in >> these cases :var data=tab:data gives a reference not found because tab >> is interpreted as a filename. > > I agree that it is a problem. > Attaching tentative patch that will make Org babel fall back to > searching in current file when FILE in FILE:REF does not exist. > > It is technically a breaking change. If this is affecting someone's > workflow, please chime in. No objections have been raised after one month. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b5cfc311d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at