Emacs 开启auto-completion <TAB>无法使用问题

今天开启了auto-completion,在.c文件中运行正常。在.py中无法扩展,但是 M-x yas-expand 后面有 ,然后按照 github.com 里面说明使用 yas-global-mode 然后又开启,M-x yas-expand后面就没有 ,不知道是什么原因,看了半天说明,没有明白。最后在.spacemacs dotspacemacs/user-config 里面添加了 (global-set-key "\C-i" 'yas-expand) 又好了。 在.py文件里面开启auto-completion ,有时不能换行,把我气的直接关了。