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: problems configuring company-mode for auto completion key banding Date: Mon, 13 Feb 2017 10:44:59 +0530 Message-ID: <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 1486997219 2470 195.159.176.226 (13 Feb 2017 14:46:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2017 14:46:59 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 15:46:53 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 1cdHu1-0000Bh-Bw for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2017 15:46:53 +0100 Original-Received: from localhost ([::1]:57328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdHu7-0007Uu-17 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2017 09:46:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cd8yo-00086f-Bu for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 00:15:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cd8yg-0008L1-Ri for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 00:15:10 -0500 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:50684 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 1cd8yg-0008Kh-J4 for help-gnu-emacs@gnu.org; Mon, 13 Feb 2017 00:15:06 -0500 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id E6BB7519558; Mon, 13 Feb 2017 06:15:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1486962903; bh=k1MjGUMj5tRS5d0BMemnbDlq0FQQTKzDPHw1BaXBee4=; h=To:From:Subject:Date:From; b=QpQWhYWvN7LKXW3KrrZ/BXTNJ4h/mAb/88oUaT3BjzGCnpmRTlRrwZM4qlCulB2wS iwh2Tsf1QTJLwYwbjYxoUGK+Gu/GfGixSAUpuYQ2I2U/eJLLiaMlYhBP3dVF/2sXDx OpBZDVkb+dYziUs8kUJjkb+nM1cqHribNREfQpqE= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1486962903; bh=k1MjGUMj5tRS5d0BMemnbDlq0FQQTKzDPHw1BaXBee4=; h=To:From:Subject:Date:From; b=QpQWhYWvN7LKXW3KrrZ/BXTNJ4h/mAb/88oUaT3BjzGCnpmRTlRrwZM4qlCulB2wS iwh2Tsf1QTJLwYwbjYxoUGK+Gu/GfGixSAUpuYQ2I2U/eJLLiaMlYhBP3dVF/2sXDx OpBZDVkb+dYziUs8kUJjkb+nM1cqHribNREfQpqE= 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-Mailman-Approved-At: Mon, 13 Feb 2017 09:40:21 -0500 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:112307 Archived-At: Dear all, I had used Emacs about 10 years back . After that there were severl things due to which I could not continue using it. However now I wish to use it for my python programming. I am a blind user and I use emacspeak with emacs for all my activities. I have tryed configuring company-mode with Python. Basically I use elpy-mode which intern uses company-mode. The problem is that although default auto completion behavior is perfectly good for sighted users, for me it is too much speech. So what I was trying to do is to set company-mode not to auto complete automatically. I was trying to set C-tab for auto competion. But it still auto completes which I just type 3 chars. Here is my init.el file: (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) (add-to-list 'package-archives '("elpy" . "https://jorgenschaefer.github.io/packages/")) (setq company-idle-delay nil) ;;(global-set-key [C-tab] (quote company-complete)) (global-set-key "C-tab" 'company-complete) (global-set-key [f10] (quote python-mode)) ;;(package-initialize) ;;(elpy-enable) 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. Would be happy if any one gives some tips or pointers or some example. Happy hacking. Krishnakant.