Skip to content

Commit 0a7e4f3

Browse files
committedJan 19, 2020
Add: (org-ql-view-refresh) Message on refresh
Closes #71. Thanks to @xeijin. Squashed commit of the following: commit edac9c6 Author: Adam Porter <[email protected]> Date: Sat Jan 18 20:24:28 2020 -0600 Adjust message, indentation, add changelog entry commit 6a263e3 Author: xeijin <[email protected]> Date: Fri Jan 3 19:08:10 2020 +0000 removing view title commit fc37e3f Author: xeijin <[email protected]> Date: Mon Dec 9 22:47:00 2019 +0000 confirmation message for org-ql-view-refresh In keeping with the message displayed by `g` when refreshing an org-agenda buffer - if nothing has changed in an `org-ql` buffer it can sometimes be difficult to determine if the refresh took place at all.
1 parent f42bc40 commit 0a7e4f3

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed
 

‎README.org

+1
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
397397
- Alias =r= for =regexp= predicate. (Thanks to [[https://github.com/tumashu][Feng Shu]].)
398398
+ Info manual.
399399
+ Function ~helm-org-ql-source~, which returns a Helm source that searches given buffers/files with ~helm-org-ql~. It can be used for custom Helm commands that search certain files.
400+
+ Display a message when views are refreshed. (Thanks to [[https://github.com/xeijin][xeijin]].)
400401

401402
*Fixed*
402403
+ Inherit file tags when =org-tag-inheritance= is enabled. (Fixes [[https://github.com/alphapapa/org-ql/issues/55][#55]]. Thanks to [[https://github.com/mskorzhinskiy][Mikhail Skorzhinskiy]].)

‎org-ql-view.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ update search arguments."
300300
(goto-char (point-min))
301301
(or (when (search-forward current-line nil t)
302302
(beginning-of-line))
303-
(goto-char old-pos))))
303+
(goto-char old-pos))
304+
(message "View refreshed")))
304305

305306
(defun org-ql-view-save ()
306307
"Save current `org-ql-search' buffer to `org-ql-views'."

‎org-ql.info

+14-12
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,8 @@ File: README.info, Node: 04-pre, Next: 032, Up: Changelog
721721
• Function ‘helm-org-ql-source’, which returns a Helm source that
722722
searches given buffers/files with ‘helm-org-ql’. It can be used
723723
for custom Helm commands that search certain files.
724+
• Display a message when views are refreshed. (Thanks to xeijin
725+
(https://github.com/xeijin).)
724726

725727
*Fixed*
726728
• Inherit file tags when org-tag-inheritance is enabled. (Fixes #55
@@ -1026,18 +1028,18 @@ Node: Agenda-like views18025
10261028
Node: Listing / acting-on results19430
10271029
Node: Changelog24032
10281030
Node: 04-pre24569
1029-
Node: 03226584
1030-
Node: 03126965
1031-
Node: 0327160
1032-
Node: 02330133
1033-
Node: 02230359
1034-
Node: 02130625
1035-
Node: 0230822
1036-
Node: 0134855
1037-
Node: Notes34954
1038-
Node: Comparison with Org Agenda searches35116
1039-
Node: org-sidebar35987
1040-
Node: License36266
1031+
Node: 03226689
1032+
Node: 03127070
1033+
Node: 0327265
1034+
Node: 02330238
1035+
Node: 02230464
1036+
Node: 02130730
1037+
Node: 0230927
1038+
Node: 0134960
1039+
Node: Notes35059
1040+
Node: Comparison with Org Agenda searches35221
1041+
Node: org-sidebar36092
1042+
Node: License36371
10411043

10421044
End Tag Table
10431045

0 commit comments

Comments
 (0)
Please sign in to comment.