[Top][All Lists]

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

Re: [ANN] lisp/ob-tangle-sync.el

From: Ihor Radchenko
Subject: Re: [ANN] lisp/ob-tangle-sync.el
Date: Mon, 11 Dec 2023 13:40:50 +0000

Sorry for the late reply.
Just got around to process your email.

Mehmet Tekman <mtekman89@gmail.com> writes:

> I made some small edits a few months ago, to reform the header arguments
> so that tangle actions would be encoded in the `:tangle-params' header
> and would largely leave the `:tangle' header aloneā€¦ but when I tested
> it, it was failing all tests for reasons I wasn't to sure about.

Do you mean that tests are not running at all?
If yes, it is likely because of

> +(defun org-babel--tangle-split (raw-tangle)
> +  "Split a :tangle headerby filename and sync action."
> ...
> +      ;; Otherwise set the default action and assume that the full
> +      ;; string has no action
> +      (if (or file action)
> +          (setq action "export"
> +                file (read-char raw-tangle))))
                         ^^^^^^^^^ this

`read-char' tries to read a character input from keyboard. That's why
you get tests not running. Maybe just (setq action "export" file raw-tangle)?

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

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