Hi Dan,
thanks for ob-beanquery. I'd like to work on supporting
`org-edit-src-code': have you worked, or plan to do, on a `beanquery-mode'?
If not, I'll do, integrate in ob-beanquery, add support for
`org-edit-src-code' (C-c ') and do a pull request.
Any suggestion is welcome.
Best,
Stefano
On Sunday, November 16, 2025 at 11:06:25 PM UTC+1 [email protected] wrote:
> On 07/11/25 04:24, Martin Blais wrote:
> > I'm wondering if anyone ever got this working with beanquery:
> > https://www.youtube.com/watch?v=g43XNwKY1YA <https://www.youtube.com/
> > watch?v=g43XNwKY1YA>
>
> I assume that with "this" you mean Org Babel and not orgtbl-mode.
>
> The former is the org-mode facility for evaluating source code written
> as source code blocks in an org-mode document. The latter is a major
> mode to use org-mode table editing facilities to edit tables written in
> other markup languages.
>
> In this case, I just published ob-beanquery
>
> https://github.com/dnicolodi/ob-beanquery
>
> To use it, just drop something like
>
> (use-package ob-beanquery
> :load-path (lambda () (expand-file-name "~/src/ob-beanquery/")))
>
> in your .emacs. Then you can evaluate code blocks like these:
>
> #+begin_src beanquery :db test.beans :numberify yes
> SELECT *
> #+end_src
>
> #+RESULTS:...
>
> #+begin_src beanquery :db /dev/null :colnames no
> SELECT 1+1 FROM #
> #+end_src
>
> #+RESULTS:
> : 2
>
> It works for me when I need it but it hasn't seen much more testing than
> that and Babel has many options and capabilities that I do not use.
> Submit issues if it breaks and I'll try to fix it.
>
> Cheers,
> Dan
>
>
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/beancount/5cd7a1d4-e05d-4f52-ae90-cadb1c9b8f40n%40googlegroups.com.