Commit graph

616 commits

Author SHA1 Message Date
Adam Porter
997765f9ea Tidy: Comment out unused form
Removes a linter warning for now.
2020-01-03 07:02:06 -06:00
Adam Porter
19833cbbec Tidy: Docstrings 2020-01-03 06:57:54 -06:00
Adam Porter
fbff8720b0 Tidy: Habit preamble
No need for rx-to-string, because it's static.
2020-01-03 05:47:00 -06:00
Adam Porter
84b458d6fe Tidy: Move binding 2020-01-03 05:43:19 -06:00
Adam Porter
d28d54c588 Comment: Add/remove TODOs 2020-01-03 05:40:06 -06:00
Adam Porter
e9d5bca842 Comment: Add headings 2020-01-03 04:12:59 -06:00
Adam Porter
689a197066 Meta: Update .gitignore 2020-01-03 04:11:52 -06:00
Adam Porter
3cc7ebe5b4 Meta: Add CI using GitHub Actions
Using test.yml from makem.sh repo.
2020-01-03 04:01:48 -06:00
Adam Porter
b1d9fcf274 Meta: Update Makefile, makem.sh 2020-01-03 03:51:50 -06:00
Yiming Chen
6004ab98da Fix: (view--add-todo-face) Bind org-done-keywords
org-get-todo-face uses org-done-keywords, which is a buffer-local
variable, so it may be nil in the context that
org-ql-view--add-todo-face is called.  See,
e.g. org-agenda-highlight-todo, which does the same thing.

Thanks to Yiming Chen (@dsdshcym).
2020-01-03 03:45:20 -06:00
Enis OEZGEN
317b2ec1b7 Docs: Fix outdated example 2020-01-02 07:48:36 -06:00
Adam Porter
e1c55b5568 Meta: Update makem.sh 2020-01-01 02:59:40 -06:00
Adam Porter
b7e146862d Meta: Add pre-push hook to repo
This doesn't cause it to be run, of course, but it can be symlinked
into place by the user.  Better to commit it than to lose it by
accident sometime.
2020-01-01 02:21:21 -06:00
Adam Porter
6a97f1d95a Meta: Update makem,sh, Makefile 2019-12-31 21:14:51 -06:00
Adam Porter
a513f25b4a Tests: Declare buttercup dependency
Used in makem.sh to parse test dependencies.
2019-12-31 21:13:50 -06:00
Adam Porter
501ab1543b Notes: Add overlay-based cache idea 2019-12-30 22:45:31 -06:00
Adam Porter
c238ebcc97 Add: org-ql-view--format-query
Used to e.g. make timestamp objects in query human readable for
display in view headers.
2019-12-29 17:37:15 -06:00
Adam Porter
091a732a88 Fix: (--value-at) On cache miss, return nil when function does
Previously, on a cache miss, if FN returned nil, the sentinel would be
returned instead of nil.

Closes #78.  Thanks to Josh Moller-Mara (@mm--) for reporting.
2019-12-21 16:28:51 -06:00
Feng Shu
b9dfd7d93b Add: (regexp) Alias "r"
Thanks to Feng Shu (@tumashu).
2019-12-19 13:12:23 -06:00
Adam Porter
70a1acde93 Docs: Tidy changelog for 0.4.0-pre 2019-12-06 22:08:52 -06:00
Adam Porter
cb84615d89 Tidy: helm-org-ql 2019-12-02 20:21:34 -06:00
Adam Porter
d7fe019d6a Fix: (helm-source-org-ql-views) Call helm-make-source directly
Avoids macro expansion issues if Helm is not yet loaded.

Fixes #60.  Thanks to @matthuszagh for reporting.
2019-11-29 21:08:22 -06:00
Adam Porter
d3a73732ac Notes: Tidy 2019-11-28 15:09:43 -06:00
Adam Porter
a1851ed0eb Fix: (--value-at) Clear value cache when buffer changes
Fixes #59.  Thanks to Daniel Hubmann (@hubisan) for reporting.
2019-11-24 05:43:21 -06:00
Adam Porter
02159a831a Notes: Add/update 2019-11-24 05:25:38 -06:00
Adam Porter
d3272cdd8b Add: (view--display) Insert newline at end of buffer
Prevents end-of-buffer from scrolling the window horizontally.

Fixes #50.  Thanks to @xeijin for suggesting.
2019-11-05 15:41:15 -06:00
Adam Porter
cb6509ca6a Notes: Add mailing list post by John Kitchin 2019-10-28 08:29:06 -05:00
Adam Porter
0d6523f85b Add: (heading) Alias "h" 2019-10-19 02:10:04 -05:00
Adam Porter
7d321630a0 Test: Add test for negated, plain quoted phrase
0.3.2 doesn't have negation, and this should be tested with negation.
2019-10-19 02:04:04 -05:00
Adam Porter
d5c26b7f60 Merge: 0.3.2 2019-10-19 02:01:13 -05:00
Adam Porter
2274efce07 Release: 0.3.2 2019-10-19 01:55:35 -05:00
Adam Porter
7a4a41e402 Fix: Quoted phrase plain-string queries 2019-10-19 01:55:33 -05:00
Adam Porter
43b94dd4a8 Fix: (org-ql-views) Beginning/end-of-week timestamp times 2019-10-19 01:08:44 -05:00
Adam Porter
f2910261e2 Fix: (org-ql-search) Accept symbol as arg to :super-groups 2019-10-19 01:08:42 -05:00
Adam Porter
be7ac9921d Meta: 0.3.2-pre 2019-10-19 01:00:45 -05:00
Adam Porter
949a06c3ab Add: Negation in plain queries 2019-10-09 19:05:11 -05:00
Adam Porter
6b2004e678 Change/Fix: (src) predicate
Use keyword args, fix non-sexp syntax and searching.
2019-10-09 17:21:47 -05:00
Adam Porter
af0ef304e1 Merge: 0.3.1 2019-10-09 15:17:54 -05:00
Adam Porter
60ebad21f4 Fix: Compatibility with Org 9.2
Thanks to Brian Leung (@leungbk).  See #49.

Released as 0.3.1.
2019-10-09 15:15:13 -05:00
Adam Porter
8e6f221063 Fix: Require map
Thanks to Brian Leung (@leungbk).  See #49.
2019-10-09 14:45:24 -05:00
Adam Porter
37ba30c969 Add: src predicate 2019-10-09 14:23:29 -05:00
Adam Porter
a60c238417 Fix: (org-ql-search) Bind print-length in interactive form
The list of buffers/files must always be printed completely.
2019-10-08 21:02:18 -05:00
Adam Porter
e9e756331c Fix: (--outline-path) Always return a string
org-heading-components returns nil for a heading without heading text,
which causes string-match to signal an error.  So we'll match the
regexp ourselves and return an empty string in that case.  Should be
slightly faster, anyway.
2019-10-08 20:55:51 -05:00
Adam Porter
da9be83326 Add: helm-org-ql-views, helm-source-org-ql-views 2019-10-08 16:45:41 -05:00
Adam Porter
13723f8163 Change: (helm-org-ql) Disable highlighting
Doesn't work properly because input contains predicates and keywords
that shouldn't be highlighted.  Might try to fix it someday to only
use args to (regexp) and (heading).
2019-10-07 22:45:39 -05:00
Adam Porter
553c22c3ac Add: Adjust search parameters in view buffers 2019-10-07 22:44:56 -05:00
Adam Porter
7fa0d83a54 Add: helm-org-ql-source, org-ql-search-directories-files, etc. 2019-10-07 20:08:01 -05:00
Adam Porter
34cdbd5c87 Docs: Add info manual
Updating readme accordingly, based on org-super-agenda's, which is
based on Magit's and Org's.
2019-10-07 19:53:11 -05:00
Adam Porter
ad20029721 Notes: Update 2019-10-07 19:53:11 -05:00
Adam Porter
c06e5518eb Add: Predicates outline-path, outline-path-segment 2019-10-07 19:53:10 -05:00