emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Jeremias Gonzalez <jgonzalez49@ucmerced.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel-tangle not using relative links
Date: Tue, 09 Jun 2020 00:32:16 +0000	[thread overview]
Message-ID: <875zc1w033.fsf@kyleam.com> (raw)
In-Reply-To: <6fb12326-52d3-7177-eff5-62603261b388@ucmerced.edu>

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.


  parent reply	other threads:[~2020-06-09  0:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06  6:06 Jeremias Gonzalez
2020-06-08 22:21 ` Jeremias Gonzalez
2020-06-09  0:32 ` Kyle Meyer [this message]
2020-06-09  0:37   ` Kyle Meyer
2020-06-09 23:07     ` Jeremias Gonzalez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zc1w033.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jgonzalez49@ucmerced.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).