8
votes
Accepted
Show only today's tasks in org-agenda
COMPATIBLE WITH ORG-MODE 9.0.3
The function org-agenda-skip-deadline-if-not-today is designed to be used in conjunction with the org-agenda-skip-function and an agenda entry in the org-agenda-custom-...
6
votes
Accepted
When creating an org-agenda-custom-commands command, how can I make the (agenda) portion only display certain tags?
This can be done using built in tools using org-agenda-skip-function (I've used this answer on Stack Overflow in the past).
If you don't mind external packages, org-super-agenda makes this easy:
(...
4
votes
Show only today's tasks in org-agenda
I am answering my question that I asked long time ago.
A new package which name orq-ql is also lead us to desired situation.
Additionally provides many like filtering, ordering etc on-the-fly.
You ...
4
votes
get header with todo keyword
Another approach could be using org-ql. Here an example that should match your original question:
(require 'org-ql)
(org-ql-query
:select #'org-get-heading
:from "/tmp/so.org"
:where '...
3
votes
Accepted
get header with todo keyword
The simplest thing is to use isearch and look for IN-PROGRESS, then eyeball the heading to see if it's in a books hierarchy. Org mode files are plain text, so everything that applies to text applies ...
3
votes
Accepted
How to prompt user for tags and use the result in a org-ql-search function?
You can get all the buffer tags by calling org-get-buffer-tags. You can then combine that with completing-read whose doc string reads as follows:
completing-read is a built-in function in ‘C source ...
1
vote
Accepted
Why is org-ql looking for gpg2 in a hardcoded path?
The value of epg-gpg-program was hardcoded to the path "/usr/bin/gpg2", probably because it was customized previously, so the setting is done in the file specified by the variable custom-...
1
vote
Sprint Board and org-super-agenda : problems with DONE tasks
I found something which does almost exactly what I want, albeit not as an agenda command. The code that does it:
(org-ql-search (org-agenda-files)
'(ts-active :from "2022-04-25" :to "...
1
vote
Accepted
Viewing projects using `org-ql`
I think you need to add a t argument to the :super-groups.
(defun my/view-projects ()
(interactive)
(require 'org-ql)
(org-ql-search
(org-agenda-files)
'(and (tags "project")
...
1
vote
Accepted
Issues With org-ql and Searching Based On Property Inheritence
Oh duh, I guess I was trying to make things too complicated. This ended up working:
(org-ql-block '(and
(todo)
(org-entry-get (point) "FEATURE_NUM" 'inherit)))
Since ...
1
vote
Accepted
Archive DONE tasks that are at least month after completion
I use this approach from the excellent page http://doc.norang.ca/org-mode.html#Archiving -- the whole of that page is worth a read, and Bernt Hansen deserves all the credit for this not me.
This ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
org-ql × 14org-mode × 11
org-agenda × 5
search × 1
gpg × 1
completing-read × 1
org-super-agenda × 1
sparse-tree × 1