From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: Remembrance Agent and Orgmode Date: Mon, 01 Oct 2012 12:20:23 -0500 Message-ID: <87obkmjei0.fsf@jnanam.net> References: <20120717.121640.76594278.slade@jnanam.net>, <87y5jtedne.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIjfS-0005ch-77 for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 13:20:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIjfQ-0004Q7-IM for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 13:20:30 -0400 Received: from mail-oa0-f41.google.com ([209.85.219.41]:37698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIjfQ-0004PJ-Ch for emacs-orgmode@gnu.org; Mon, 01 Oct 2012 13:20:28 -0400 Received: by oagk14 with SMTP id k14so6083830oag.0 for ; Mon, 01 Oct 2012 10:20:27 -0700 (PDT) In-reply-to: <87y5jtedne.fsf@ucl.ac.uk> 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: Eric Fraga Cc: Karl Voit , emacs-orgmode@gnu.org Dear Eric, Many thanks for this; it was very useful: I've got the Remembrance Agent up and running now. Eric Fraga writes: > 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. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr Benjamin Slade Dept. of Linguistics & TESOL University of Texas at Arlington 132E Hammond Hall | Office Hours: tba ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {sent by mu4e on Emacs running under GNU/Linux}