Also use org-entry-get to get the heading, which should avoid issues
with different Org versions having different optional arguments to
org-get-heading.
This seems to work better now with default Emacs completion (i.e. not
using Vertico or Helm). It's still not perfect, but it seems to work
reasonably well and be more correct.
Fixes#338. Thanks to @arozbiz for reporting.
Org 9.3 stopped replacing brackets in link descriptions with braces
and started escaping them instead.
Fixes#283. Thanks to Daniel Borchmann (@exot) for reporting.
See, e.g. <https://github.com/magnars/dash.el/pull/375>.
Ultimately I'd prefer to indent with one distinguished argument, but
the noise it causes downstream is likely not worth it. (And,
unfortunately, the indentation of the built-in thread-first and
thread-last forms has changed to be like this as well, which is even
worse, causing 10-11 characters of extra indentation in those forms'
bodies!)
Fixes#314, fixes#316. Thanks to Akira Komamura (@akirak) and Joon
Ro (@joonro) for reporting.
Instead of `[blank]` in this PEX, it used to be `(syntax-class
whitespace)`, which worked fine with peg v1.0. Then
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59345> was filed and
resulted in the release of peg v1.0.1, after which that no longer
worked. As best I can tell from reading the discussion, `[blank]` and
`(syntax-class whitespace)` should behave the same way, yet here they
do not: with peg v1.0.1, only `[blank]` works. Why, I do not know; I
only tried it because I could find no explanation for the broken
behavior, and luckily, it works. Maybe it's due to the use of
`(syntax-class whitespace)` later in the `pexs`; but since it finally
works again, let's take the victory as-is.
commit d8f29225a3
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Fri Sep 24 15:47:38 2021 -0500
Abstract buffers-files being flattened to a list of strings
commit 2d49745425
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Fri Sep 17 17:53:21 2021 -0500
Fix: \w duplicates & func's with buffers/names with expand/contract
commit 576f9d3512
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Thu Sep 16 18:42:32 2021 -0500
Handling support for functions \w functions using completing-read-multiple
commit cea165192d
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Thu Sep 16 16:49:19 2021 -0500
Cleaning up functions and improvements for clarity.
commit aa9c6ccdfa
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Wed Sep 15 17:56:19 2021 -0500
Adding `comma separated` instruction to readme
commit 564d491604
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Mon Sep 13 17:05:14 2021 -0500
Fixes for using mulitiple values and related test suite improvements
commit ffaebcbcbe
Merge: 788951a94f9e6f
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Mon Sep 13 13:15:57 2021 -0500
Merge branch 'master' of https://github.com/alphapapa/org-ql
commit 788951a4a9
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Mon Sep 13 11:01:55 2021 -0500
Replacing org-ql-view--expand-buffers-files
commit cabf88eea5
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Mon Jul 19 00:19:52 2021 -0500
removing duplcates when expanding buffers-files
commit b68d836562
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Sun Jul 18 23:49:54 2021 -0500
Using completing-read-multiple for org-ql-view--complete-buffers-files
commit 06bdfc7a9e
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Sun Jul 4 23:32:08 2021 -0500
Fn always promts for buffer/files; handle buffer obj and list
Fn: org-ql-view--complete-buffers-files
With buffers, org-ql-view--contract-buffers-files return the buffer
name.
When org-ql-view-buffers-files is a list, just dumpt it as a string
and check if completion-read returns the same value, if so return the
original value of org-ql-view-buffers-files
commit cc6e22dd30
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Sun Jul 4 23:31:31 2021 -0500
Allow reading buffer names for buffers-or-names
commit 89b84768ad
Author: Ahmed Shariff <ahmed.shariff@live.com>
Date: Sat Jul 3 21:25:10 2021 -0500
Test cases for all org-ql-view--*-buffers-files functions
commit 7120b6334d
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Sat Jul 3 02:17:33 2021 -0500
Refactor of org-ql-view--complete-buffers-files
Handles the different values `org-ql-view-buffers-files` can hold.
Use completing-read only if `org-ql-view-buffers-files` is nil or the
contracted form of `org-ql-view-buffers-files` is a string.
commit 7b990e5275
Author: Ahmed Shariff <shariff.mfa@outlook.com>
Date: Wed Jun 30 18:01:49 2021 -0500
Fix for issue with initial-input in org-ql-view--complete-buffers-files