help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do I have a correct configuration for auto-complete, auto-indent and yas


From: Jorge Araya Navarro
Subject: Do I have a correct configuration for auto-complete, auto-indent and yasnippet to use the tab key?
Date: Tue, 18 Mar 2014 14:10:15 -0400

Hello!

I am a happy user of GNU Emacs. So far I have a really good configuration on my 
Emacs, but I have the impression that auto-complete mode, auto-indent mode and 
yasnippet mode are not working together as they should to not enter into 
conflict when the tab key is pressed. For instance, when I'm writing python 
code, I usually press the tab key to auto complete the name of some variable, 
however, Emacs does nothing and if I press the key again it change the 
indentation, and if I press the tab key again, it changes the indentation 
again, and so on. If I write a word like the if statement yasnippet does 
nothing. This not happen for the for loop statement, and def statement though.

I just want to be sure that these three packages can work together as they 
should, in certain order: first auto-complete, then yasnippet and finally 
auto-indent. But I don't know enough elisp to achieve this!

Here are my emacs configuration files:

init.el: 
http://elcodigo.deshackra.com/emacs/src/e9e1192510accaef6b09b1b495b9189f7f6dc050/emacs.d/init.el?at=default
keys.el (holds the configuration for keybindings): 
http://elcodigo.deshackra.com/emacs/src/e9e1192510accaef6b09b1b495b9189f7f6dc050/emacs.d/keys.el?at=default
conf-modes/* (a directory with configuration commands for every mode installed 
on Emacs): 
http://elcodigo.deshackra.com/emacs/src/e9e1192510accaef6b09b1b495b9189f7f6dc050/emacs.d/conf-modes/?at=default
varl.el (filled with load-file commands to load every file on conf-modes/ as 
needed): 
http://elcodigo.deshackra.com/emacs/src/e9e1192510accaef6b09b1b495b9189f7f6dc050/emacs.d/varl.el?at=default

Any help will be very appreciated!

Pax et bonum.

P.S. Just for the record: http://elcodigo.deshackra.com is just a cname for 
bitbucket.org :) my emacs conf can be found at 
https://bitbucket.org/shackra/emacs

Attachment: JorgeArayaNavarro.vcf
Description: vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]