Fix: (property) Handle org-use-property-inheritance when unspecified

Fixes #356.

Reported-by: beast-pro <https://github.com/beast-pro>
Reported-by: pcompassion <https://github.com/pcompassion>
This commit is contained in:
Adam Porter 2023-12-16 04:59:12 -06:00
parent 004ed1ee0f
commit 1496185141
3 changed files with 72 additions and 59 deletions

View file

@ -521,9 +521,8 @@ Arguments are listed next to predicate names, where applicable.
Return non-nil if current entry has PROPERTY (a string), and
optionally VALUE (a string). If INHERIT is nil, only match
entries with PROPERTY set on the entry; if t, also match entries
with inheritance. If INHERIT is not specified, use the Boolean
value of org-use-property-inheritance, which see (i.e. it is
only interpreted as nil or non-nil).
with inheritance. If INHERIT is not specified, use the value of
org-use-property-inheritance, which see.
regexp (&rest regexps)
Return non-nil if current entry matches all of REGEXPS (regexp
strings). Matches against entire entry, from beginning of its
@ -1095,6 +1094,12 @@ File: README.info, Node: 08-pre, Next: 074, Up: Changelog
(https://github.com/alphapapa/org-ql/issues/363). Thanks to
Gabriele Mongiano (https://github.com/kofm) for reporting.)
*Fixes*
• Predicate property correctly uses the value of
org-use-property-inheritance when not specified (#356
(https://github.com/alphapapa/org-ql/issues/356)).
*Compatibility*
• Org v9.7s org-element API changes required some adjustments.
@ -1875,57 +1880,57 @@ Node: org-ql-sparse-tree10124
Node: Queries10924
Node: Non-sexp query syntax12041
Node: General predicates13800
Node: Ancestor/descendant predicates20787
Node: Date/time predicates21915
Node: Functions / Macros25039
Node: Agenda-like views25337
Ref: Function org-ql-block25499
Node: Listing / acting-on results26760
Ref: Caching26968
Ref: Function org-ql-select27881
Ref: Function org-ql-query30307
Ref: Macro org-ql (deprecated)32081
Node: Custom predicates32396
Ref: Macro org-ql-defpred32620
Node: Dynamic block36061
Node: Links38785
Node: Tips39472
Node: Changelog39796
Node: 08-pre40620
Node: 07442732
Node: 07342959
Node: 07243691
Node: 07144610
Node: 0745419
Node: 06348343
Node: 06248874
Node: 06149179
Node: 0649747
Node: 05252803
Node: 05153105
Node: 0553530
Node: 04955061
Node: 04855343
Node: 04755692
Node: 04656101
Node: 04556509
Node: 04456870
Node: 04357229
Node: 04257432
Node: 04157593
Node: 0457840
Node: 03261941
Node: 03162344
Node: 0362541
Node: 02365841
Node: 02266075
Node: 02166355
Node: 0266560
Node: 0170638
Node: Notes70739
Node: Comparison with Org Agenda searches70901
Node: org-sidebar71790
Node: License72069
Node: Ancestor/descendant predicates20725
Node: Date/time predicates21853
Node: Functions / Macros24977
Node: Agenda-like views25275
Ref: Function org-ql-block25437
Node: Listing / acting-on results26698
Ref: Caching26906
Ref: Function org-ql-select27819
Ref: Function org-ql-query30245
Ref: Macro org-ql (deprecated)32019
Node: Custom predicates32334
Ref: Macro org-ql-defpred32558
Node: Dynamic block35999
Node: Links38723
Node: Tips39410
Node: Changelog39734
Node: 08-pre40558
Node: 07442864
Node: 07343091
Node: 07243823
Node: 07144742
Node: 0745551
Node: 06348475
Node: 06249006
Node: 06149311
Node: 0649879
Node: 05252935
Node: 05153237
Node: 0553662
Node: 04955193
Node: 04855475
Node: 04755824
Node: 04656233
Node: 04556641
Node: 04457002
Node: 04357361
Node: 04257564
Node: 04157725
Node: 0457972
Node: 03262073
Node: 03162476
Node: 0362673
Node: 02365973
Node: 02266207
Node: 02166487
Node: 0266692
Node: 0170770
Node: Notes70871
Node: Comparison with Org Agenda searches71033
Node: org-sidebar71922
Node: License72201

End Tag Table