[ESS] company mode troubles
rd|@z02 @end|ng |rom gm@||@com
Sun Jun 5 19:58:35 CEST 2016
One further detail:
removing the ":sorted" from
(ess-company-backends . '((company-R-args company-R-objects :sorted)))
in line 214 of ess-r-d.el solves this issue (though I do not know if it
might lead to other issues).
Because of my elisp ignorance, I have no idea what the ":sorted" actually
does here, but I guess my installation must be missing something that
provides the ":sorted". I do not know what it is: other company stuff I
have does not seem to use :sorted, installing company-statistics did not
help, and googling around didn't either.
P.S. My emacs version is GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+
Version 3.18.9) of 2016-04-08 on binet, modified by Debian
On Sun, 05-06-2016, at 15:15, Ramon Diaz-Uriarte <rdiaz02 using gmail.com> 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.
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
Email: rdiaz02 using gmail.com
ramon.diaz using iib.uam.es
More information about the ESS-help