[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: company-mode help
From: |
Richard Riley |
Subject: |
Re: company-mode help |
Date: |
Sun, 19 Apr 2009 11:18:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
Andy Stewart <lazycat.manatee@gmail.com> writes:
> Richard Riley <rileyrgdev@googlemail.com> writes:
>
>> Could someone help me with company-mode please. I cant find much
>> documentation on how to use it and am not sure if "(company-mode)" is
>> sufficient. I understand I can call "company-mode" at any time, but is
>> there no "global-company-mode" type thing or utility function to turn it
>> on for common programme language types? In addition, (I emailed Nikolaj
>> too), but do I have to do something special for it to complete structure
>> members in C/C++? it seems a wonderful addition when interfaced with
>> cedet combined with its own built in completion filtering and context
>> help.
> (dolist (hook (list
> 'emacs-lisp-mode-hook
> 'lisp-mode-hook
> 'lisp-interaction-mode-hook
> 'scheme-mode-hook
> 'c-mode-hook
> 'c++-mode-hook
> 'java-mode-hook
> 'haskell-mode-hook
> 'asm-mode-hook
> 'emms-tag-editor-mode-hook
> 'sh-mode-hook
> ))
> (add-hook hook 'company-mode))
>
> How about this? :)
>
> -- Andy
>
>
>
Yes, that would be the brute force way, but I thought it would be
included in the package some how if there are already semantic backends
etc.
How's your new IDE coming along?