Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-08 Thread TAKAHASHI Yoshio
Ihor Radchenko writes: > I followed your steps using the latest main. > The results are identical for me. Thank you for test. My current environment is [1], org-mode in emacs master branch. With the latest org-mode main branch as of today, I get identical results, too. I'm happy to know the

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-08 Thread Ihor Radchenko
TAKAHASHI Yoshio writes: > TAKAHASHI Yoshio writes: > >>> This is because the default value of `org-babel-default-header-args' >>> already contains (:tangle . "no"). >> Your explanation is very clear. Thank you. > > I did some tests. Please check below transcript. I expect to have the > same

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-07 Thread TAKAHASHI Yoshio
TAKAHASHI Yoshio writes: >> This is because the default value of `org-babel-default-header-args' >> already contains (:tangle . "no"). > Your explanation is very clear. Thank you. I did some tests. Please check below transcript. I expect to have the same results in bloth case. tkh:~$ cd

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-06 Thread TAKAHASHI Yoshio
Ihor Radchenko writes: > This is because the default value of `org-babel-default-header-args' > already contains (:tangle . "no"). ... > As internal implementation detail, Org babel prefers the _last_ header > arg value in the above list. Which is why you end up seeing what you are > seeing. >

Re: [BUG] org-babel-load-file, org-babel-tangle-use-relative-file-links and :tangle header [9.6.11 (release_9.6.11 @ /opt/emacs/share/emacs/30.0.50/lisp/org/)]

2023-12-05 Thread Ihor Radchenko
TAKAHASHI Yoshio writes: > When org-babel-tangle-use-relative-file-links is t (default), > org-babel-load-file ignores any source block that does not have `:tangle > "yes"' or `:tangle filepath' header. > > Even if org-babel-default-header-args is changed like > (setq