[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Cannot tangle src block in capture buffer [9.7.6]
|
From: |
Ihor Radchenko |
|
Subject: |
Re: [BUG] Cannot tangle src block in capture buffer [9.7.6] |
|
Date: |
Mon, 05 Aug 2024 14:03:50 +0000 |
Dilip <iDLip@protonmail.com> writes:
> You get ~Wrong type argument: stringp, nil~ error when you
> =org-babel-tangle= on a source block in capture buffer.
>
> To reproduce:
>
> 1. set a template
> (setq org-capture-templates
> '(("t" "Test" entry (file "/tmp/debug.org")
> "* TODO %?\n %i\n %a")))
>
> 2. Create a source block (C-c C-, s) add :tangle header
> 3. Tangle it. (C-u C-c C-v C-t)
>
> In fact,at the same time with capture buffer active if you go the file
> (/tmp/debug.org) and do tangle on so far written src block it tangles
> properly.
That's because capture buffer is an indirect buffer and indirect buffers
are technically not associated with any file.
We should probably fix handling indirect buffers across Org mode.
Confirmed.
--
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>
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [BUG] Cannot tangle src block in capture buffer [9.7.6],
Ihor Radchenko <=