Hi,

I was trying to configure JDE using the jde-mode-hook function
and noticed a minor (but critical) typo in the User's Guide.

Below is an excerpt of the relevant section of the JDE user's guide.

     You can customize the JDE by defining a JDE mode hook
     function in your .emacs file. The following is an example of
     how to do this:

          (defun my-jde-mode-hook ()
          (message "my-jde-mode-hook function executed"))
          (add-hook 'jde-mode-hooks 'my-jde-mode-hook)

     The preceding example defines a JDE mode hook function named
     my-jde-mode-hook
     and adds it to the list of JDE mode hook functions, using the
     Emacs Lisp
     function add-hook. Now, whenever you open a Java source file,
     jde-mode
     invokes the function my-jde-mode-hook.

I copied these three lines to my .emacs file, but couldn't see this
message.  It took me a while to figure out that the third line should
be  (add-hook 'jde-mode-hook 'my-jde-mode-hook)!  Software programs
can be sooo picky! :-)  Maybe this would have been obvious to some
one more proficient in Emacs/Lisp.

Other than this, my experience with JDE so far has been excellent!

Thanks,

Suresh

--
__________________________________________________________________
Suresh Ramaswamy                     Email: [EMAIL PROTECTED]
Oracle Forms Development               Tel: (650) 506-8463

Reply via email to