From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michelle Newsgroups: gmane.emacs.help Subject: Setting vairables in .emacs and the PMD Emacs plugin Date: Wed, 20 Oct 2004 10:49:25 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4176972b$1_4@news3.es.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098291170 12076 80.91.229.6 (20 Oct 2004 16:52:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 16:52:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 20 18:52:42 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKJha-0000Ve-00 for ; Wed, 20 Oct 2004 18:52:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKJoy-0006gX-Ux for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Oct 2004 13:00:21 -0400 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: 128.165.72.49 Original-X-Trace: news3.es.net 1098290987 128.165.72.49 (20 Oct 2004 09:49:47 -0700) Original-Lines: 26 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news3.es.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:125981 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21355 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21355 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