Skip to main content

Questions tagged [org-ql]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

How to set `org-show-context-detail` to show the heading, its items, but NOT any other headings?

When creating a sparse-tree, what I'd like to do is show all headlines matching the search query, and their entries, but no child or sibling headlines that don't match the query. # Example document: * ...
user56834's user avatar
  • 101
0 votes
1 answer
40 views

Why is org-ql looking for gpg2 in a hardcoded path?

I'm trying to install org-ql (use-package compat :ensure t) (use-package org-ql :quelpa (org-ql :fetcher github :repo "alphapapa/org-ql" :files (:defaults (:exclude &...
Jason Hunter's user avatar
1 vote
0 answers
106 views

Org Agenda Query

I want to reproduce the result of the in-built Agenda view, yet add some further elements to it (using Org QL). I do not want to use block agendas, since they looks ugly. Instead, I want to return a ...
Public Image Ltd.'s user avatar
0 votes
1 answer
102 views

Fold specific org todo states

I'm using the answer from this question Make all done org-mode items invisible (collapsed) which works perfectly. I want to make an modification so that if I have the following: * TODO header ** HOLD ...
Nathaniel Saxe's user avatar
0 votes
1 answer
84 views

Search meta-data (tag hierarchy/inheritance) and full-text simultaneously

Does anyone know of a package (or built-in functionality) that supports querying the full text of org-mode entries that takes into account the tag hierarchy and tag inheritance? Here's an example org ...
ComfyPotato3's user avatar
2 votes
1 answer
344 views

Sprint Board and org-super-agenda : problems with DONE tasks

I am constructing a sprint board using a custom agenda view using org-super-agenda. It works really quite well with a couple exceptions, namely: Dates: I want to use variables (or constants) for the ...
Jeff Templon's user avatar
1 vote
1 answer
645 views

Viewing projects using `org-ql`

I use org-ql to view projects. (defun my/view-projects () (interactive) (require 'org-ql) (org-ql-search (org-agenda-files) '(and (tags "project") (not (todo "...
Student's user avatar
  • 225
1 vote
2 answers
179 views

get header with todo keyword

* one * two ** books *** IN-PROGRESS book1 *** book2 *** book3 * three * four ** five *** books **** book4 How to get: all headings title with todo-'IN-PROGRESS' keyword which are children of ...
slk500's user avatar
  • 473
2 votes
1 answer
252 views

How to prompt user for tags and use the result in a org-ql-search function?

Is there a way to read tags with completion from the user in the same way read-number or read-string allows? I would like to have a custom function defined where I ask the user for a tag (or list of ...
AEmacs's user avatar
  • 87
5 votes
1 answer
3k views

When creating an org-agenda-custom-commands command, how can I make the (agenda) portion only display certain tags?

I add custom org-agenda commands to the org-agenda-custom-commands like so (setq w-view `("W" "Work" ( (agenda "" ( ...
Caleb Jay's user avatar
  • 319
1 vote
1 answer
297 views

Issues With org-ql and Searching Based On Property Inheritence

I would like to be able to search for all TODO's with a property of FEATURE_NUM, and that property is inherited in my TODO's. Here's what I have in my init.el to make that property inheritable: (...
Tom Purl's user avatar
  • 377
3 votes
1 answer
705 views

How to Export All Daily Task State Changes to File?

I am trying to generate nice end-of-day reports in the file diary.org for logging and archiving purposes. I would like to generate a simple list of all TODO task state changes for the current day to ...
steve-blobs's user avatar
0 votes
3 answers
969 views

Archive DONE tasks that are at least month after completion

I use org-archive-subtree to clean my org files. Most of my tasks lie under * Tasks header so I run the function on it using prefix (C-u C-c C-x C-s). I noticed that the function only asks for ...
kajman's user avatar
  • 129
8 votes
2 answers
7k views

Show only today's tasks in org-agenda

I am using org-mode to organize my life. I got used to planning with DEADLINE. Additionally, I am using Effort property to predict how much effort that I have to show to finish all tasks. org-agenda-...
itirazimvar's user avatar