[ESS] Auto-completion with Company

Mathieu Basille b@@|||e@web @end|ng |rom @@e-re@e@rch@org
Mon Jan 16 05:39:07 CET 2017


But I love the Debian packages! (that I just discovered two days ago…)

Fair enough, I just switched to MELPA (with priority to stable) for all
Emacs packages (including ESS by the way), and everything works smoothly
with Company now being 0.9.2.

Thanks a bunch Ista, you made my day!
Mathieu.


On 01/15/2017 11:09 PM, Ista Zahn wrote:
> You need a more recent company. I suggest removing all debian emacs
> packages and installing everything from  melpa.
> 
> On Jan 15, 2017 10:07 PM, "Mathieu Basille" <basille.web using ase-research.org>
> wrote:
> 
>> Hi,
>>
>> After some time using auto-complete in Emacs, I'm now trying to modernize
>> my configuration and switch to Company. I understand that Company is fully
>> integrated to ESS now, and works out of the box, however, I get a weird
>> error message when I try to "use" it.
>>
>> Here are the steps that I followed:
>>
>> * Install Emacs 25.1, ESS 16.10 and Company (elpa-company) 0.8.12 from
>> Debian repository (I am running Testing/Stretch).
>>
>> * Prepare a minimal .emacs.d/init.el with only this:
>>
>> (add-hook 'after-init-hook 'global-company-mode)
>>
>> (require 'ess-site)
>>
>> * Open any file with Emacs: auto-completion works as expected, for instance
>> if I type the same word twice, auto-completion kicks in for the second
>> type.
>>
>> * Open a .R script in Emacs, open R (M-x R), and try auto-completion on a
>> function (for instance, typing "hi" to get hist/history/... Auto-completion
>> does not work, and I get a message in the echo area instead:
>>
>> Company: An error occurred in auto-begin
>> Company: Back-end (company-R-args company-R-objects :separate) error
>> "Symbol’s function definition is void: :separate" with args (ignore-case)
>>
>> I couldn't find much help in the doc, or other on-line resources.
>>
>> Any help would be greatly appreciated! Thanks in advance,
>> Mathieu Basille.
>>
>>
>> --
>>
>> Mathieu Basille
>>
>> basille using ufl.edu | http://ase-research.org/basille
>> +1 954-577-6314 | University of Florida FLREC
>>
>>   « Le tout est de tout dire, et je manque de mots
>>   Et je manque de temps, et je manque d'audace. »
>>   — Paul Éluard
>>
>> This message is signed to guarantee its authenticity.
>> For a true private correspondence, use my public key
>> to encrypt your messages:
>>
>>   http://mathieu.basille.net/pub.asc
>>
>> Learn more: http://mzl.la/1BsOGiZ
>>
>> ______________________________________________
>> ESS-help using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
> 

-- 

Mathieu Basille

basille using ufl.edu | http://ase-research.org/basille
+1 954-577-6314 | University of Florida FLREC

  « Le tout est de tout dire, et je manque de mots
  Et je manque de temps, et je manque d'audace. »
  — Paul Éluard

This message is signed to guarantee its authenticity.
For a true private correspondence, use my public key
to encrypt your messages:

  http://mathieu.basille.net/pub.asc

Learn more: http://mzl.la/1BsOGiZ




More information about the ESS-help mailing list