emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Fraga <e.fraga@ucl.ac.uk>
To: Benjamin Slade <slade@jnanam.net>
Cc: Karl Voit <devnull@Karl-Voit.at>, emacs-orgmode@gnu.org
Subject: Re: Remembrance Agent and Orgmode
Date: Sat, 29 Sep 2012 12:30:53 +0930	[thread overview]
Message-ID: <87y5jtedne.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20120717.121640.76594278.slade@jnanam.net> (Benjamin Slade's message of "Tue, 17 Jul 2012 12:16:40 -0500")

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

  reply	other threads:[~2012-09-29  3:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 17:16 Remembrance Agent and Orgmode Benjamin Slade
2012-09-29  3:00 ` Eric Fraga [this message]
2012-10-01 17:20   ` Benjamin Slade
2012-10-11 12:08     ` Alan Schmitt
2012-10-12  7:08       ` Alan Schmitt
2012-10-12 15:40         ` Benjamin Slade
2012-10-13 15:29           ` Alan Schmitt
  -- strict thread matches above, loose matches on Subject: below --
2012-07-17 15:07 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=87y5jtedne.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=devnull@Karl-Voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=slade@jnanam.net \
    /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).