Add: (org-ql-view-refresh) Message on refresh

Closes #71.  Thanks to @xeijin.

Squashed commit of the following:

commit edac9c6960
Author: Adam Porter <adam@alphapapa.net>
Date:   Sat Jan 18 20:24:28 2020 -0600

    Adjust message, indentation, add changelog entry

commit 6a263e34ff
Author: xeijin <xeijin@users.noreply.github.com>
Date:   Fri Jan 3 19:08:10 2020 +0000

    removing view title

commit fc37e3f146
Author: xeijin <xeijin@users.noreply.github.com>
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.
This commit is contained in:
Adam Porter 2020-01-18 20:34:13 -06:00
parent f42bc4019d
commit 0a7e4f349f
3 changed files with 17 additions and 13 deletions

View file

@ -397,6 +397,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
- Alias =r= for =regexp= predicate. (Thanks to [[https://github.com/tumashu][Feng Shu]].)
+ Info manual.
+ 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.
+ Display a message when views are refreshed. (Thanks to [[https://github.com/xeijin][xeijin]].)
*Fixed*
+ 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]].)

View file

@ -300,7 +300,8 @@ update search arguments."
(goto-char (point-min))
(or (when (search-forward current-line nil t)
(beginning-of-line))
(goto-char old-pos))))
(goto-char old-pos))
(message "View refreshed")))
(defun org-ql-view-save ()
"Save current `org-ql-search' buffer to `org-ql-views'."

View file

@ -721,6 +721,8 @@ File: README.info, Node: 04-pre, Next: 032, Up: Changelog
• 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.
• Display a message when views are refreshed. (Thanks to xeijin
(https://github.com/xeijin).)
*Fixed*
• Inherit file tags when org-tag-inheritance is enabled. (Fixes #55
@ -1026,18 +1028,18 @@ Node: Agenda-like views18025
Node: Listing / acting-on results19430
Node: Changelog24032
Node: 04-pre24569
Node: 03226584
Node: 03126965
Node: 0327160
Node: 02330133
Node: 02230359
Node: 02130625
Node: 0230822
Node: 0134855
Node: Notes34954
Node: Comparison with Org Agenda searches35116
Node: org-sidebar35987
Node: License36266
Node: 03226689
Node: 03127070
Node: 0327265
Node: 02330238
Node: 02230464
Node: 02130730
Node: 0230927
Node: 0134960
Node: Notes35059
Node: Comparison with Org Agenda searches35221
Node: org-sidebar36092
Node: License36371

End Tag Table