Ihor Radchenko <yanta...@posteo.net> writes: >> Expected behaviour: produce a sparse tree. >> >> Actual result: no sparse tree. > > Thanks for reporting! > Confirmed. > > This is because `org-sparse-tree' will produce the following matcher: > > TEST-HELLO="one" > > Which is interpreted as: Has tag "TEST" and does not have property > "HELLO" set to "one".
`org-make-tags-matcher' is now supposed to handle \-escaped dashes in properties. However, it does not seem to work: (org-make-tags-matcher "TEST\-HELLO=\"one\"" t) yields (progn (setq org-cached-props nil) (or (and (not (string= (or (org-cached-entry-get nil \"HELLO\") \"\") \"one\")) (member \"TEST\" tags-list)))) Jens, do you have any ideas? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>