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/4200bb23-6124-4e21-8862-1becf93862fc%40grinta.net.

Reply via email to