help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: company-mode help


From: Andy Stewart
Subject: Re: company-mode help
Date: Sun, 19 Apr 2009 10:15:15 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]