unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: company-mode help
Date: Sun, 19 Apr 2009 11:18:52 +0200	[thread overview]
Message-ID: <gseq9v$ejv$8@news.motzarella.org> (raw)
In-Reply-To: mailman.5664.1240110508.31690.help-gnu-emacs@gnu.org

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?


  parent reply	other threads:[~2009-04-19  9:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19  0:52 company-mode help Richard Riley
2009-04-19  2:15 ` Andy Stewart
     [not found] ` <mailman.5664.1240110508.31690.help-gnu-emacs@gnu.org>
2009-04-19  9:18   ` Richard Riley [this message]
2009-04-19 12:07 ` Nikolaj Schumacher
2009-04-20 21:38   ` Alan Mackenzie
     [not found] ` <mailman.5677.1240142832.31690.help-gnu-emacs@gnu.org>
2009-04-19 13:09   ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gseq9v$ejv$8@news.motzarella.org' \
    --to=rileyrgdev@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).