[ESS] company mode troubles

Ramon Diaz-Uriarte rd|@z02 @end|ng |rom gm@||@com
Tue Jun 7 14:49:03 CEST 2016

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.



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.

Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid

Phone: +34-91-497-2412

Email: rdiaz02 using gmail.com
       ramon.diaz using iib.uam.es


More information about the ESS-help mailing list