doomemacs / doomemacs/core

org-babel-execute-src-block: No org-babel-execute function for ledger!

Open
#6,457 4 comments 3 reactions 0 assignees View on GitHub
:lang org
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

In an org-mode file with the following contents:

```
#+BEGIN_SRC ledger :cmdline bal :results value
include file.ledger
#+END_SRC
```

I would use `C-c` to execute the block, and the results are displayed below it.

### What actually happened?

The following error is triggered when the code block is executed:

`org-babel-execute-src-block: No org-babel-execute function for ledger!`

### Describe your attempts to resolve the issue

I searched for how the lazy loading works in [the code](https://github.com/doomemacs/doomemacs/blob/master/modules/lang/org/config.el#L352). However, I could not find how an execute-function could be added.

### Steps to reproduce

1. Open emacs
2. Write the above into an `.org` file
3. Execute the block using `C-c`
4. Verify that the message `No org-babel-execute function for ledger!` is displayed.

### System Information

https://pastebin.com/PtNCU0qS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.