Merge: 0.4.4

This commit is contained in:
Adam Porter 2020-03-15 15:04:29 -05:00
commit d55c01d2ae
3 changed files with 77 additions and 60 deletions

View file

@ -412,6 +412,11 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
*Changed* *Changed*
+ Binding to refresh search/view buffers changed to =r=. + Binding to refresh search/view buffers changed to =r=.
** 0.4.4
*Fixed*
+ Compatibility with Org Agenda remote editing commands (some of which were broken by 0.4.3). (Fixes [[https://github.com/alphapapa/org-ql/issues/102][#102]]. Thanks to [[https://github.com/AloisJanicek][Alois Janíček]] for reporting.)
** 0.4.3 ** 0.4.3
*Fixed* *Fixed*

View file

@ -315,7 +315,7 @@ TYPE may be `ts', `ts-active', `ts-inactive', `clocked', or
If PROMPT is non-nil (interactively, with prefix), prompt to If PROMPT is non-nil (interactively, with prefix), prompt to
update search arguments." update search arguments."
(interactive "P") (interactive "P")
(unless (eq major-mode 'org-ql-view-mode) (unless org-ql-view-buffers-files
(user-error "Not an Org QL View buffer")) (user-error "Not an Org QL View buffer"))
(let* ((current-line (buffer-substring-no-properties (line-beginning-position) (line-end-position))) (let* ((current-line (buffer-substring-no-properties (line-beginning-position) (line-end-position)))
(old-pos (point)) (old-pos (point))
@ -374,10 +374,6 @@ update search arguments."
;;;; Functions ;;;; Functions
(define-derived-mode org-ql-view-mode org-agenda-mode "Org QL View"
"Major mode for `org-ql-view' buffers."
(setf buffer-read-only t))
(defun org-ql-view--list-buffer () (defun org-ql-view--list-buffer ()
"Return view list buffer." "Return view list buffer."
(with-current-buffer (get-buffer-create "*Org QL View List*") (with-current-buffer (get-buffer-create "*Org QL View List*")
@ -499,8 +495,9 @@ with human-readable strings."
If NAME is non-nil, return buffer by that name instead of using If NAME is non-nil, return buffer by that name instead of using
default buffer." default buffer."
(with-current-buffer (get-buffer-create (or name (concat org-ql-view-buffer-name-prefix "*"))) (with-current-buffer (get-buffer-create (or name (concat org-ql-view-buffer-name-prefix "*")))
(unless (eq major-mode 'org-ql-view-mode) (unless (eq major-mode 'org-agenda-mode)
(org-ql-view-mode)) (org-agenda-mode)
(setf buffer-read-only t))
(current-buffer))) (current-buffer)))
(defun org-ql-view--format-relative-date (difference) (defun org-ql-view--format-relative-date (difference)

View file

@ -64,6 +64,7 @@ Functions / Macros
Changelog Changelog
* 0.5-pre: 05-pre. * 0.5-pre: 05-pre.
* 0.4.4: 044.
* 0.4.3: 043. * 0.4.3: 043.
* 0.4.2: 042. * 0.4.2: 042.
* 0.4.1: 041. * 0.4.1: 041.
@ -720,6 +721,7 @@ releases.
* Menu: * Menu:
* 0.5-pre: 05-pre. * 0.5-pre: 05-pre.
* 0.4.4: 044.
* 0.4.3: 043. * 0.4.3: 043.
* 0.4.2: 042. * 0.4.2: 042.
* 0.4.1: 041. * 0.4.1: 041.
@ -734,7 +736,7 @@ releases.
* 0.1: 01. * 0.1: 01.
 
File: README.info, Node: 05-pre, Next: 043, Up: Changelog File: README.info, Node: 05-pre, Next: 044, Up: Changelog
5.1 0.5-pre 5.1 0.5-pre
=========== ===========
@ -750,9 +752,21 @@ File: README.info, Node: 05-pre, Next: 043, Up: Changelog
• Binding to refresh search/view buffers changed to r. • Binding to refresh search/view buffers changed to r.
 
File: README.info, Node: 043, Next: 042, Prev: 05-pre, Up: Changelog File: README.info, Node: 044, Next: 043, Prev: 05-pre, Up: Changelog
5.2 0.4.3 5.2 0.4.4
=========
*Fixed*
• Compatibility with Org Agenda remote editing commands (some of
which were broken by 0.4.3). (Fixes #102
(https://github.com/alphapapa/org-ql/issues/102). Thanks to Alois
Janíček (https://github.com/AloisJanicek) for reporting.)

File: README.info, Node: 043, Next: 042, Prev: 044, Up: Changelog
5.3 0.4.3
========= =========
*Fixed* *Fixed*
@ -762,7 +776,7 @@ File: README.info, Node: 043, Next: 042, Prev: 05-pre, Up: Changelog
 
File: README.info, Node: 042, Next: 041, Prev: 043, Up: Changelog File: README.info, Node: 042, Next: 041, Prev: 043, Up: Changelog
5.3 0.4.2 5.4 0.4.2
========= =========
*Fixed* *Fixed*
@ -771,7 +785,7 @@ File: README.info, Node: 042, Next: 041, Prev: 043, Up: Changelog
 
File: README.info, Node: 041, Next: 04, Prev: 042, Up: Changelog File: README.info, Node: 041, Next: 04, Prev: 042, Up: Changelog
5.4 0.4.1 5.5 0.4.1
========= =========
*Fixed* *Fixed*
@ -781,7 +795,7 @@ File: README.info, Node: 041, Next: 04, Prev: 042, Up: Changelog
 
File: README.info, Node: 04, Next: 032, Prev: 041, Up: Changelog File: README.info, Node: 04, Next: 032, Prev: 041, Up: Changelog
5.5 0.4 5.6 0.4
======= =======
_Note:_ The next release, 0.5, may include changes which will require _Note:_ The next release, 0.5, may include changes which will require
@ -862,7 +876,7 @@ as they will be pushed to the master branch when ready.
 
File: README.info, Node: 032, Next: 031, Prev: 04, Up: Changelog File: README.info, Node: 032, Next: 031, Prev: 04, Up: Changelog
5.6 0.3.2 5.7 0.3.2
========= =========
*Fixed* *Fixed*
@ -875,7 +889,7 @@ File: README.info, Node: 032, Next: 031, Prev: 04, Up: Changelog
 
File: README.info, Node: 031, Next: 03, Prev: 032, Up: Changelog File: README.info, Node: 031, Next: 03, Prev: 032, Up: Changelog
5.7 0.3.1 5.8 0.3.1
========= =========
*Fixed* *Fixed*
@ -885,7 +899,7 @@ File: README.info, Node: 031, Next: 03, Prev: 032, Up: Changelog
 
File: README.info, Node: 03, Next: 023, Prev: 031, Up: Changelog File: README.info, Node: 03, Next: 023, Prev: 031, Up: Changelog
5.8 0.3 5.9 0.3
======= =======
*Added* *Added*
@ -950,8 +964,8 @@ File: README.info, Node: 03, Next: 023, Prev: 031, Up: Changelog
 
File: README.info, Node: 023, Next: 022, Prev: 03, Up: Changelog File: README.info, Node: 023, Next: 022, Prev: 03, Up: Changelog
5.9 0.2.3 5.10 0.2.3
========= ==========
*Fixed* *Fixed*
• Priority queries could fail to match headings whose to-do keywords • Priority queries could fail to match headings whose to-do keywords
@ -960,7 +974,7 @@ File: README.info, Node: 023, Next: 022, Prev: 03, Up: Changelog
 
File: README.info, Node: 022, Next: 021, Prev: 023, Up: Changelog File: README.info, Node: 022, Next: 021, Prev: 023, Up: Changelog
5.10 0.2.2 5.11 0.2.2
========== ==========
*Fixed* *Fixed*
@ -971,7 +985,7 @@ File: README.info, Node: 022, Next: 021, Prev: 023, Up: Changelog
 
File: README.info, Node: 021, Next: 02, Prev: 022, Up: Changelog File: README.info, Node: 021, Next: 02, Prev: 022, Up: Changelog
5.11 0.2.1 5.12 0.2.1
========== ==========
*Fixed* *Fixed*
@ -981,7 +995,7 @@ File: README.info, Node: 021, Next: 02, Prev: 022, Up: Changelog
 
File: README.info, Node: 02, Next: 01, Prev: 021, Up: Changelog File: README.info, Node: 02, Next: 01, Prev: 021, Up: Changelog
5.12 0.2 5.13 0.2
======== ========
*Added* *Added*
@ -1064,7 +1078,7 @@ File: README.info, Node: 02, Next: 01, Prev: 021, Up: Changelog
 
File: README.info, Node: 01, Prev: 02, Up: Changelog File: README.info, Node: 01, Prev: 02, Up: Changelog
5.13 0.1 5.14 0.1
======== ========
First tagged release. First tagged release.
@ -1122,44 +1136,45 @@ GPLv3
 
Tag Table: Tag Table:
Node: Top225 Node: Top225
Node: Contents1467 Node: Contents1482
Node: Screenshots1590 Node: Screenshots1605
Node: Installation1708 Node: Installation1723
Node: Quelpa2346 Node: Quelpa2361
Node: Usage2789 Node: Usage2804
Node: Commands3138 Node: Commands3153
Node: org-ql-search3611 Node: org-ql-search3626
Node: helm-org-ql5325 Node: helm-org-ql5340
Node: org-ql-view5737 Node: org-ql-view5752
Node: org-ql-view-sidebar6237 Node: org-ql-view-sidebar6252
Node: org-ql-view-recent-items6593 Node: org-ql-view-recent-items6608
Node: org-ql-sparse-tree7077 Node: org-ql-sparse-tree7092
Node: Queries7877 Node: Queries7892
Node: Non-sexp query syntax8785 Node: Non-sexp query syntax8800
Node: General predicates10492 Node: General predicates10507
Node: Ancestor/descendant predicates15707 Node: Ancestor/descendant predicates15722
Node: Date/time predicates16835 Node: Date/time predicates16850
Node: Functions / Macros19490 Node: Functions / Macros19505
Node: Agenda-like views19723 Node: Agenda-like views19738
Node: Listing / acting-on results21128 Node: Listing / acting-on results21143
Node: Changelog25730 Node: Changelog25745
Node: 05-pre26324 Node: 05-pre26354
Node: 04326688 Node: 04426718
Node: 04226886 Node: 04327078
Node: 04127045 Node: 04227273
Node: 0427284 Node: 04127432
Node: 03231215 Node: 0427671
Node: 03131592 Node: 03231602
Node: 0331787 Node: 03131979
Node: 02334760 Node: 0332174
Node: 02234986 Node: 02335147
Node: 02135254 Node: 02235375
Node: 0235453 Node: 02135643
Node: 0139488 Node: 0235842
Node: Notes39589 Node: 0139877
Node: Comparison with Org Agenda searches39751 Node: Notes39978
Node: org-sidebar40623 Node: Comparison with Org Agenda searches40140
Node: License40902 Node: org-sidebar41012
Node: License41291
 
End Tag Table End Tag Table