GNU bug report logs - #52545
29.0.50; Make org-babel-execute-buffer ignore irrelevant src blocks

Previous Next

Package: org-mode;

Reported by: Rudolf Adamkovič <salutis <at> me.com>

Date: Thu, 16 Dec 2021 10:36:01 UTC

Severity: normal

Full log


Message #30 received at 52545 <at> debbugs.gnu.org (full text, mbox):

From: "Berry, Charles" <ccberry <at> health.ucsd.edu>
To: Rudolf Adamkovič <salutis <at> me.com>
Cc: Kyle Meyer <kyle <at> kyleam.com>,
 "52545 <at> debbugs.gnu.org" <52545 <at> debbugs.gnu.org>,
 Ihor Radchenko <yantar92 <at> gmail.com>
Subject: Re: bug#52545: 29.0.50; Make org-babel-execute-buffer ignore
 irrelevant src blocks
Date: Tue, 21 Dec 2021 23:14:06 +0000

> On Dec 21, 2021, at 2:53 PM, Rudolf Adamkovič <salutis <at> me.com> wrote:
> 
> I struggle to understand.  Why do we need a customization?  If Org knows
> that some backend exists but has no execute function, why does it even
> try to execute it?  It cannot.  Do I miss something?


Sorry if my prior posts were garbled. To clarify:

When exporting src blocks for which there is no execute function for the lang, the block will not be executed and the export will proceed.

When evaluating src blocks in other circumstances, e.g. M-x org-babel-execute-buffer, the process will terminate when org-babel-execute-src-block issues `(error "No org-babel-execute function for %s!" lang))'

The latter can be a clue that the name of a lang is misspelled or that org-babel-load-languages needs to be customized to provide the execute function.

IMO, nothing needs fixing. The ability to handle OP's original issue is already in place.

HTH,
Chuck

This bug report was last modified 3 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.