1
votes

I'm trying to setup and android development on my mac using Emacs and CEDET (I hate Eclipse, and I want to keep using emacs, but I want the auto-completion, so this setup seemed perfect).

However, I want to use emacs in the terminal. I have a problem with the auto-completion. CEDET is trying to use the graphical menu "popup-menu" and I got an error in CLI mode: "Symbol's function definition is void: popup-menu", which makes perfect sense.

My question is, is there any way to use Emacs' termcap menu for CEDET auto-completion?

Thanks!

Thibault.

Edit: you can find my emacs configuration there: https://github.com/tbronchain/emacs

Edit2: here are some screenshots showing 1- What is the CEDET auto-completion in GUI mode 2- the menu I would like to use for CEDET in CLI mode

CEDET = http://bit.ly/1iptfq3 auto-complete = http://bit.ly/1kZVDz9

1
I recommend you report this via M-x report-emacs-bug. Oh, wait, I think I misunderstood; the problem is probably in auto-complete which is not part of Emacs. - Stefan
Indeed, my problem isn't really a bug. I think CEDET auto completion isn't compatible with CLI emacs (is it?), so I would like to trick it and use the standard auto-completion menu instead. I wanted to know if anyone faced it before (am I the only one trying to do some android development on emacs with a good old terminal? I guess no ... and I guess everyone would like to get the auto-completion for big API class names ...) - termux
I think auto-complete + yasnippet + cscope + etag is better than CEDET. CEDET is so slowly.. - Jerry Zhang
Please explain what you mean by "auto completion". - Stefan
You might also like to try company-mode: it's similar to auto-complete and comes with a Semantic backend, so it can use CEDET. - Stefan

1 Answers

0
votes

I got my answer!

I didn't succeed to replace the menu by auto-complete, however, it works perfectly with company! It is a little bit more messy than the GUI menu, but it's still awesome!

Thanks to @Stefan for helping with this!

I will post my full configuration on github when I'll be done with this configuration (I'm trying to optimise the keyboard shortcuts a bit).

Cheers,