From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: Massive Org search Date: Wed, 04 Jan 2012 10:23:45 -0500 Message-ID: <877h17trsu.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiSgw-0000QA-Fb for emacs-orgmode@gnu.org; Wed, 04 Jan 2012 10:23:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiSgs-00051l-Aw for emacs-orgmode@gnu.org; Wed, 04 Jan 2012 10:23:50 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:64499 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiSgs-00051e-78 for emacs-orgmode@gnu.org; Wed, 04 Jan 2012 10:23:46 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Org people. 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-u= pon-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. Fran=C3=A7ois