Adam Porter
c9245be371
Tidy
2018-08-20 07:48:10 -05:00
Adam Porter
cdd25e8a7f
Add: Support org-super-agenda
...
Since we aren't calling org-agenda-finalize-entries anymore, we call
org-super-agenda--group-items directly when appropriate.
2018-08-20 07:41:46 -05:00
Adam Porter
f6db1097dc
Change: Refactor and tidy
...
Move add-markers function into org-ql, which should help avoid
cross-dependency, and should be generally useful.
2018-08-20 07:38:07 -05:00
Adam Porter
9cce826bfe
Fix: Sorting
...
By using s-join instead of org-agenda-finalize-entries, which does its
own sorting. We don't need anything it does, at least not now, and if
we ever do, we'll probably want to reimplement it, anyway.
HOWEVER, this breaks org-super-agenda, which uses advice to that
function to group items. So we need to either figure out another
approach (which I have been unable to do so far, trying cl-letf,
cl-flet, and advice-add with unwind-protect), or make this depend on
org-super-agenda.
2018-08-19 14:49:37 -05:00
Adam Porter
2001c88ed5
Fix: (org-agenda-ng) Handle just query as arguments
2018-08-19 13:39:19 -05:00
Adam Porter
22bf0ae9c0
Fix: (org-agenda-ng) Add markers
...
Not sure when I broke this, but this fixes it. Still probably need to
refactor a bit, as there's some cross-dependency between org-agenda-ng
and org-ql.
2018-08-19 12:10:12 -05:00
Adam Porter
69083fb17b
Task: Add to-do
2018-08-04 16:57:14 -05:00
Adam Porter
4c045f78ea
Tidy: Indentation
2018-08-01 10:52:59 -05:00
Adam Porter
fe32388d50
Change/Fix: (--format-element) Use marker's buffer
...
When formatting an element outside the element's buffer (e.g. when
mapping --format-element across the results of org-ql), the current buffer
is not the element's source buffer, so functions like org-get-tags-at
will not return the correct results, because they don't use the
marker's buffer. So now we set the current buffer to the marker's
buffer.
As this package matures, this might become unnecessary in the future,
but it's probably best to keep it for correctness.
2018-08-01 10:50:27 -05:00
Adam Porter
8bfb65d715
Change: Refactor, improve docstrings, argument handling, etc.
...
Move some code between functions and macros to make more sense and be
more flexible.
2018-07-10 08:27:54 -05:00
Adam Porter
fd00eb6bb5
Change: second -> cadr
2018-05-24 09:50:07 -05:00
Adam Porter
d722e4db72
Fix: (--add-priority-face) match-string
...
Oops...
2018-05-23 07:26:03 -05:00
Adam Porter
e04c1212a0
Tidy: Footer
2018-05-23 07:03:37 -05:00
Adam Porter
9050b756ba
Factor out org-ql into separate file
2018-05-11 16:40:40 -05:00
Adam Porter
39a8c36b92
Add property matcher
2018-05-10 18:58:21 -05:00
Adam Porter
58b2cca65f
Add regexp matcher
2018-05-10 18:43:03 -05:00
Adam Porter
96dd06b144
Few changes
2018-05-10 17:01:53 -05:00
Adam Porter
89ae2ecf4a
Update commentary
...
We aren't using org-element-parse-buffer anymore.
2018-05-10 16:47:27 -05:00
Adam Porter
2aa3ba008e
Remove need to quote date comparators
2018-05-10 16:24:09 -05:00
Adam Porter
41b1e0e837
Simplify org-today
2018-05-10 15:56:53 -05:00
Adam Porter
146772af67
And more
2018-05-10 15:48:31 -05:00
Adam Porter
9147c891a1
More stuff
2018-05-10 15:11:09 -05:00
Adam Porter
7a1e22da50
Fix deadline/scheduled warning days, and improve relative date formatting
2018-05-10 14:30:29 -05:00
Adam Porter
96fb97d4bd
Show relative due date (with actual date as tooltip)
2018-05-10 14:01:49 -05:00
Adam Porter
b2b0d068e0
Add stuff
2018-05-10 13:39:28 -05:00
Adam Porter
ad16be39bd
Use org-trust-scanner-tags
2018-05-10 13:39:27 -05:00
Adam Porter
eeb70b0b8e
Add todo
2018-01-06 04:32:38 -06:00
Adam Porter
bc1976d96c
Add todo
2018-01-06 04:22:10 -06:00
Adam Porter
949ef58c61
Fix: Indentation
2018-01-06 04:19:27 -06:00
Adam Porter
bdea8c923a
Change: Remove extra code
...
We don't need to find the next heading, because
org-element-headline-parser doesn't care.
2018-01-06 04:18:48 -06:00
Adam Porter
5dd90e07e0
Change: Use outline-back-to-heading instead of org-back-to-heading
...
Slightly faster, I think.
2018-01-06 04:18:18 -06:00
Adam Porter
9dc1fca034
Add: org-ql alias and todo
2018-01-06 04:17:31 -06:00
Adam Porter
889a50a3d1
Add: Priority selector
2018-01-06 04:13:43 -06:00
Adam Porter
94e27fec8a
More
2018-01-03 12:21:05 -06:00
Adam Porter
08ee9e1596
Prune
2018-01-03 11:20:04 -06:00
Adam Porter
29eec8ba25
More
2018-01-03 11:19:43 -06:00
Adam Porter
fc64ec78bd
Make nicer
2018-01-03 11:16:14 -06:00
Adam Porter
1976319ed8
Prune
2018-01-03 11:14:03 -06:00
Adam Porter
c412012100
flet->fmap
2018-01-03 11:10:02 -06:00
Adam Porter
38d549e6cc
Add notes
2018-01-03 11:08:12 -06:00
Adam Porter
090f77ece9
Prune
2018-01-03 11:00:30 -06:00
Adam Porter
e6b4b5223b
Add fixme
2018-01-03 10:41:47 -06:00
Adam Porter
8fcbd8de0f
And more
2018-01-03 10:30:28 -06:00
Adam Porter
24326c05fa
More stuff
2018-01-03 09:38:48 -06:00
Adam Porter
e25332b933
Use cl-letf to allow shorter function names in tests
2018-01-03 08:12:54 -06:00
Adam Porter
0abe04b916
A few improvements
2018-01-03 07:08:43 -06:00
Adam Porter
9c3b78d6c4
Change: Use positions instead of parsing with org-element
...
Now it's not slow. This may actually be useful now...
2018-01-03 06:27:15 -06:00
Adam Porter
9721621223
Add commentary
2017-08-05 21:27:11 -05:00
Adam Porter
4a79c83476
Add notes and stuff
...
We can see that it's probably not worth it, because using the element
parser is just too slow.
2017-08-05 06:29:31 -05:00
Adam Porter
a0f557d6fc
Multi and stuff
2017-08-05 06:04:04 -05:00