emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4


From: Sébastien Miquel
Subject: Re: Bug: [PATCH] org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)]
Date: Wed, 5 May 2021 06:49:56 +0000

No Wayman writes:
Another related bug to the changes:

I have the :tangle header-arg set to evaluate some elisp to return the file name:

org-babel no longer interprets this elisp. It is being used literally as the file name:
e.g.

Wrote /home/n/.emacs.d/(concat (file-name-sans-extension (buffer-file-name)) ".el")
Here's another patch, to be applied on top of the previous one, that
fixes this.

The specific case you mention can also be achieved by setting the
:tangle argument to `yes`: in this case, the tangled file name is
computed using the buffer file name and changing the extension
according to the src block language.


Thank you again for the report, and sorry for breaking everything.

--
Sébastien Miquel

Attachment: 0001-ob-tangle.el-org-babel-tangle-collect-blocks-Use-cor.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]