Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
After upgrading to the latest development sources of Emacs and Cedet
(via bzr), while visiting an Arduino sketch (foo.ino):
Menu Development -> Create Project
Project Type: ARDUINO SKETCH
eieio-validate-slot-value: Invalid slot type: ede-arduino-project, file,
This is my setup for Arduino support on .emacs:
(setq load-path (cons "~/elisp" load-path))
(add-to-list 'auto-mode-alist '("\\.\\(pde\\|ino\\)$" . arduino-mode))
(autoload 'arduino-mode "arduino-mode" "Arduino editing mode." t)
This is the output of cedet-version:
CEDET Version: 1.1
Requested File Loaded
Package Version Version Version
cedet: 1.1 ok ok
eieio: 1.4 1.3 1.3
semantic: 2.1 2.1beta 2.1beta
srecode: 1.1 1.0 1.0
ede: 1.1 1.0 1.0
speedbar: 1.0.4 nil 1.0
cogre: 1.1 ok Not Loaded
cedet-contrib: 1.1 nil Not Loaded
Why was eieio 1.4 requested version but 1.3 loaded? I checked that
(defvar eieio-version "1.3" "Current version of EIEIO.")
Finally, why is arduino support not included with the cedet sources
bundled with Emacs? Latest cedet pull from Emacs was done on October.
BTW, cedet 1.1 tarball fails to compile with bzr version of Emacs:
In toplevel form:
eieio-base.el:42:11:Error: Invalid function: object-class-fast
From: David Engster <deng@ra...> - 2012-11-12 19:23:36
Óscar Fuentes writes:
> Why was eieio 1.4 requested version but 1.3 loaded? I checked that
> $CEDET_BZR_DIR/lisp/eieio/eieio.el contains
> (defvar eieio-version "1.3" "Current version of EIEIO.")
Yes, that's an error on our part. I will fix this.
> Finally, why is arduino support not included with the cedet sources
> bundled with Emacs?
Because, as you've just experienced, it's not well tested. IMO it is too
early to merge it into Emacs.
I'm afraid I cannot really help you with the Arduino problems; Eric did
all that stuff, but he's currently busy.
> BTW, cedet 1.1 tarball fails to compile with bzr version of Emacs:
> In toplevel form:
> eieio-base.el:42:11:Error: Invalid function: object-class-fast
Yes, we will have to do a new release. Again, something that will have
to wait until Eric's back.