unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Krishnakant <krmane@openmailbox.org>, help-gnu-emacs@gnu.org
Subject: Re: problems configuring company-mode for auto completion key banding
Date: Mon, 13 Feb 2017 17:02:17 +0200	[thread overview]
Message-ID: <7052b2b0-d4bf-d25f-9382-b4a6d6cb0960@yandex.ru> (raw)
In-Reply-To: <8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org>

Hi Krishnakant,

On 13.02.2017 07:14, Krishnakant wrote:

> The problem is that although default auto completion behavior  is 
> perfectly good for sighted users, for me it is too much speech.

That's understandable. Since you are a blink user, though, I'm not sure 
if you can really benefit from the popup-like UI.

Maybe try and see if C-M-i works as well for you, and if it doesn't, 
request that elpy integrates with completion-at-point-functions.

> So what I was trying to do is to set company-mode not to auto complete 
> automatically.

The variable that controls it is company-idle-delay. Try:

(setq company-idle-delay nil)

You can find all the customization variables by typing 'M-x 
customize-group RET company'.

> Note that I am very new to setting such things in Emacs.
> So I have to manauly start python-mode when I open a .py file.  I am 
> aware this is not correct but can't see what's wrong.

Emacs should enter python-mode by default in .py files. If it doesn't, 
what major mode does it use? You can find out by evaluating 
'major-mode'. Press M-: to evaluate an expression.



  reply	other threads:[~2017-02-13 15:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13  5:14 problems configuring company-mode for auto completion key banding Krishnakant
2017-02-13 15:02 ` Dmitry Gutov [this message]
2017-02-14  6:37   ` Krishnakant
2017-02-13 20:28 ` hector

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=7052b2b0-d4bf-d25f-9382-b4a6d6cb0960@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=krmane@openmailbox.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).