Setting up Emacs to interact with Pathway Tools in Lisp Mode
I’d like to know how “power users” set up their Pathway Tools environment for API hacking. Can anyone help me out?
First time here? Check out the FAQ!
Pathway Tools has a built-in Lisp environment that you can use to programmatically query and modify your Pathway / Genome Database. You can access the Lisp listener by starting up Pathway Tools like so: pathway-tools -lisp
. Interacting with it via Emacs provides you with a fully-integrated IDE that provides debugging support, syntax high-lighting, and syntax-aware navigation commands. The recommended Common Lisp interaction platform for Pathway Tools users is SLIME, the Superior Lisp Interaction Mode for Emacs.
These instructions were generously provided by Jeremy Zucker.
.emacs
file:
(setq slime-lisp-implementations '((ptools ("/usr/local/bin/pathway-tools" "-api" "-lisp") :init slime-init-command))) (add-to-list 'load-path "/path/to/slime")
M-x slime
, you will get an error like this:Condition: Can't locate the module "SCM"
files.bu
into the pathway-tools exe directory (shown below).cp /Applications/AllegroCL/files.bu /usr/local/pathway-tools/aic-export/pathway-tools/12.5/exe
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-05-01 13:39:34 -0500
Seen: 1,566 times
Last updated: Jun 19 '15