Hi,

     I put the (require 'tempo) in my .emacs file.  I still get the same error. 
If I explicitly do a (load-library "tempo"), it gets loaded and things work 
just fine.  Is there something I'm missing in my JDEE set-up that is not loading
tempo.el ?

I am using Emacs 22.2.1 on Debian/testing with JDE 2.3.5.1


cheers,

     mehul


Paul Landes said the following on 08/21/2008 12:06 AM:
> Put this in your ~/.emacs.el file:
> 
>   (require 'tempo)
> 
> If it complains it can't find it, google "tempo.el", put it in
> ~/.emacs.d and try again.  Restart Emacs after each go.
> 
> 
> Mehul N. Sanghvi writes:
>  > Hi,
>  > 
>  > Below is the output of the back-trace I get when I try to use 
>  > jde-gen-class-buffer to generate a class for me.
>  > 
>  > Here are the steps that I take to reproduce this:
>  > 
>  > M-x jde-gen-class-buffer RET
>  > <PATH-TO-JAVA-SOURCE-FILE>
>  > Package: RET
>  > extend: RET
>  > implement:  RET
>  > 
>  > I get the error at the point where I just press <Return> when it asks for 
>  > "implements:".
>  > 
>  > I am just starting to learn Java, along with JDE.  What does it want when 
> it 
>  > asks "implements" ?   Why can't I just leave it blank like I do for 
> Package and 
>  > extends ?  Is this from my ignorance/inexperience with Java or a JDE thing 
> ?
>  > 
>  > There is nothing like "implements" which is asked for when creating a 
> class in 
>  > Eclipse or NetBeans.
>  > 
>  > Any thoughts or suggestions ?
>  > 
>  > 
>  > cheers,
>  > 
>  >      mehul
>  > 
>  > 
>  > 
>  > 
>  > ---- BEGIN BACKTRACE -----
>  > Debugger entered--Lisp error: (void-function tempo-save-named)
>  >    tempo-save-named(modifiers "public")
>  >    jde-wiz-gen-method("public" "" "MoreJDETesting" "" "" "")
>  >    (progn (jde-wiz-gen-method "public" "" (file-name-sans-extension ...) 
> "" "" ""))
>  >    (let ((tempo-marks) (tempo-named-insertions) (tempo-region-start ...) 
>  > (tempo-region-stop ...)) (progn (jde-wiz-gen-method "public" "" ... "" "" 
> "")))
>  >    (progn (let (... ... ... ...) (progn ...)) nil)
>  >    (jde-gen-save-excursion (jde-wiz-gen-method "public" "" 
>  > (file-name-sans-extension ...) "" "" ""))
>  >    (progn (tempo-backward-mark) (jde-gen-save-excursion 
>  > (jde-gen-get-interface-implementation t)) (jde-gen-save-excursion 
>  > (jde-wiz-gen-method "public" "" ... "" "" "")))
>  >    eval((progn (tempo-backward-mark) (jde-gen-save-excursion 
>  > (jde-gen-get-interface-implementation t)) (jde-gen-save-excursion 
>  > (jde-wiz-gen-method "public" "" ... "" "" ""))))
>  >    tempo-insert((progn (tempo-backward-mark) (jde-gen-save-excursion 
>  > (jde-gen-get-interface-implementation t)) (jde-gen-save-excursion 
>  > (jde-wiz-gen-method "public" "" ... "" "" ""))) nil)
>  >    #[(elt) "Â^H  \"\207" [elt on-region tempo-insert] 3]((progn 
>  > (tempo-backward-mark) (jde-gen-save-excursion 
>  > (jde-gen-get-interface-implementation t)) (jde-gen-save-excursion 
>  > (jde-wiz-gen-method "public" "" ... "" "" ""))))
>  >    mapcar(#[(elt) "Â^H   \"\207" [elt on-region tempo-insert] 3] ((funcall 
>  > jde-gen-boilerplate-function) (jde-gen-get-package-statement) (progn 
> (require 
>  > ...) (jde-javadoc-insert-start-block)) " * Describe class " 
>  > (file-name-sans-extension (fi\
>  > le-name-nondirectory buffer-file-name)) " here." (quote n) " " 
>  > (jde-javadoc-insert-empty-line) " " (jde-javadoc-insert-empty-line) " * 
>  > Created: " (current-time-string) (quote n) " " 
> (jde-javadoc-insert-empty-line) 
>  > " " (jde-gen-save-excursion\
>  >   (jde-javadoc-insert ...)) " " (jde-gen-save-excursion 
> (jde-javadoc-insert 
>  > ...)) " " (jde-javadoc-insert-end-block) "public class " 
>  > (file-name-sans-extension (file-name-nondirectory buffer-file-name)) " " 
>  > (jde-gen-get-extend-class) (jde-gen-\
>  > electric-brace) (quote p) (quote n) "}" > (if jde-gen-comments (concat " 
> // " 
>  > ...)) (quote >) (quote n) (progn (tempo-backward-mark) 
> (jde-gen-save-excursion 
>  > ...) (jde-gen-save-excursion ...)) (progn (re-search-forward "^[        
> ]*$") 
>  > (setq \
>  > tempo-marks nil) nil)))
>  >    tempo-insert-template(tempo-template-java-class-buffer-template nil)
>  >    tempo-template-java-class-buffer-template()
>  >    jde-gen-class()
>  >  
>  > 
> jde-gen-class-buffer("~/Devel/Java-Passion/intro/getting_to_know_your_environment/hello/MoreJDETesting.java")
>  >    call-interactively(jde-gen-class-buffer)
>  >    execute-extended-command(nil)
>  >    call-interactively(execute-extended-command)
>  > 
>  > 
>  > ----- END BACKTRACE -----
>  > 
>  > -------------------------------------------------------------------------
>  > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
>  > Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
>  > Grand prize is a trip for two to an Open Source event anywhere in the world
>  > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>  > _______________________________________________
>  > jdee-users mailing list
>  > [email protected]
>  > https://lists.sourceforge.net/lists/listinfo/jdee-users
> 
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to