unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Setting vairables in .emacs and the PMD Emacs plugin
Date: Wed, 20 Oct 2004 11:47:00 -0700	[thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBOEJLCIAA.drew.adams@oracle.com> (raw)
In-Reply-To: <4176972b$1_4@news3.es.net>

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?

      reply	other threads:[~2004-10-20 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 16:49 Setting vairables in .emacs and the PMD Emacs plugin Michelle
2004-10-20 18:47 ` Drew Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FDELKNEBLPKKDCEBEJCBOEJLCIAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).