From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haroogan Newsgroups: gmane.emacs.help Subject: Re: Extending 'emacs-lisp-mode' Disables 'auto-complete' for It Date: Mon, 24 Jun 2013 00:31:41 +0200 Message-ID: <51C7774D.6090808@gmail.com> References: <51BCA3A9.3030108@gmail.com> <51C733B1.5010408@gmail.com> <87hagoy92v.fsf@web.de> <871u7sr01o.fsf@yandex.ru> <87a9mgzdeb.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372026719 760 80.91.229.3 (23 Jun 2013 22:31:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Jun 2013 22:31:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 00:31:59 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UqspD-0001gI-EM for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 00:31:59 +0200 Original-Received: from localhost ([::1]:34381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqspD-000218-07 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jun 2013 18:31:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqsp1-000213-Ld for help-gnu-emacs@gnu.org; Sun, 23 Jun 2013 18:31:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uqsoy-0004L7-LO for help-gnu-emacs@gnu.org; Sun, 23 Jun 2013 18:31:47 -0400 Original-Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:61892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqsoy-0004L2-Ed for help-gnu-emacs@gnu.org; Sun, 23 Jun 2013 18:31:44 -0400 Original-Received: by mail-ee0-f47.google.com with SMTP id e49so5529760eek.6 for ; Sun, 23 Jun 2013 15:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=IfdC0uN4WeQprFGXlPU+ydex6QIkoXxB0ZwXkA8SyHI=; b=ChIGVzCb/XBdXn3d0K1cnzEhb06b+TwZkD/FWbwZPdUhTSlw7MnGtij+RHviQcgwhx WjNC8j4TCttkj3wvSCNbMy0ooNS8XGAej/HXUtPARFvRm/2AMcTZDKHsyzgFd96VpTAV QDizvQ6a+giX6GQbtEFBit89fGlEX/e9yg1P9e3IN/F/qMLNn6xpqPvyZZa1ETQ9szI+ iCXv5KqTpT8HpIzEm6lhfqvhwVS5//NGp6Toy8I/dFVBuHsD4HPvqhEY4xrgqC35TwDB fX9K8tCvthke9Yj/yqcTxEts8KRySp9jE7iZr7eJkw0JsQ8IDpurxJ+7hDA7e4jeuqQD AgRg== X-Received: by 10.14.122.201 with SMTP id t49mr22148585eeh.26.1372026703623; Sun, 23 Jun 2013 15:31:43 -0700 (PDT) Original-Received: from [127.0.0.1] (46.128.146.78.dynamic.cablesurf.de. [46.128.146.78]) by mx.google.com with ESMTPSA id ci50sm24063173eeb.12.2013.06.23.15.31.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Jun 2013 15:31:43 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <87a9mgzdeb.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91687 Archived-At: > Good hint. If I do that, and create a new buffer, enter `elisp-mode' > (with the parts of code referencing to variables that the OP didn't send > along skipped), I see that the function `ac-emacs-lisp-mode-setup' has > been called, i.e., `ac-sources' has been set. > > If I then turn on auto-complete-mode, it seems to work as intended. If I open some *.el file, I automatically enter my elisp-mode as shown in my first mail. But as I said auto-completion does not work even though the hook should turn it on. However, I've just tried your suggestion, i.e. after opening some *.el file, I type: [M-x] auto-complete-mode then auto-completion starts to work. Why is that? I mean in the configurations I already have: (global-auto-complete-mode t) Why should I turn on auto-completion manually like that for my elisp-mode, but I don't have to do anything for the standard emacs-lisp-mode? Thanks, Haroogan