all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Grant Rettke <gcr@wisdomandwonder.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: Company not working in emacs-lisp-mode
Date: Wed, 16 Jul 2014 21:49:51 -0500	[thread overview]
Message-ID: <CAAjq1me7T4Mcs8jitgnwDcsHVTg6+Qv8dGPf-OSdC_yg063w0Q@mail.gmail.com> (raw)
In-Reply-To: <87iomwajbb.fsf@gmail.com>

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/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Wed, Jul 16, 2014 at 8:02 PM, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Dmitry <dgutov@yandex.ru> writes:
>
>> Thorsten Jolitz <tjolitz@gmail.com> 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
>
>



  reply	other threads:[~2014-07-17  2:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  0:28 Company not working in emacs-lisp-mode Thorsten Jolitz
2014-07-17  0:44 ` Dmitry
2014-07-17  1:02   ` Thorsten Jolitz
2014-07-17  2:49     ` Grant Rettke [this message]
2014-11-28 14:04     ` Alan Schmitt

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=CAAjq1me7T4Mcs8jitgnwDcsHVTg6+Qv8dGPf-OSdC_yg063w0Q@mail.gmail.com \
    --to=gcr@wisdomandwonder.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tjolitz@gmail.com \
    /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.