Add: (org-ql-view-refresh) Message on refresh
Closes #71. Thanks to @xeijin. Squashed commit of the following: commitedac9c6960Author: Adam Porter <adam@alphapapa.net> Date: Sat Jan 18 20:24:28 2020 -0600 Adjust message, indentation, add changelog entry commit6a263e34ffAuthor: xeijin <xeijin@users.noreply.github.com> Date: Fri Jan 3 19:08:10 2020 +0000 removing view title commitfc37e3f146Author: 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:
parent
f42bc4019d
commit
0a7e4f349f
3 changed files with 17 additions and 13 deletions
|
|
@ -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]].)
|
- Alias =r= for =regexp= predicate. (Thanks to [[https://github.com/tumashu][Feng Shu]].)
|
||||||
+ Info manual.
|
+ 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.
|
+ 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*
|
*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]].)
|
+ 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]].)
|
||||||
|
|
|
||||||
|
|
@ -300,7 +300,8 @@ update search arguments."
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(or (when (search-forward current-line nil t)
|
(or (when (search-forward current-line nil t)
|
||||||
(beginning-of-line))
|
(beginning-of-line))
|
||||||
(goto-char old-pos))))
|
(goto-char old-pos))
|
||||||
|
(message "View refreshed")))
|
||||||
|
|
||||||
(defun org-ql-view-save ()
|
(defun org-ql-view-save ()
|
||||||
"Save current `org-ql-search' buffer to `org-ql-views'."
|
"Save current `org-ql-search' buffer to `org-ql-views'."
|
||||||
|
|
|
||||||
26
org-ql.info
26
org-ql.info
|
|
@ -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
|
• Function ‘helm-org-ql-source’, which returns a Helm source that
|
||||||
searches given buffers/files with ‘helm-org-ql’. It can be used
|
searches given buffers/files with ‘helm-org-ql’. It can be used
|
||||||
for custom Helm commands that search certain files.
|
for custom Helm commands that search certain files.
|
||||||
|
• Display a message when views are refreshed. (Thanks to xeijin
|
||||||
|
(https://github.com/xeijin).)
|
||||||
|
|
||||||
*Fixed*
|
*Fixed*
|
||||||
• Inherit file tags when org-tag-inheritance is enabled. (Fixes #55
|
• 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: Listing / acting-on results19430
|
||||||
Node: Changelog24032
|
Node: Changelog24032
|
||||||
Node: 04-pre24569
|
Node: 04-pre24569
|
||||||
Node: 03226584
|
Node: 03226689
|
||||||
Node: 03126965
|
Node: 03127070
|
||||||
Node: 0327160
|
Node: 0327265
|
||||||
Node: 02330133
|
Node: 02330238
|
||||||
Node: 02230359
|
Node: 02230464
|
||||||
Node: 02130625
|
Node: 02130730
|
||||||
Node: 0230822
|
Node: 0230927
|
||||||
Node: 0134855
|
Node: 0134960
|
||||||
Node: Notes34954
|
Node: Notes35059
|
||||||
Node: Comparison with Org Agenda searches35116
|
Node: Comparison with Org Agenda searches35221
|
||||||
Node: org-sidebar35987
|
Node: org-sidebar36092
|
||||||
Node: License36266
|
Node: License36371
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue