emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to find the headline matching a string
@ 2014-05-31 15:07 Chris Poole
  2014-05-31 15:27 ` Eric Abrahamsen
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Poole @ 2014-05-31 15:07 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Hi all,

Suppose I have a string, "my first task", that I know is tagged with
"laptop".

I want to search through the agenda files for a headline that matches this
string, to be able to mark it as DONE (in an automated fashion).

I can't find a function to search through for the headline --- is there one?

Else, is it best to concat all the agenda files into a larger buffer, then
parse the buffer and iterate through the headlines with org-element-map?


Cheers,
Chris

[-- Attachment #2: Type: text/html, Size: 666 bytes --]

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

end of thread, other threads:[~2014-06-04 11:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-31 15:07 How to find the headline matching a string Chris Poole
2014-05-31 15:27 ` Eric Abrahamsen
2014-05-31 16:51   ` Chris Poole
2014-05-31 17:00     ` Igor Sosa Mayor
2014-05-31 17:31       ` Chris Poole
2014-05-31 17:53         ` Igor Sosa Mayor
2014-05-31 20:14     ` Thorsten Jolitz
2014-06-01  4:05       ` Eric Abrahamsen
2014-06-03  9:05         ` Thorsten Jolitz
2014-06-03  9:51           ` Eric Abrahamsen
2014-06-03 20:21             ` Nicolas Goaziou
2014-06-04  1:36               ` Eric Abrahamsen
2014-06-04 11:27                 ` Thorsten Jolitz

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).