From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Krishnakant Newsgroups: gmane.emacs.help Subject: Re: problems configuring company-mode for auto completion key banding Date: Tue, 14 Feb 2017 12:07:57 +0530 Message-ID: <92607eb6-f838-720e-dbfa-b84c8a7243e6@openmailbox.org> References: <8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org> <7052b2b0-d4bf-d25f-9382-b4a6d6cb0960@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1487054325 16962 195.159.176.226 (14 Feb 2017 06:38:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2017 06:38:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: Dmitry Gutov , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 14 07:38:42 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdWl7-0003lr-Mu for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Feb 2017 07:38:42 +0100 Original-Received: from localhost ([::1]:33005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdWl6-0002TI-Vt for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Feb 2017 01:38:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdWkh-0002TB-Sj for help-gnu-emacs@gnu.org; Tue, 14 Feb 2017 01:38:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdWke-00038o-Os for help-gnu-emacs@gnu.org; Tue, 14 Feb 2017 01:38:15 -0500 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:57925 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdWke-00037Y-Fa for help-gnu-emacs@gnu.org; Tue, 14 Feb 2017 01:38:12 -0500 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id CF6C051A21A; Tue, 14 Feb 2017 07:38:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487054289; bh=nf5d3e69sTqVMnip00duhrPg86nSFdfumphKHTsyVwc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=haWxzbfcV10sXEUD6ok6rsiZpW51orEyte58u72uz3veLvUp9C1+CDTppxdjanEgT cI3P5CB55VO8AosrBNOrESDZRbJg/iD3DsmdUJWYBuwvu9rxWfWlpRqLpX+TlBnGpn M9VHgvfMFPbMcEciJ5ALI9AvLg7ubpb0GW9pg+P8= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1487054288; bh=nf5d3e69sTqVMnip00duhrPg86nSFdfumphKHTsyVwc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=F7wWUR7UqceEmwoi23Orf/NOJJ6685lDN2ghQZRob3e+oK+N+dPAxt5VUvl9sVbkY rc7zs6++Z6LFMwacgSnAvDvWQFePQByO5FMOQNRoJzDvTyxXLQRUZi1WxolE5gPyun cvG/sZ5omJt9Wn+5PuQzbf6JKq5aa4tBvLx12toc= In-Reply-To: <7052b2b0-d4bf-d25f-9382-b4a6d6cb0960@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.79.108.160 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112311 Archived-At: Hi and thank you for your help. On Monday 13 February 2017 08:32 PM, Dmitry Gutov wrote: > 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. > I can certainly use the dropdown because I choose from the list using arrow keys. All I need is that it happens one only when I want it. > 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) > Where should I have it? Should I put it just any where in my .init.el file? > 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. > Yes I will do that. Thanks a million. happy hacking. Krishnakant.