emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode and searching for multiple occurances


From: Stephan Schmitt
Subject: Re: [Orgmode] Org-mode and searching for multiple occurances
Date: Wed, 10 Feb 2010 16:46:28 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hello Evita,

you may want to try M-x org-occur:

org-occur is an interactive compiled Lisp function in `org.el'.

(org-occur regexp &optional keep-previous callback)

Make a compact tree which shows all matches of regexp.
The tree will show the lines where the regexp matches, and all higher
headlines above the match.  It will also show the heading after the match,
to make sure editing the matching entry is easy.
If keep-previous is non-nil, highlighting and exposing done by a previous
call to `org-occur' will be kept, to allow stacking of calls to this
command.
If callback is non-nil, it is a function which is called to confirm
that the match should indeed be shown.

But this only shows the matching entries, it doesn't generate a list of the entries (like running a query on a database).

Hth,
        Stephan


Also sprach evita moreno:
Hello to everyone!

I am a teacher trying to teach young people how to use org-mode for writing. We have created a database with notes on literature review outlined in org-mode in the following format:

* jones2000
blah blah blah keyword1 keyword2
*jones2007
blah blah keyword2

and so on. I was wondering whether there is a way where one can search for a keyword in the database (more than 350 papers up to now) and can get in an automatic fashion in which of the jones' entries these keywords occur (pretty much like using MS Access and running a query). Is this possible? Maybe what I am asking for is outright crazy/impossible but I thought I should give it a go!

Evita


------------------------------------------------------------------------
Hotmail: Free, trusted and rich email service. Get it now. <https://signup.live.com/signup.aspx?id=60969>


------------------------------------------------------------------------

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]