From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: problems configuring company-mode for auto completion key banding Date: Mon, 13 Feb 2017 17:02:17 +0200 Message-ID: <7052b2b0-d4bf-d25f-9382-b4a6d6cb0960@yandex.ru> References: <8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org> 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 1486998670 5953 195.159.176.226 (13 Feb 2017 15:11:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2017 15:11:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 To: Krishnakant , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 16:11:06 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 1cdIHR-00019s-OG for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2017 16:11:05 +0100 Original-Received: from localhost ([::1]:57593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdIHX-0002eo-Gc for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2017 10:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdI91-00056U-Nx for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 10:02:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdI8y-0006tv-Eu for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 10:02:23 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:36695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdI8y-0006tn-8T for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 10:02:20 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id c85so310173326wmi.1 for ; Mon, 13 Feb 2017 07:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=BbRlKidbb8fVnKKGjBA8HSi0C5v5vV6J8lUVoFOcy6A=; b=TpaBu4mvkQaQ2rkfLhhXBTPl1jYl+fY9CxpMsj4uZbAZOz4SZlDE4Yeev+yrdW7TtA WT7xTLz+0X7noJ7VJM0S2QQaOfgmAGX6LFp03d4mNTgdHi6VrCyGTTLCQIv92V28IEK0 l9s0/CbHfImTFJSD2hFOCPlQyxy/aQ8qC+inCcB4ojnOn6vq2/JGTULuugKXXhWkSetn qa6nbYYkEvSyl5YUg5vC8bfyTXFB+0bPy5VNRq7oX88UQUXJN1d/bYnFC/Bjr/da6g3X Wr+bnWOdVg/amW/d3nrtdrJu0Kr9IsRiQfzHbvCVmDA06/kXd8I4zXevbvwMkvbhckO9 Ho3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BbRlKidbb8fVnKKGjBA8HSi0C5v5vV6J8lUVoFOcy6A=; b=uURT7tA5OVZ2m+s150zvqeyE0VojeLkrFBvHRKkrhyZ3rVQWKV9XM4hRg/AcSFwvYr ZPdWGMPw83FgwWpnYMqz1oBosSMKer7eI7JxOjZyPFsGFCoVvzWkNIdCYG64+eJPzk47 N5vR+jCnDBMSmD+CXrBVW29W1wLR6x5cdk1EaPn6fWXFqTe273Oad2VRl/MxdbBZChaB szPfnpYIh8Pthaa/Amzcp5/XPwSSwmrrOCojhwLa2Zap4eBc3CnpFmRpFGBurY+t+n09 VUT4nPRM4kS7/Y7sQplZOs9b72zIFXpHAw8+0aFu2ixolYhXiHk8tGP1cH1mj9UnifOQ lSeQ== X-Gm-Message-State: AMke39lCWRSejWxZbJGrlQt61k7UFXBpVbF3yyW6rTbBnhDCcAm1pIOwQ+AtGqNUgldqUg== X-Received: by 10.28.153.196 with SMTP id b187mr36690610wme.53.1486998139135; Mon, 13 Feb 2017 07:02:19 -0800 (PST) Original-Received: from [192.168.0.133] ([212.50.99.193]) by smtp.googlemail.com with ESMTPSA id m29sm14187959wrm.38.2017.02.13.07.02.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 07:02:18 -0800 (PST) In-Reply-To: <8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d 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:112308 Archived-At: 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.