From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Bug: org-map-entries seems broken Date: Wed, 13 Jan 2016 11:39:20 -0500 Message-ID: <87k2ndfn7r.fsf@kyleam.com> References: <87lh7trhpz.fsf@jack.tftorrey.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJOSG-00048L-EN for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 11:39:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJOSD-0002HL-43 for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 11:39:28 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:51381 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJOSC-0002H1-UJ for emacs-orgmode@gnu.org; Wed, 13 Jan 2016 11:39:25 -0500 In-Reply-To: <87lh7trhpz.fsf@jack.tftorrey.com> (T. F. Torrey's message of "Wed, 13 Jan 2016 01:44:56 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "T.F. Torrey" Cc: emacs-orgmode@gnu.org Hello, "T.F. Torrey" writes: > Hello, > > I have a function that uses org-map-entries to build a list of entries. > It worked until recently. Now, it fails with simple combinations. For > instance, 'LEVEL=1' matches what it should, and 'weblog' matches what it > should, but 'LEVEL=1+weblog' does not match the intersecting set, or > anything at all. Did I miss a change in the syntax, or maybe did a > recent refactoring introduce an error? Does anyone else use this kind > of matching and have it work? Things seem to be working on my end. Both release_8.3.3 and the current master (23f31a9) are giving me the same results: --8<---------------cut here---------------start------------->8--- #+begin_src elisp (org-map-entries (lambda () (substring-no-properties (org-get-heading t))) "LEVEL=1") #+end_src #+RESULTS: | a | b | #+begin_src elisp (org-map-entries (lambda () (substring-no-properties (org-get-heading t))) "atag") #+end_src #+RESULTS: | aa | b | ba | bb | #+begin_src elisp (org-map-entries (lambda () (substring-no-properties (org-get-heading t))) "LEVEL=1+atag") #+end_src #+RESULTS: | b | * a ** aa :atag: ** ab * b :atag: ** ba ** bb --8<---------------cut here---------------end--------------->8--- -- Kyle