[ESS] company mode troubles

Vitalie Spinu @p|nuv|t @end|ng |rom gm@||@com
Tue Jun 7 20:26:55 CEST 2016


Yeh. Dmitry hasn't released it for a while looks like. The change dates back to
August or September last year. It's a really useful feature as it makes function
arguments show on top of the completion list.

 Vitalie

>> On Tue, Jun 07 2016 14:49, Ramon Diaz-Uriarte wrote:

> Thanks Vitalie.

> If I use the version of company-mode from melpa (company-20160522.1835)
> everything works fine. But using version 0.8.12, the one from melpa-stable
> or elpa, I get the reported problem. From the company-mode page, it was my
> understanding that 0.8.12 is the current stable version.

> On looking at the code, the version of company.el in company-20160522.1835
> mentions the ":sorted" keyword.  But I can find no mention of ":sorted" in
> 0.8.12. I guess almost everybody must be running the devel version of
> company :-) Anyway, solved by using the devel version of company.

> Best,

> R.

> On Tue, 07-06-2016, at 12:00, Vitalie Spinu <spinuvit using gmail.com> wrote:
>> You probably have an outdated version of company-mode. :sorted was added quite a
>> while to company. While there are discussions to change the name it's still
>> there AFAIK.
>>
>>   Vitalie
>>
>>>> On Sun, Jun 05 2016 15:15, Ramon Diaz-Uriarte wrote:
>>
>>> Dear All,
>>
>>> I just upgraded a bunch of emacs packages (including ESS) and now company
>>> is not working well with R.
>>
>>> With the latest tar.gz (ess-version: 16.04 [Released git: cccb9481389b])
>>> and with the latest from elpa (ess-version: 16.04 [elpa: 20160602.203])
>>> when I start typing, say, "runi" (to get runif as possible completion)
>>
>>> I get the errors:
>>
>>> Company: An error occurred in auto-begin
>>
>>> Company: Back-end (company-R-args company-R-objects :sorted) error
>>> "Symbol's function definition is void: :sorted" with args (ignore-case)
>>
>>> If I then try "?" at the R prompt, I get the error
>>
>>> Symbol's function definition is void: :sorted
>>
>>> If I install (from melpa-stable) v. 15.9 none of those issues arise.
>>
>>> I reinstalled company (even if I've had the same 0.8.12 for the last few
>>> months), but nothing changes. Note that company seems to be working fine in
>>> C++ and text buffers.
>>
>>> Best,
>>
>>> R.




More information about the ESS-help mailing list