Looks like you're missing two close parens at the end of file (matching add-hook and lambda)
-Ross On Nov 7, 2009, at 5:29 PM, Marius wrote: > > Ok I got the answer for #2 and #3. > > For #1 I'm still not sure what it complains about but it seems to work > though. ALso sometime the Yasnippet menu is disappearing or when > clicking it, it has no sub-menus ... weird. > > Br's > Marius > > On Nov 7, 11:20 pm, Marius <[email protected]> wrote: >> Hi, >> >> Today I got real frustrated with Eclipse scala plugin (2.7.7) on >> Ubuntu 9.10. Out of the sudden it interprets reads Scala files as >> Java >> source ... I tried disabling the JDT weaver, I disabled it, but >> nothing the same thing. >> >> Ok ... time to try emacs .. which I'm starting to like more and more. >> >> A couple of questions. >> >> 1. My .emacs looks like: >> >> (setq inhibit-splash-screen t) >> >> (setq x-select-enable-clipboard t) ; >> (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) >> >> (add-to-list 'load-path "~/.emacs.d/plugins/scala-mode") >> >> (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet-0.6.1c") >> (require 'yasnippet) ;; not yasnippet-bundle >> (yas/initialize) >> (yas/load-directory "~/.emacs.d/plugins/yasnippet-0.6.1c/ >> snippets") >> >> (require 'scala-mode-auto) >> >> (add-hook 'scala-mode-hook >> '(lambda () >> (yas/minor-mode-on) >> >> But at startup I'm getting this: >> >> "An error has occurred while loading `/home/marius/.emacs': >> End of file during parsing: /home/marius/.emacs" >> >> If I use --debug-init I'm njot getting much info. Even with this >> yasnippet seems to work fine and scala syntax highlight works ok >> >> 2. Are there any shortcuts to put scala snippets in the code?.. I >> can >> put them from the scala-mode menu but a shortcut would be nice >> >> 3. What do you use for continuous compilation? >> >> I know there has been previous talks around this but please bear with >> me :) >> >> Br's, >> Marius > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
