From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Setting vairables in .emacs and the PMD Emacs plugin Date: Wed, 20 Oct 2004 11:47:00 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <4176972b$1_4@news3.es.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098298079 1904 80.91.229.6 (20 Oct 2004 18:47:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 18:47:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 20 20:47:44 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 1CKLUu-00034J-00 for ; Wed, 20 Oct 2004 20:47:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKLcJ-0001ZK-Bh for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Oct 2004 14:55:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKLbz-0001ZB-Ow for help-gnu-emacs@gnu.org; Wed, 20 Oct 2004 14:55:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKLby-0001Yv-8p for help-gnu-emacs@gnu.org; Wed, 20 Oct 2004 14:55:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKLby-0001Ye-28 for help-gnu-emacs@gnu.org; Wed, 20 Oct 2004 14:55:02 -0400 Original-Received: from [141.146.126.231] (helo=agminet04.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CKLUF-00016c-T9 for help-gnu-emacs@gnu.org; Wed, 20 Oct 2004 14:47:04 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9KIl1E7001396 for ; Wed, 20 Oct 2004 11:47:02 -0700 Original-Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i9KIl1SU029121 for ; Wed, 20 Oct 2004 12:47:01 -0600 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i9KIl186029110 for ; Wed, 20 Oct 2004 12:47:01 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4176972b$1_4@news3.es.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 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:21359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21359 The error you are getting is saying that one or more of the symbols set-pmd-java, set-pmd-home, and set-pmd-rulesets is not a defined function (yet you are calling them as functions in your .emacs). They are probably not defined because library pmd never got loaded. You need to check that library pmd actually gets loaded. Look at variable "features" to see if it contains pmd: C-h v RET features If not, then pmd never got loaded, probably because the directory pmd.el[c] is not in your load-path (another Emacs variable). You need to do this in your .emacs file, in that case, before the "require": (add-to-list 'load-path "your-path-to-directory-with-pmd") HTH, Drew -----Original Message-----From: Michelle (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")-- 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?