From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WMLsFq70KWQ3RAAASxT56A (envelope-from ) for ; Sun, 02 Apr 2023 23:33:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEvtFq70KWSnBQEA9RJhRA (envelope-from ) for ; Sun, 02 Apr 2023 23:33:34 +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 C66752DB29 for ; Sun, 2 Apr 2023 23:33:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pj5JX-0001Ve-Fd; Sun, 02 Apr 2023 17:32:39 -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 1pj5JN-0001UX-3l for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 17:32:34 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pj5JF-0006ui-49 for emacs-orgmode@gnu.org; Sun, 02 Apr 2023 17:32:24 -0400 Date: Sun, 02 Apr 2023 21:32:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1680471130; x=1680730330; bh=ZKneCb6IR5EO08eBdaqC+IpjZPejpCXOqWIaz/KPJZE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=X/zSgb0f7ddNM7Gycqj83MRYegDYmThq7F5rlDeK4g1yrOLBPFnqmhJ0002AARgq2 Z98m+0A5Vme+Uqggad5VyBxvSs3p1KNJ3eAj3Vu/QWmeIm7GCvpXKPIZjOP+dlkl+7 kmJNnwzUu4XY6TYWv/djfPOjZDg+VNPv/6JATIL1XiWeX96klkM434o5PP1j9dV5B3 BaQaPImxNf9KDHmPLAT9sL6Lg7P5UT/Jc6eOnjASObOb45Q/eLUkvTybI8HR5VQk0r Xe6U07TYmaTq0skJ7AjrX7b7Gc5YgxceCREKjJQspz+aKw/41wPTPeniZRjKzA3t67 wPOFuYIL62SLg== To: Ihor Radchenko From: gnuric@pm.me Cc: gnuric@pm.me, orgmode@tec.tecosaur.net, emacs-orgmode@gnu.org Subject: Re: [FR] Allow to #+include files verbatim without any processing (was: Have export treat file: paths in INCLUDED file relative to the INCLUDING file's dir) Message-ID: <871ql23r92.fsf@pm.me> In-Reply-To: <87sfdilgyb.fsf@localhost> References: <87h6v9gpno.fsf@pm.me> <87ilfmxen5.fsf@localhost> <87mt4xvn4w.fsf@tec.tecosaur.net> <87ttz5a2zt.fsf@pm.me> <87sfdilgyb.fsf@localhost> Feedback-ID: 29982984:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=gnuric@pm.me; helo=mail-40133.protonmail.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680471214; a=rsa-sha256; cv=none; b=lbvFUBF0BvvnfPq5UcxxGYqF9tHRc+IYcrMYO4vURJPARg9+f73j4ObFWfxwV7bX6KTi36 yOLXYQID1cph4NHihi5qNeTQYUWOluOg2azVfHCC29J3G3wbui1Q/fGqa+QziJXWpkWANm /TmGi23Teebk4WBNMXF9qeLC3xqlSzBd+IZIOCKs6ZXvFtCq2yZzykRl815+jkujNkmmWP ZfWdlLOt+f9KnZsUzPzJVrb7hYt9iHYQgUEjsOypr01O2mUPpUajyHuxjRKu1awHlf63VS +rxN3BpmAdN/auukkhxekbhKtkfld6ltF6QH/EDMYMSIwHqoIriF1WfzHf7g0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pm.me header.s=protonmail3 header.b="X/zSgb0f"; dmarc=pass (policy=quarantine) header.from=pm.me; 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=1680471214; 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=ZKneCb6IR5EO08eBdaqC+IpjZPejpCXOqWIaz/KPJZE=; b=E/7r8vPuqMgsWV82mU/41G7tLxEufQR6ZYEVmkK/X/GUoqrU8H8GEuuqdFXEVWAB2ZHau1 Exwzl2v4DKc6/UNIpvfoSRR4+XGcPYUe5zYa0pGYrJb2bY5nH5hO0wewqe1Ma5hGwXNYyC WqyfrVxjoeueS57xSBdBpKyIQ0Nhw66dZS9AO1JI7mvmk96IpDyZt4XrwmrTNZc9xdwXpa 9Lg3WtHdn2iM2Ua387L8akNuXf0EpCq2yvfYHR2lB0F1+x4Ue1QJHNnE8hW1NYqgALqZGe uU3AzKPxVQGUMsRqLK5UAOKDzeMfuNTOaF1nGnL+P1QF93BZKN/Vx0yTQto1XA== X-Migadu-Spam-Score: -5.01 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pm.me header.s=protonmail3 header.b="X/zSgb0f"; dmarc=pass (policy=quarantine) header.from=pm.me; 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-Spam-Score: -5.01 X-Migadu-Queue-Id: C66752DB29 X-TUID: YzU+eIs+fAbx Hi Ihor, Thanks for your reply and clarification on what Timothy meant. 1. Is there a general workaround that could be used as of now? 2. Is there something I can do to help with a :dir or similar option's deve= lopment? I have some (very) basic knowledge of lisp. 3. If it helps, this behavior has changed since (at least) Org 9.1.9-65-g5e= 4542, which is the default distributed with GNU Emacs 26.3. With that Org, = export to html took the links in the #+INCLUDE'd .org files as being relati= ve to the includer's dir (i.e., the PARENT .org file's dir), which I consid= er 'verbatim' inclusion. -Omid "Ihor Radchenko" writes: > gnuric@pm.me writes: > >> I was wondering if anyone had any new ideas on this question (or an expl= anation on what Timothy meant by a :dir parameter). > > Timothy meant that we can introduce a new #+INCLUDE option :dir that > will define custom path used to resolve relative paths inside links in > the included file.