From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Fraga Subject: Re: Remembrance Agent and Orgmode Date: Sat, 29 Sep 2012 12:30:53 +0930 Message-ID: <87y5jtedne.fsf@ucl.ac.uk> References: <20120717.121640.76594278.slade@jnanam.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THnIj-0008K9-B9 for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 23:01:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THnIg-0001fG-Ur for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 23:01:09 -0400 Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:3404 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THnIg-0001ek-R1 for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 23:01:06 -0400 In-Reply-To: <20120717.121640.76594278.slade@jnanam.net> (Benjamin Slade's message of "Tue, 17 Jul 2012 12:16:40 -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: Benjamin Slade Cc: Karl Voit , emacs-orgmode@gnu.org Hi, sorry I am coming late to this thread. I use the Remembrance Agent. It works great for me, trawling both emails and all my text (org, latex, etc.) documents automatically for similarities in text while I write. It's ideal for academic writing (papers, proposals). The agent is not intrusive at all, assuming you have a large enough display and works particularly well if you use a display in portrait orientation, as I do for writing. There are two elements to setting this up: the emacs side and the remembrance agent itself. For emacs, my settings are straightforward: #+begin_src emacs-lisp (setq hilit-background-mode 'dark) ; if you have a dark background, obviously ;-) (require 'remem) (setq remem-database-dir "/home/ucecesf/s/share/remembrance-agent" remem-load-original-suggestion t remem-prog-dir "/usr/bin" remem-scopes-list '(("documents" 4 5 500) ("mail" 4 10 500) )) #+end_src For the agent itself, I use cron to update the databases every night with an entry that looks like this: ,---- | 12 4 * * * sh /home/ucecesf/s/bin/ra-buildindices.sh `---- The contents of that shell script are: #+begin_src sh #!/bin/sh -f B="/home/ucecesf/s/share/remembrance-agent" ra-index ${B}/mail ${HOME}/s/News/agent/nnimap/ucl > /dev/null ra-index ${B}/documents ${HOME}/s/notes ${HOME}/s/grants ${HOME}/s/talks ${HOME}/s/papers ${HOME}/s/projects > /dev/null #+end_src In all of the above, you will need to change all the appropriate paths for the location of the databases and the places to search. The two index commands trawl my emails and my relevant documents respectively. I hope this helps. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.2.50.1 and Org release_7.9.1-412-g75820c