help-gnu-emacs
[Top][All Lists]
Advanced

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

Setting vairables in .emacs and the PMD Emacs plugin


From: Michelle
Subject: Setting vairables in .emacs and the PMD Emacs plugin
Date: Wed, 20 Oct 2004 10:49:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803

Hi there,

I'm trying to install the PMD plugin* for emacs (a toold for analyzing java source code). My sys admin already put the pmd.el and pmd.elc on emacs, but I need to set up my .emacs file. I don't have one in my home directory, so I tried making one like so:


--- Begin .emacs ------------------------------------
(require 'pmd)

(set-pmd-java "/usr/local/j2sdk1.4.1_02/bin/java")
(set-pmd-home "/usr/local/pmd")
(set-pmd-rulesets "/usr/local/pmd")--
--- End .emacs ------------------------------------

However, I keep getting the error, "Error in init file: Symbol's function definition is void". I've tried different formats, etc. but it's not helping. Can anyobdy offer any advice?

Yes, I've read (and am still reading) the manual ;-)

- Best regards,
  Michelle

* http://pmd.sourceforge.net/integrations.html


reply via email to

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