[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: |
Thu, 19 Dec 2024 19:17:53 +0000 |
Derek Chen-Becker <derek@chen-becker.org> writes:
> OK, I can start working on the new function and plumb it in. I agree that
> "org-base-buffer-file-name" would be better.
Thanks in advance!
Do note that we still cannot blindly replace every instance of
buffer-file-name with the new function. At least a cursory case-by-case
check is necessary to make sure that logic will not be broken.
> ... For the case you mentioned
> about an Org buffer not yet associated with a file, that seems like a
> complication that we can't solve at this level. Do we leave that as a known
> issue, or are there straightforward ways to maybe deal with that? It feels
> like that may be case-by-case.
It will certainly be case-by-case. Sometimes, the code can only be
evaluated in a file buffer. Ever. Sometimes not.
This one is rather theoretical.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>