all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jorge Araya Navarro <elcorreo@deshackra.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Do I have a correct configuration for auto-complete, auto-indent and yasnippet to use the tab key?
Date: Wed, 19 Mar 2014 10:43:00 -0600	[thread overview]
Message-ID: <1395247380.2118.4.camel@localhost.localdomain> (raw)
In-Reply-To: <874n2uy6bj.fsf@yun.yagibdah.de>

Well, I'm using those packages from MELPA. auto-complete (20140314.802),
auto-indent (20131220) and yasnippet (20140314.255) and yasnippet-bundle
(0.6.1) running on GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+
Version 3.10.7) of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen 
-- 
Pax et bonum.
Jorge Araya Navarro.
Diseñador publicitario, programador Python/C++ y colaborador en Parabola
GNU/Linux-libre. 

El mié, 19-03-2014 a las 08:51 +0100, lee escribió:

> "Jorge Araya Navarro" <kartelo@gmx.com> writes:
> 
> > 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.
> 
> It would depend on which versions of auto-complete and yasnippet you`re
> using.  I had to install them from their repos on github because there
> was an incompatibility.  See
> 
> 
> https://github.com/capitaomorte/yasnippet
> https://github.com/auto-complete/auto-complete
> 
> 
> Other than that, what your TAB key does would depend on what it`s bound
> to.  In my case, it`s bound to `yas-expand', probably because I have .  It does what I think it
> should.  I`m still working on figuring out all the possibilities with
> these modes, though.
> 
> 
> ;; yasnippet /w autocomplete
> ;;
> (add-to-list 'load-path "~/emacs/yasnippet")
> (require 'yasnippet)
> (yas-global-mode 1)
> 
> (add-to-list 'load-path "~/emacs/auto-complete")
> (require 'auto-complete-config)
> (ac-config-default)
> (setq ac-menu-height 20)
> 
> 


  reply	other threads:[~2014-03-19 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-03-21  4:28     ` Dmitry Gutov
2014-03-21  9:04       ` Jorge Araya Navarro
2014-03-21 10:38         ` lee

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=1395247380.2118.4.camel@localhost.localdomain \
    --to=elcorreo@deshackra.com \
    --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.