emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: "François Pinard" <pinard@iro.umontreal.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Massive Org search
Date: Wed, 04 Jan 2012 16:48:08 +0100	[thread overview]
Message-ID: <87lipnbhaf.fsf@gnu.org> (raw)
In-Reply-To: <877h17trsu.fsf@iro.umontreal.ca> ("François Pinard"'s message of "Wed, 04 Jan 2012 10:23:45 -0500")

Hi François,

pinard@iro.umontreal.ca (François Pinard) writes:

> I'm a rather recent Org mode user.  Consolidating my previous data into
> Org mode gave 385 files using 5,5 Mb.  I quickly found out that this is
> too much for Org mode, if I want to be able to search it all using Org
> mode means.  So, I segregated a handful of agenda files, and developed a
> small tool for when I need a massive org search (which is often).  Let
> me share it, in case useful to others.  For the code, see:
>
> http://stackoverflow.com/questions/6554110/emacs-outline-mode-auto-expand-upon-grep/8439425
>
> The idea is simple: just use a recursive grep and normal compile-type
> buffer and commands, yet add a bit of code to reveal hidden text which
> is being located by the compile commands.  Also manage so that a mere
> C-s on the located buffer immediately show all occurrences.

I guess your code runs faster, but you might be interested in 

  M-x org-occur-in-agenda-files RET

HTH,

-- 
 Bastien

  reply	other threads:[~2012-01-04 15:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 15:23 Massive Org search François Pinard
2012-01-04 15:48 ` Bastien [this message]
2012-01-04 16:45   ` François Pinard
2012-01-04 15:49 ` Bernt Hansen
2012-01-04 16:51   ` François Pinard
2012-01-04 19:17   ` Org-mode performance (was: Massive Org search) Karl Voit
2012-01-05 13:14     ` Org-mode performance Karl Voit

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lipnbhaf.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinard@iro.umontreal.ca \
    /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 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).