Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-agenda-bulk-mark-regexp does not work with org-ql-agenda #294

Open
ParetoOptimalDev opened this issue Aug 1, 2022 · 1 comment
Open

Comments

@ParetoOptimalDev
Copy link

I think the 'text property isn't preserved or built by the org-ql query maybe?

The reason is that debugging led me to find out that this fails in an org-ql-view buffer:

(get-text-property 50 'txt) 

But in a normal org agenda buffer I get:

  #("TODO Morning Routine :recurring:routine::morningRoutine:" 0 4 (fontified t org-category "recurring" org-stats 0 line-prefix #("***" 0 3 (face org-indent)) wrap-prefix #("******* " 0 3 (face org-indent) 3 8 (face org-indent)) face (org-todo org-level-4) ...) 4 20 (fontified t org-category "recurring" org-stats 0 line-prefix #("***" 0 3 (face org-indent)) wrap-prefix #("******* " 0 3 (face org-indent) 3 8 (face org-indent)) face org-level-4 ...) 20 22 (org-heading t) 22 31 (inherited t org-heading t) 31 32 (org-heading t) 32 39 (inherited t org-heading t) 39 56 (org-heading t))

I'm using nix, but I've made sure to manually install the correct compatible versions of org-ql and org-ql-agenda:

org: 9.5.4 (mismatch org-ql specifies org 9.0... does it specifically need to be 9.0?)
org-ql: 0.7-pre
org-super-agenda: 1.2
ts: 0.3-pre (mismatch should be 0.2 for org-ql)

aside: I've created an upstream issue to hopefully eventually make sure package requires versions are respected in NixOS/nixpkgs#182645

Do you know if other emacs package managers respect package requires? I'd like to add that to my issue there as an argument for respecting package requires if so.

@alphapapa
Copy link
Owner

I think the 'text property isn't preserved or built by the org-ql query maybe?

You can see what properties are added here:

(defun org-ql-view--format-element (element)

aside: I've created an upstream issue to hopefully eventually make sure package requires versions are respected in NixOS/nixpkgs#182645

Do you know if other emacs package managers respect package requires? I'd like to add that to my issue there as an argument for respecting package requires if so.

In Emacs, the Package-Requires header specifies minimum versions that are required, not exact versions. It would be incorrect to forbid later versions from being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants