unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Do I have a correct configuration for auto-complete, auto-indent and yasnippet to use the tab key?
@ 2014-03-18 18:10 Jorge Araya Navarro
  2014-03-19  7:51 ` lee
  0 siblings, 1 reply; 6+ messages in thread
From: Jorge Araya Navarro @ 2014-03-18 18:10 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]

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 #2: vcard --]
[-- Type: text/x-vcard, Size: 172 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Araya Navarro;Jorge;;;;
FN:Jorge  Araya Navarro
ADR;HOME:;;;;;;Costa Rica
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Costa Rica
BDAY:19901228
END:VCARD

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

end of thread, other threads:[~2014-03-21 10:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 18:10 Do I have a correct configuration for auto-complete, auto-indent and yasnippet to use the tab key? Jorge Araya Navarro
2014-03-19  7:51 ` lee
2014-03-19 16:43   ` Jorge Araya Navarro
2014-03-21  4:28     ` Dmitry Gutov
2014-03-21  9:04       ` Jorge Araya Navarro
2014-03-21 10:38         ` lee

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