unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cedet and auto-complete
@ 2010-03-02  4:35 Richard Riley
  2010-03-02  7:26 ` Richard Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2010-03-02  4:35 UTC (permalink / raw)
  To: help-gnu-emacs


Just another quick poll to see if anyone has got the new cedet working
with auto-complete. cedet has developed its own completion UIs but
ideally I would like to use auto-complete as I do in all other
modes. Has anyone a workaround or instructions for allowing this to
work? Unfortunately if you only enable the minimum features which then
turns off the cedet completion mechs, it also turns off the semantic
navigation features which kind of detracts from its usefulness.

Any help or pointer appreciated,

r.







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cedet and auto-complete
  2010-03-02  4:35 cedet and auto-complete Richard Riley
@ 2010-03-02  7:26 ` Richard Riley
  2010-03-02  7:35   ` Richard Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2010-03-02  7:26 UTC (permalink / raw)
  To: help-gnu-emacs

Richard Riley <rileyrgdev@gmail.com> writes:

> Just another quick poll to see if anyone has got the new cedet working
> with auto-complete. cedet has developed its own completion UIs but
> ideally I would like to use auto-complete as I do in all other
> modes. Has anyone a workaround or instructions for allowing this to
> work? Unfortunately if you only enable the minimum features which then
> turns off the cedet completion mechs, it also turns off the semantic
> navigation features which kind of detracts from its usefulness.
>
> Any help or pointer appreciated,
>
> r.
>

OK, user errror to a degree - I have now moved back to company-mode
(newer version is available) and made sure it was on the load path
before the version that came with nxhtml.

Works well.

Here is my simple setup which turns on ispell support in text-mode and
so works in gnus message modes.

,----
|   (add-to-list 'load-path "~/.emacs.d/company-mode")
|   (require 'company)
|   (add-hook 'text-mode-hook (lambda()(add-to-list 'company-backends 'company-ispell)))
|   (require 'company-ispell)
|   (global-company-mode)
`----

This is with cedet 1.0pre7 and company-mode 0.5





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cedet and auto-complete
  2010-03-02  7:26 ` Richard Riley
@ 2010-03-02  7:35   ` Richard Riley
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Riley @ 2010-03-02  7:35 UTC (permalink / raw)
  To: help-gnu-emacs


cedet, company-mode , ispell

Correction below to use a buffer local value of company-backends

> ,----
> |   (add-to-list 'load-path "~/.emacs.d/company-mode")
> |   (require 'company)
> |   (require 'company-ispell)

  (add-hook 'text-mode-hook (lambda()(make-local-variable 'company-backends)(add-to-list 'company-backends 'company-ispell)))

> |   (global-company-mode)
> `----
>






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-02  7:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02  4:35 cedet and auto-complete Richard Riley
2010-03-02  7:26 ` Richard Riley
2010-03-02  7:35   ` Richard Riley

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).