[Top][All Lists]

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

Re: [O] Remembrance Agent and Orgmode

From: Eric Fraga
Subject: Re: [O] Remembrance Agent and Orgmode
Date: Sat, 29 Sep 2012 12:30:53 +0930
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)


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)

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
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

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 and Org release_7.9.1-412-g75820c

reply via email to

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