org-ql icon indicating copy to clipboard operation
org-ql copied to clipboard

Add autoload to the function responsible for dynamic blocks

Open lhernanz opened this issue 1 year ago • 1 comments

OS/platform

MacOS

Emacs version and provenance

Emacs 29

Emacs command

emacs

Org version and provenance

9.7.17

org-ql package version and provenance

20241107.345

Actions taken

  • open emacs
  • autoload org-ql using the instructions in the github page (use-package org-ql :after org)
  • try to expand a dynamic block

Observed results

org-update-dblock: Symbol’s function definition is void: org-dblock-write:org-ql

Loading org-ql-search manually solves the problem and makes the dynamic block to work, so this is not a path problem

Expected results

The dynamic block should execute even if org-ql has not been loaded before. It seems to be missing an autoload statement

Backtrace

No response

Etc.

No response

lhernanz avatar Dec 19 '24 02:12 lhernanz

Sent a PR a few days ago. Let me know if you need any other thing to get this merged/fixed. Thanks!

lhernanz avatar Jan 21 '25 00:01 lhernanz