* Using only my-own cedet
@ 2010-08-03 11:32 Andrea Crotti
2010-08-03 16:19 ` suvayu ali
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Crotti @ 2010-08-03 11:32 UTC (permalink / raw)
To: help-gnu-emacs
Now emacs 23.2 has cedet already shipped in, which is great, but I can't
assume that everywhere (and other people) are using 23.2.
Some time ago I tried to use the cedet from cvs and set up all the paths
correctly.
But I had some strange problems which later I understood where due to
the fact that I was using both implementations (which are incompatible).
Is there anyone uses it's own cedet in 23.2 also?
Or should I brutally delete it (or remove from the path) to make sure it
doesn't interfere?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using only my-own cedet
2010-08-03 11:32 Using only my-own cedet Andrea Crotti
@ 2010-08-03 16:19 ` suvayu ali
2010-08-03 18:09 ` Andrea Crotti
0 siblings, 1 reply; 5+ messages in thread
From: suvayu ali @ 2010-08-03 16:19 UTC (permalink / raw)
To: Andrea Crotti; +Cc: help-gnu-emacs
On 3 August 2010 04:32, Andrea Crotti <andrea.crotti.0@gmail.com> wrote:
> Is there anyone uses it's own cedet in 23.2 also?
> Or should I brutally delete it (or remove from the path) to make sure it
> doesn't interfere?
Just load the appropriate .elc file. I think the major difference
between the two version is how you set it up. The cedet integrated
with emacs is turned on with various minor modes and the cedet from
CVS is loaded with something like this,
(load-file "~/.emacs.d/elisp/cedet/common/cedet.elc")
(setq semantic-load-turn-useful-things-on t)
Hope this helps.
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using only my-own cedet
2010-08-03 16:19 ` suvayu ali
@ 2010-08-03 18:09 ` Andrea Crotti
2010-08-03 18:20 ` Lennart Borgman
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Crotti @ 2010-08-03 18:09 UTC (permalink / raw)
To: help-gnu-emacs
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>
> Just load the appropriate .elc file. I think the major difference
> between the two version is how you set it up. The cedet integrated
> with emacs is turned on with various minor modes and the cedet from
> CVS is loaded with something like this,
>
> (load-file "~/.emacs.d/elisp/cedet/common/cedet.elc")
> (setq semantic-load-turn-useful-things-on t)
>
> Hope this helps.
Very good it works now!
I had to change to this
--8<---------------cut here---------------start------------->8---
(load (concat conf "cedet/common/cedet"))
(setq semantic-load-turn-everything-on t)
--8<---------------cut here---------------end--------------->8---
which if I understood correctly will load the elc if possible and el
otherwise.
Thanks finally I got it running fine :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using only my-own cedet
2010-08-03 18:09 ` Andrea Crotti
@ 2010-08-03 18:20 ` Lennart Borgman
2010-08-03 18:36 ` Andrea Crotti
0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman @ 2010-08-03 18:20 UTC (permalink / raw)
To: Andrea Crotti; +Cc: help-gnu-emacs
> (load (concat conf "cedet/common/cedet"))
It is a bit easier and more portable to use expand-file-name instead of concat.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using only my-own cedet
2010-08-03 18:20 ` Lennart Borgman
@ 2010-08-03 18:36 ` Andrea Crotti
0 siblings, 0 replies; 5+ messages in thread
From: Andrea Crotti @ 2010-08-03 18:36 UTC (permalink / raw)
To: help-gnu-emacs
Lennart Borgman <lennart.borgman@gmail.com> writes:
>> (load (concat conf "cedet/common/cedet"))
>
> It is a bit easier and more portable to use expand-file-name instead of concat.
Well that "conf" variable is a full path, so it is in fact portable in theory...
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-03 18:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 11:32 Using only my-own cedet Andrea Crotti
2010-08-03 16:19 ` suvayu ali
2010-08-03 18:09 ` Andrea Crotti
2010-08-03 18:20 ` Lennart Borgman
2010-08-03 18:36 ` Andrea Crotti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).