Commit graph

778 commits

Author SHA1 Message Date
Adam Porter
16cb6cef52 Tests: Declare variable 2020-01-08 13:05:50 -06:00
Adam Porter
9d15f503ba Tidy: Use alternatives to map-put
Emacs 27 marks map-put as obsolete and renames it to map-put!, which
causes byte-compilation warnings (sigh...isn't that the definition of
useless churn?).  Of course, map-put! doesn't exist in Emacs 26, so we
can't just use that.  I'm beginning to think that it will never be
possible to make the linting clean.
2020-01-08 12:58:52 -06:00
Adam Porter
3ce29bee46 Meta: (test.yml) Don't count lint failure as job failure
It's more valuable to see at a glance that the tests passed than to
have every run indicate failure because of lint failures, especially
when some of the lint failures come from package-lint issues that may
be patched in the future.
2020-01-08 12:45:53 -06:00
Adam Porter
5b48d62e87 Meta: Update Makefile, makem.sh 2020-01-08 11:01:18 -06:00
Adam Porter
9f5bbeb3f2 Fix: Inherit org-file-tags
Fixes #55.  Closes #57.

Thanks to Mikhail Skorzhinskiy (@mskorzhinskiy).
2020-01-08 10:58:55 -06:00
Adam Porter
dadbbe4a87 Tests: Allow using other data file 2020-01-08 09:26:55 -06:00
Adam Porter
2a7440b639 Tests: Move non-test-data to notes.org 2020-01-08 09:00:24 -06:00
Adam Porter
d2f7b06f3d Tests: Rename symbols, fix loading test data interactively 2020-01-08 06:48:11 -06:00
Adam Porter
21c7dc1587 Notes: Add idea 2020-01-07 08:51:19 -06:00
Adam Porter
fa1e3354b6 Notes: Add org-sql 2020-01-04 09:03:32 -06:00
Adam Porter
2af9515934 Notes: Add about org-element cache 2020-01-04 08:32:41 -06:00
Adam Porter
fb830f8577 Meta: (test.yml) Use checkout@v2 2020-01-04 01:50:11 -06:00
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