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 oDvlJcfY3l6PBAAA0tVLHw (envelope-from ) for ; Tue, 09 Jun 2020 00:33:11 +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 iA6dIcfY3l6/AgAAbx9fmQ (envelope-from ) for ; Tue, 09 Jun 2020 00:33:11 +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 5252A9404E1 for ; Tue, 9 Jun 2020 00:33:10 +0000 (UTC) Received: from localhost ([::1]:45058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiSCQ-0005K7-2K for larch@yhetil.org; Mon, 08 Jun 2020 20:33:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiSBm-0005Jx-Vm for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 20:32:26 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:57542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiSBk-0007Jz-Ux for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 20:32:26 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id DD09ECEA0B; Mon, 8 Jun 2020 20:32:20 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=lsCeFkHzunI11TWGW31wxSGbv0E=; b=LdY/lI 9BgBgHoYJPrhfPcLI6Z+7rf5LDtWahNczQ0Fz/xPswzexKZ6ZIgvsDd7EKocInu1 eyE774l3gzoY7GVcFsq2fnQumMDEbsCBPdmVcP6jwUtwSJqI3nNsp4MS56IhDCxC a9uODUmUb4Xa1/Nr4IFaJBsgWxJHVYfQp+umg= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id D4CE1CEA0A; Mon, 8 Jun 2020 20:32:20 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=BFwFtCVdJIY7K9568QuhXyBohZZqevQcIcqmOvojv/4=; b=I2QVJKTCBzJBOzqJ3gQ7W8Ey6nCunWhHdhQXWo8RMWPzpYLoM0nbt6u4iBOnG3VabMHrZ5W8bVretcX4FI7SJrK4BWLuCHM8+tyPZakUMZm2ZLmvp/Z33Q/OUKsteb9Oq1weAmbiosTykOwyFCzbh2WazhGDsxLhZx7aPS8K8f4= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 55C3ECEA08; Mon, 8 Jun 2020 20:32:18 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Jeremias Gonzalez Subject: Re: org-babel-tangle not using relative links In-Reply-To: <6fb12326-52d3-7177-eff5-62603261b388@ucmerced.edu> References: <6fb12326-52d3-7177-eff5-62603261b388@ucmerced.edu> Date: Tue, 09 Jun 2020 00:32:16 +0000 Message-ID: <875zc1w033.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: ACBAF182-A9E8-11EA-9715-B0405B776F7B-24757444!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=kyle@kyleam.com; helo=pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 20:32:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=LdY/lI 9; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=I2QVJKTC; dmarc=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: -1.21 X-TUID: M2IUCv1AwUm2 Jeremias Gonzalez writes: > I cannot seem to be able to make org-babel-tangle respect the setting of > org-babel-tangle-use-relative-file-links to t. Here is my process after > launching "emacs -Q" (the default for > org-babel-tangle-use-relative-file-links appears to be true in this > configuration): [...] > I looked through the ob-tangle.el file to try and see why this is the > case, and it looks like there's some negative boolean result in this if > statement in the org-babel-tangle-single-block function which causes it > to skip over the code that would make use of the relative path: > > (if (and org-babel-tangle-use-relative-file-links > (string-match org-link-types-re link) > (string= (match-string 0 link) "file")) Thank you for the excellent bug report. This is should be fixed by 3ebee0331.