senny / cabbage

get the maximum out of emacs
http://senny.github.com/cabbage/
156 stars 21 forks source link

Autocomplete does not work when open a python file in eclim project dir #149

Closed weiqiyiji closed 9 years ago

weiqiyiji commented 12 years ago

Eclim is automatically enabled when the file is in eclim project dir, then autocomplete will have eclim source, but if the file is a .py instead a .java, there's no autocomplete from eclim, and eclim reports an error, then autocomplete can not work anymore.

UPDATE: After set eclim-accepted-file-regexps, the autocomplete works. But every time I save python file, here's an error "error in process sentinel: condition-case: Missing required option: p error in process sentinel: Missing required option: p"

senny commented 12 years ago

@fred-o what do you think? Should we adjust the configuration for eclim?

fred-o commented 12 years ago

Sorry for the late reply. We should probably set eclim-accepted-file-regexps to something more restrictive, like *.java

I'll look into the save-hook thing

fred-o commented 12 years ago

The latest version of emacs-eclim should now only activate (and attempt completion) for .java files. Please try it out :)

senny commented 12 years ago

@fred-o can you update the necessary dependencies an open a PR?

fred-o commented 12 years ago

Done. I was a bit confused at first; didn't realize e-max had been renamed :)

senny commented 12 years ago

@fred-o sorry, that we missed you with the update. Please join the google group so that we can distribute further updates more easily: https://groups.google.com/forum/#!forum/emacs-cabbage

tonini commented 9 years ago

@senny I think this one could also be closed. fred-o made the updates via https://github.com/senny/cabbage/pull/163 right?

senny commented 9 years ago

Closing for now. If this is still an issue please report back and I'll happily reopen :blush: