Thanks Dan, using sql-mode works very well and allows syntax highlighting and `org-edit-src-code'. I'll keep like this for the time being. Best, --Stefano
On Saturday, December 6, 2025 at 12:26:06 PM UTC+1 [email protected] wrote: > On 01/12/25 14:41, Stefano Merlo wrote: > > 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. > > I didn't use the remote editing feature on beanquery code blocks so far. > However, I think using sql-mode for editing beanquery code should work > well enough: > > (use-package ob-beanquery > :load-path (lambda () (expand-file-name "~/src/ob-beanquery/")) > :config (add-to-list 'org-src-lang-modes '("beanquery" . sql))) > > I'll add this to the ob-beanquery README. > > It could be worth adding a beanquery dialect to sql-mode, but I am not > familiar with the capabilities of sql-mode, thus I don't know which > aspects would benefit from specialization for beanquery. > > 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/df33e054-c740-442d-b15b-80ada669aec5n%40googlegroups.com.
