From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Stefan van der Walt <stefanv@berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: DONE items skipped in org-map-entries
Date: Mon, 29 Aug 2016 00:15:53 +0200 [thread overview]
Message-ID: <87h9a4v8ti.fsf@saiph.selenimh> (raw)
In-Reply-To: <1472338182.3937731.708026393.1463BA38@webmail.messagingengine.com> (Stefan van der Walt's message of "Sat, 27 Aug 2016 15:49:42 -0700")
Hello,
Stefan van der Walt <stefanv@berkeley.edu> writes:
> For a while now, I've been using the solution to the following
> StackOverflow question to archive all done subitems:
>
> http://stackoverflow.com/a/27043756/214686
>
> (I've repeated the question and answer below, for completeness.)
>
> A few months ago, I noticed that the given solution no longer works.
> Investigating (with org-mode/2016-08-22), it looks like org-map-entries
> skips DONE items---likely different behavior from before.
>
> The following test function can be used to replicate:
>
> (defun org-count ()
> (interactive)
> (message "entries %d" (length
> (org-map-entries t t 'tree))))
>
> Executing this function on any heading with the "DONE" tag returns 0.
>
> Is this the correct behavior for org-map-entries?
I'm not able to reproduce the issue. I tried with the following document
** DONE Foo
*** Bar
with point anywhere on the first line, `org-count' displays "entries 2".
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-08-28 22:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 22:49 DONE items skipped in org-map-entries Stefan van der Walt
2016-08-28 22:15 ` Nicolas Goaziou [this message]
2016-08-29 18:18 ` Stefan van der Walt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9a4v8ti.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=stefanv@berkeley.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.