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.
This commit is contained in:
parent
cb6509ca6a
commit
d3272cdd8b
3 changed files with 63 additions and 42 deletions
|
|
@ -386,6 +386,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
|
||||||
+ Command ~helm-org-ql-views~, which shows one of ~org-ql-views~ selected with Helm.
|
+ Command ~helm-org-ql-views~, which shows one of ~org-ql-views~ selected with Helm.
|
||||||
+ Predicate ~src~, which matches Org Babel source blocks.
|
+ Predicate ~src~, which matches Org Babel source blocks.
|
||||||
+ Alias =h= for =heading= predicate.
|
+ Alias =h= for =heading= predicate.
|
||||||
|
+ Search/view buffers now always end with a newline, which prevents side-scrolling of the window when calling =end-of-buffer=.
|
||||||
|
|
||||||
*Internal*
|
*Internal*
|
||||||
+ Added generic node data cache to speed up recursive, tree-based queries.
|
+ Added generic node data cache to speed up recursive, tree-based queries.
|
||||||
|
|
|
||||||
|
|
@ -378,7 +378,7 @@ subsequent refreshing of the buffer: `org-ql-view-buffers-files',
|
||||||
;; Clear buffer, insert entries, etc.
|
;; Clear buffer, insert entries, etc.
|
||||||
(let ((inhibit-read-only t))
|
(let ((inhibit-read-only t))
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
(insert string)
|
(insert string "\n")
|
||||||
(pop-to-buffer (current-buffer) org-ql-view-display-buffer-action)
|
(pop-to-buffer (current-buffer) org-ql-view-display-buffer-action)
|
||||||
(org-agenda-finalize)
|
(org-agenda-finalize)
|
||||||
(goto-char (point-min))))))
|
(goto-char (point-min))))))
|
||||||
|
|
|
||||||
102
org-ql.info
102
org-ql.info
|
|
@ -63,6 +63,7 @@ Functions / Macros
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
* 0.4-pre: 04-pre.
|
* 0.4-pre: 04-pre.
|
||||||
|
* 0.3.2: 032.
|
||||||
* 0.3.1: 031.
|
* 0.3.1: 031.
|
||||||
* 0.3: 03.
|
* 0.3: 03.
|
||||||
* 0.2.3: 023.
|
* 0.2.3: 023.
|
||||||
|
|
@ -372,6 +373,7 @@ Arguments are listed next to predicate names, where applicable.
|
||||||
‘heading (&rest regexps)’
|
‘heading (&rest regexps)’
|
||||||
Return non-nil if current entry’s heading matches all ‘REGEXPS’
|
Return non-nil if current entry’s heading matches all ‘REGEXPS’
|
||||||
(regexp strings).
|
(regexp strings).
|
||||||
|
• Aliases: h.
|
||||||
‘level (level-or-comparator &optional level)’
|
‘level (level-or-comparator &optional level)’
|
||||||
Return non-nil if current heading’s outline level matches
|
Return non-nil if current heading’s outline level matches
|
||||||
arguments. The following forms are accepted: ‘(level NUMBER)’:
|
arguments. The following forms are accepted: ‘(level NUMBER)’:
|
||||||
|
|
@ -681,6 +683,7 @@ releases.
|
||||||
* Menu:
|
* Menu:
|
||||||
|
|
||||||
* 0.4-pre: 04-pre.
|
* 0.4-pre: 04-pre.
|
||||||
|
* 0.3.2: 032.
|
||||||
* 0.3.1: 031.
|
* 0.3.1: 031.
|
||||||
* 0.3: 03.
|
* 0.3: 03.
|
||||||
* 0.2.3: 023.
|
* 0.2.3: 023.
|
||||||
|
|
@ -690,7 +693,7 @@ releases.
|
||||||
* 0.1: 01.
|
* 0.1: 01.
|
||||||
|
|
||||||
|
|
||||||
File: README.info, Node: 04-pre, Next: 031, Up: Changelog
|
File: README.info, Node: 04-pre, Next: 032, Up: Changelog
|
||||||
|
|
||||||
5.1 0.4-pre
|
5.1 0.4-pre
|
||||||
===========
|
===========
|
||||||
|
|
@ -711,15 +714,31 @@ File: README.info, Node: 04-pre, Next: 031, Up: Changelog
|
||||||
• Command ‘helm-org-ql-views’, which shows one of ‘org-ql-views’
|
• Command ‘helm-org-ql-views’, which shows one of ‘org-ql-views’
|
||||||
selected with Helm.
|
selected with Helm.
|
||||||
• Predicate ‘src’, which matches Org Babel source blocks.
|
• Predicate ‘src’, which matches Org Babel source blocks.
|
||||||
|
• Alias h for heading predicate.
|
||||||
|
• Search/view buffers now always end with a newline, which prevents
|
||||||
|
side-scrolling of the window when calling end-of-buffer.
|
||||||
|
|
||||||
*Internal*
|
*Internal*
|
||||||
• Added generic node data cache to speed up recursive, tree-based
|
• Added generic node data cache to speed up recursive, tree-based
|
||||||
queries.
|
queries.
|
||||||
|
|
||||||
|
|
||||||
File: README.info, Node: 031, Next: 03, Prev: 04-pre, Up: Changelog
|
File: README.info, Node: 032, Next: 031, Prev: 04-pre, Up: Changelog
|
||||||
|
|
||||||
5.2 0.3.1
|
5.2 0.3.2
|
||||||
|
=========
|
||||||
|
|
||||||
|
*Fixed*
|
||||||
|
• In org-ql-search, accept symbol as ‘:super-groups’ argument.
|
||||||
|
• In the This week and Next week default org-ql-views views, set
|
||||||
|
timestamps for beginning-of-week to 00:00:00 and end-of-week to
|
||||||
|
23:59:59.
|
||||||
|
• Plain quoted-phrases in non-sexp queries.
|
||||||
|
|
||||||
|
|
||||||
|
File: README.info, Node: 031, Next: 03, Prev: 032, Up: Changelog
|
||||||
|
|
||||||
|
5.3 0.3.1
|
||||||
=========
|
=========
|
||||||
|
|
||||||
*Fixed*
|
*Fixed*
|
||||||
|
|
@ -729,7 +748,7 @@ File: README.info, Node: 031, Next: 03, Prev: 04-pre, 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.3 0.3
|
5.4 0.3
|
||||||
=======
|
=======
|
||||||
|
|
||||||
*Added*
|
*Added*
|
||||||
|
|
@ -794,7 +813,7 @@ 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.4 0.2.3
|
5.5 0.2.3
|
||||||
=========
|
=========
|
||||||
|
|
||||||
*Fixed*
|
*Fixed*
|
||||||
|
|
@ -804,7 +823,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.5 0.2.2
|
5.6 0.2.2
|
||||||
=========
|
=========
|
||||||
|
|
||||||
*Fixed*
|
*Fixed*
|
||||||
|
|
@ -815,7 +834,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.6 0.2.1
|
5.7 0.2.1
|
||||||
=========
|
=========
|
||||||
|
|
||||||
*Fixed*
|
*Fixed*
|
||||||
|
|
@ -825,7 +844,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.7 0.2
|
5.8 0.2
|
||||||
=======
|
=======
|
||||||
|
|
||||||
*Added*
|
*Added*
|
||||||
|
|
@ -908,7 +927,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.8 0.1
|
5.9 0.1
|
||||||
=======
|
=======
|
||||||
|
|
||||||
First tagged release.
|
First tagged release.
|
||||||
|
|
@ -969,38 +988,39 @@ GPLv3
|
||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
Node: Top225
|
Node: Top225
|
||||||
Node: Contents1352
|
Node: Contents1367
|
||||||
Node: Screenshots1500
|
Node: Screenshots1515
|
||||||
Node: Installation1618
|
Node: Installation1633
|
||||||
Node: Quelpa2256
|
Node: Quelpa2271
|
||||||
Node: Usage2699
|
Node: Usage2714
|
||||||
Node: Commands3609
|
Node: Commands3624
|
||||||
Node: org-ql-search3838
|
Node: org-ql-search3853
|
||||||
Node: helm-org-ql5486
|
Node: helm-org-ql5501
|
||||||
Node: org-ql-view5898
|
Node: org-ql-view5913
|
||||||
Node: org-ql-view-sidebar6096
|
Node: org-ql-view-sidebar6111
|
||||||
Node: org-ql-view-recent-items6452
|
Node: org-ql-view-recent-items6467
|
||||||
Node: org-ql-sparse-tree6936
|
Node: org-ql-sparse-tree6951
|
||||||
Node: Queries7736
|
Node: Queries7751
|
||||||
Node: Non-sexp query syntax8578
|
Node: Non-sexp query syntax8593
|
||||||
Node: Predicates10277
|
Node: Predicates10292
|
||||||
Node: Date/time predicates15391
|
Node: Date/time predicates15430
|
||||||
Node: Functions / Macros18026
|
Node: Functions / Macros18065
|
||||||
Node: Agenda-like views18213
|
Node: Agenda-like views18252
|
||||||
Node: Listing / acting-on results19618
|
Node: Listing / acting-on results19657
|
||||||
Node: Changelog24220
|
Node: Changelog24259
|
||||||
Node: 04-pre24742
|
Node: 04-pre24796
|
||||||
Node: 03125830
|
Node: 03226057
|
||||||
Node: 0326028
|
Node: 03126438
|
||||||
Node: 02329001
|
Node: 0326633
|
||||||
Node: 02229227
|
Node: 02329606
|
||||||
Node: 02129493
|
Node: 02229832
|
||||||
Node: 0229690
|
Node: 02130098
|
||||||
Node: 0133723
|
Node: 0230295
|
||||||
Node: Notes33822
|
Node: 0134328
|
||||||
Node: Comparison with Org Agenda searches33984
|
Node: Notes34427
|
||||||
Node: org-sidebar34855
|
Node: Comparison with Org Agenda searches34589
|
||||||
Node: License35134
|
Node: org-sidebar35460
|
||||||
|
Node: License35739
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue