Ben Alexander <[email protected]> writes:
> However, all of the following attempts to search for both kinds of (or
> all) values fail (no error, just the wrong value). What am I doing
> wrong?
>
> (length (org-map-entries t "+LEDGER={\"transaction\"\|\"entry\"}"))
> => 0
> (length (org-map-entries t "+LEDGER={transaction\|entry}"))
> => 0
> (length (org-map-entries t "+LEDGER=entry"))
> => 0
> (length (org-map-entries t "+LEDGER"))
> => 0
>
Try this: (add 2 more \ characters before the |)
(length (org-map-entries t "+LEDGER={transaction\\\|entry}"))
=> 3
HTH,
Bernt
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode