From: Krishnakant <krmane@openmailbox.org>
To: help-gnu-emacs@gnu.org
Subject: problems configuring company-mode for auto completion key banding
Date: Mon, 13 Feb 2017 10:44:59 +0530 [thread overview]
Message-ID: <8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org> (raw)
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.
next reply other threads:[~2017-02-13 5:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 5:14 Krishnakant [this message]
2017-02-13 15:02 ` problems configuring company-mode for auto completion key banding Dmitry Gutov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8069199f-5ae0-b294-e2c7-ecddc9bf9c4f@openmailbox.org \
--to=krmane@openmailbox.org \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.