Using The Remembrance Agent with Emacs

I've started using The Rememberance Agent within Emacs on my MacBook. This means that I get a "window" (in Emacs' parlance, actually a buffer within my overall Emacs window) that displays a list of files most relevant to the text I am currently editing.

The code below will skip over the remembrance output when switching between buffers:

  1.  
  2. (defun bh-other-window ()
  3. (interactive)
  4. (other-window 1)
  5. (if (string-equal (buffer-name (window-buffer)) "*remem-display*")
  6. (other-window 1)
  7. )
  8. )
  9. (global-set-key (kbd "C-x o") 'bh-other-window)
  10.  

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>