Re: Trouble opening EDE projects on Windows
Isak Andersson <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Wow that worked like a charm, you just make me much more productive.
Thank you very much!
Cheers!
On 29/10/2014 02:12, Eric Ludlam wrote:
> Hi Isak,
>
> There are some symbols not getting autoloaded correctly in the version
> of EDE in default Emacs. To fix it, you can just do this in your
> .emacs file:
>
> (require 'ede/proj)
> (require 'ede/proj- <add stuff here>)
>
> where you need to look at missing symbol, such as
> `ede-proj-target-makefile-program', and know it is in ede/proj-prog,
> and require that.
>
> I believe this is not a problem in the version of CEDET from the
> CEDET/bzr repository.
>
> Eric
>
> On 10/28/2014 05:29 PM, Isak Andersson wrote:
>> Hello I'm having some issues opening projects after restarting emacs.
>> EDE works just fine
>> before restarting emacs. So any project that I created during the
>> current session works as it
>> should. When I try to open a file again then I get the following
>> backtrace:
>>
>> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>> child-of-class-p(ede-proj-target-makefile-program ede-target)
>> eieio-persistent-validate/fix-slot-value(ede-proj-project :targets
>> (list (ede-proj-target-makefile-program "cybi" :name "cybi" :path ""
>> :source (quote ("error.c" "lex.c" "main.c" "parse.c" "parser.c"))
>> :auxsource (quote ("bool.h" "lex.h" "parse.h" "parser.h")))))
>> eieio-persistent-convert-list-to-object((ede-proj-project
>> "cybi-project" :file "Project.ede" :name "cybi-project" :targets (list
>> (ede-proj-target-makefile-program "cybi" :name "cybi" :path "" :source
>> (quote ("error.c" "lex.c" "main.c" "parse.c" "parser.c")) :auxsource
>> (quote ("bool.h" "lex.h" "parse.h" "parser.h"))))
>> :configuration-variables (quote (("debug" ("CFLAGS" . "-Werror -Wall
>> -Wextra -std=c89 -pedantic-errors -Wmissing-prototypes
>> -Wstrict-prototypes -Wold-style-definition -g"))))))
>> eieio-persistent-read("c:/msys64/home/usefulProgrammer/src/yig/cybi/Project.ede"
>>
>> ede-proj-project)
>> ede-proj-load("c:/msys64/home/usefulProgrammer/src/yig/cybi/")
>> #[(this dir) "\303\304\"\204
>>
>> And if I call M-x customize-project instead I get this backtrace:
>>
>> Debugger entered--Lisp error: (wrong-type-argument (or eieio-object-p
>> class-p) nil)
>> signal(wrong-type-argument ((or eieio-object-p class-p) nil))
>> eieio-oref(nil local-variables)
>> customize-project()
>> call-interactively(customize-project record nil)
>> command-execute(customize-project record)
>> execute-extended-command(nil "customize-project")
>> call-interactively(execute-extended-command nil nil)
>>
>>
>> I have tried doing the process without my .emacs file so I know that
>> it's not a configuration error. Hope I can get some
>> help resolving this. I believe it to be a bug. I also tried it with
>> Emacs 24.4 and it was the same.
>>
>> Cheers!
>> Isak Andersson
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Cedet-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cedet-devel
>>
------------------------------------------------------------------------------