From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Grant Rettke Newsgroups: gmane.emacs.help Subject: Re: Company not working in emacs-lisp-mode Date: Wed, 16 Jul 2014 21:49:51 -0500 Message-ID: References: <87mwc8akww.fsf@gmail.com> <86k37chl0s.fsf@yandex.ru> <87iomwajbb.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405565412 29788 80.91.229.3 (17 Jul 2014 02:50:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jul 2014 02:50:12 +0000 (UTC) Cc: Emacs Help To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 17 04:50:07 2014 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 1X7blk-0000SO-Jx for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jul 2014 04:50:04 +0200 Original-Received: from localhost ([::1]:42065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7blk-0005Aq-49 for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jul 2014 22:50:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7blZ-0005Aj-GO for help-gnu-emacs@gnu.org; Wed, 16 Jul 2014 22:49:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7blY-0005RS-AE for help-gnu-emacs@gnu.org; Wed, 16 Jul 2014 22:49:53 -0400 Original-Received: from mail-ie0-x231.google.com ([2607:f8b0:4001:c03::231]:42946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7blY-0005RO-4W for help-gnu-emacs@gnu.org; Wed, 16 Jul 2014 22:49:52 -0400 Original-Received: by mail-ie0-f177.google.com with SMTP id at20so1952519iec.36 for ; Wed, 16 Jul 2014 19:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Mcrby4jhlbcH5XQTWtAYMctZ2s7VtRlVfbpl91AOgUk=; b=Tk4u/ht02/5i5dTTMysA6KRLix7glqvzwEL8UwQSLV28v3OgVQTLK+XVhhluhEZmyT /OmYPYchC8GWgMMJtcq+VDYxXvTOVwj3BBoCz/V+h8CcXLXOpYNHgKbDBnvQ1rGuCmH8 j8LydHPUVl1faCvJDQmVlldEoiZupBfVw5bYoYBBMjRFJuS+QnYtrgnA/WkxmbKtQy4n /izIHQGPN/Hdwpj15bBrmo7usdrFBLuRXYL2OWoogHBwdpAXVh9sS1sjUsGYL4jRBsO5 SbUgsWa9fFnAIvOlG6WULyHrHw5yDSM67OMa4t5Le332z9xq9ZvcKguHzCTxZcpacotg E3LA== X-Received: by 10.60.98.206 with SMTP id ek14mr32363525oeb.51.1405565391075; Wed, 16 Jul 2014 19:49:51 -0700 (PDT) Original-Received: by 10.182.77.39 with HTTP; Wed, 16 Jul 2014 19:49:51 -0700 (PDT) In-Reply-To: <87iomwajbb.fsf@gmail.com> X-Google-Sender-Auth: CiOWc9ZpsxyXC_Rb8dE1V75UfOk X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::231 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:98710 Archived-At: My Emacs has a lot of random behavior like that happen when I've got desktop-mode open and make changes. desktop-mode caches all of the hook code and reloads it from the cache instead of the init file. Not saying you are facing this, but perhaps something similar. Grant Rettke | ACM, ASA, FSF, IEEE, SIAM gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson On Wed, Jul 16, 2014 at 8:02 PM, Thorsten Jolitz wrote: > Dmitry writes: > >> Thorsten Jolitz writes: >> >>> although company-elisp is part of my company backends >>> >>> ,----[ C-h v company-backends RET ] >>> | company-backends is a variable defined in `company.el'. Value: >>> | (company-cider company-elisp company-bbdb company-nxml company-css >>> | company-eclim company-semantic company-clang company-xcode >>> | company-cmake (company-dabbrev-code company-gtags company-etags >>> | company-keywords) company-oddmuse company-files company-dabbrev >>> | company-ispell) >>> ... >>> it does not work for me, although it worked out of the box in other >>> modes. 'does not work' means nothing happens, as if company is not >>> activated, but is is shown in the mode line. >> >> I've just tried the current master in an empty Emacs 24.3 session >> (started with -Q), and it worked as expected. Have you tried this? > > Right now I tried it, and it works. > >> You might have to bisect your configuration. > > yes > >>> however, I frequently see messages like >>> >>> ,---- >>> | Company: An error occurred in auto-begin >>> | Symbol's function definition is void: company-capf >>> `---- >> >> Are you sure this error happens in the same kind of buffers where you've >> pressed `C-h v company-backends RET' and saw the value without >> `company-capf'? > > no, it seemed to happen 'randomly'. I happened e.g. in emacs-lisp-mode > but not in the scratch-buffer, that gives me at least a hint when > looking at the activated minor-modes. > > Thanks for the tip. > > -- > cheers, > Thorsten > >