CEDET in emacs (command line mode) - emacs

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

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,

Related

Emacs commands hints and history

I just reinstalled Emacs from scratch and I am missing a extension that showed hints
about the commands i am typing in the command line. It also showed a history of what i used before.
It looked something like:
M-x list-p {list-packages} {example-command} {example-ex1} {example-ex2}
I have just a basic setup with prelude right now.
I really need this extension. I learned a lot from it.
It's maybe ido-mode (M-x ido-mode) or a bit different emacs-helm

Emacs auto-complete for slime not allowing pop-up selection

On Emacs 24.3.50.1 I have auto-complete mode up and running (by using source code and following their setup, plus other's added suggestions). Then I installed ac-slime from ELPA-land (Version: 20131005.1126), which puts it in ~/.emacs.d/elpa/ac-slime-20131005.1126. However, the .emacs usage code doesn't seem to make any specific note of where this directory is. I suspect I don't really have ac-slime working properly as I can't choose from pop-up suggestion list with return key. Any ideas how to get it working?

Emacs ECB Alternative

I've been using Emacs as a PHP IDE for quite some time now (with emacs-starter-kit, ECB, & Geben). With each new release for emacs-starter-kit or Emacs 24, ECB introduces new errors & window issues. It doesn't seem well-maintained anymore (last release was 2009).
Wondering if there's a project-manager / IDE emacs plugin that's today's defacto? Something that does file-browsing (like sr-speedbar), method list, possibly even auto ctags?
The answer is that unfortunately no such thing exists. emacs-nav offer a file browser similar to the one in ECB and you can use something like helm to jump to various stuff in your project (like files, tags, imenu entries, etc). Small utils like projectile might also be helpful to you.
All in all using heavyweight tools like ECB is not the Emacs way and I guess this is the reason while its development has stagnated - few Emacs users would use a tool like that given there a smaller more flexible alternatives.
I'm use sr-speedbar to file browser
http://emacswiki.org/emacs/SrSpeedbar
I'm using ecb on emacs-24 with no problems. the only thing I had to add to my .emacs was:
(setq stack-trace-on-error t)
it prevents from throwing errors on ecb startup. What kind of window issues do you experience?

How do I get SLIME + Emacs set up?

According to this answer, Emacs + Slime already has much advanced functionality. So how can I get syntax coloring, auto-completion, and perhaps even version control management, set up and running in my copy of Lispbox?
If it's of any help, I have installed Lispbox on Mac OS Lion.
Syntax highlighting should already be working as soon as you load a lisp file in Emacs, regardless of whether you've got SLIME installed or not. If it's not, try doing M-x font-lock-mode and see if that turns it on.
Version control isn't provided by Emacs or SLIME, but Emacs can integrate with pretty much any version control system you care to use. I recommend Mercurial or Git. Emacs should start vc-mode automatically when you open a file that is in one of the supported version control systems. The manual includes extensive documentation, do M-: (info "(emacs)Version Control") to jump right to it.
Auto-completion is more complicated. There is more than one way to skin this cat, but for Lisp SLIME's default method should be good enough. Use M-TAB to complete the symbol at point.

Is there a mode for Visual Basic (VB6) in Emacs?

I would like to use Emacs to edit some VB6 files but Emacs does not appear to have any of built-in niceties of other languages such as syntax highlighting, etc.
Any plugins/extensions? What else can I do to make Emacs an acceptable and comfortable IDE for VB?
Visual Basic mode
http://www.emacswiki.org/cgi-bin/wiki/visual-basic-mode.el
edit: after installing this script (see script for instructions) syntax highlighting can be toggled via the options menu -- emacs calls it 'font-lock' :)
See these links:
xahlee.info
Emacs wiki
For VB.NET, there is also a VBNET mode.