unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problems configuring company-mode for auto completion key banding
@ 2017-02-13  5:14 Krishnakant
  2017-02-13 15:02 ` Dmitry Gutov
  2017-02-13 20:28 ` hector
  0 siblings, 2 replies; 4+ messages in thread
From: Krishnakant @ 2017-02-13  5:14 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-14  6:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13  5:14 problems configuring company-mode for auto completion key banding Krishnakant
2017-02-13 15:02 ` Dmitry Gutov
2017-02-14  6:37   ` Krishnakant
2017-02-13 20:28 ` hector

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).