emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* map bug
@ 2008-11-30  6:37 Samuel Wales
  2008-12-02 15:55 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2008-11-30  6:37 UTC (permalink / raw)
  To: emacs-orgmode

Manual says:

  The following example counts the number of entries with TODO keyword
  WAITING, in all agenda files.

       (length (org-map-entries t "/+WAITING" nil 'agenda))

Org says invalid function for the string.

Newest release.

-- 
Myalgic encephalomyelitis denialists are knowingly causing further
suffering and death by opposing biomedical research on this serious
infectious disease.  Do you care about the world?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: map bug
  2008-11-30  6:37 map bug Samuel Wales
@ 2008-12-02 15:55 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-12-02 15:55 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Fixed, thanks for the report.

Please note that aside from bigs in the mapping function,
also the example in the manual was wrong.  You should use this:

       (length (org-map-entries t "/+WAITING" 'agenda))


HTH

- Carsten

On Nov 30, 2008, at 7:37 AM, Samuel Wales wrote:

> Manual says:
>
>  The following example counts the number of entries with TODO keyword
>  WAITING, in all agenda files.
>
>       (length (org-map-entries t "/+WAITING" nil 'agenda))
>
> Org says invalid function for the string.
>
> Newest release.
>
> -- 
> Myalgic encephalomyelitis denialists are knowingly causing further
> suffering and death by opposing biomedical research on this serious
> infectious disease.  Do you care about the world?
> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-02 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-30  6:37 map bug Samuel Wales
2008-12-02 15:55 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).