From mboxrd@z Thu Jan 1 00:00:00 1970 From: phaebz Subject: auto-complete mode with org-mode Date: Thu, 03 Feb 2011 13:59:59 +0100 Message-ID: <4D4AA6CF.5090804@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40867 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkyn6-0002If-UY for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 08:00:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkyn5-00026B-H7 for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 08:00:04 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:36275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkyn5-00024O-Cm for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 08:00:03 -0500 Received: by fxm12 with SMTP id 12so1193563fxm.0 for ; Thu, 03 Feb 2011 05:00:01 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I am using org-mode v. 7.3 and auto-complete v. 1.2 I added org-mode to "ac-modes" as described in the documentation. When typing in an org-mode buffer, I correctly get the popup-menu from auto-complete mode. If I then press TAB to complete the word, nothing happens - since TAB is bound to org-cycle. I am not really familliar with ac-mode, but I guess it could be using a hook when populating the popup menu, so that I could bind the tab key in this hook ac-specific and bind it then again to org-cycle when after-completion-hook is run, in case there is one... I just wanted to ask here if others have a similar setup/issue and how it is solved elegantly, i.e. in org-mode style. Thank you Michael Bach