[ESS] ess-local-process-name
Hüsing, Johannes
Joh@nne@@Hue@|ng @end|ng |rom kreb@reg|@ter@nrw@de
Tue May 10 13:40:05 CEST 2022
Thanks, Jeremie, for some guidance. I followed your advice but did not install company as use cases for autocompletion can be generated without it.
Starting emacs -Q -l barebones.el evokes an emacs session, which issues the following message:
.emacs.d/elpa/ess-20220225.1523/ess-r-mode.el: Warning: ‘project-roots’ is an obsolete generic function (as of 0.3.0); use ‘project-root’ instead.
Next, M-x R [RET], interactive session starts including executing "set.wd 'startdir'". When I type me[RET], the message "ess-command: Symbol’s function definition is void: ess-local-process-name [2 times]" is issued.
Apologies that I said that the problem occurred on a Windows machine, when it was, in fact, a machine running GNU/Linux. On the PC at the company, that error does not occur, and autocompletion works the tried-and-true Emacs way.
Cheers
Johannes
-----Ursprüngliche Nachricht-----
Von: Jeremie Juste <jeremiejuste using gmail.com>
Gesendet: Montag, 2. Mai 2022 22:36
An: Hüsing, Johannes <Johannes.Huesing using krebsregister.nrw.de>
Cc: ess-help using r-project.org
Betreff: Re: AW: [ESS] ess-local-process-name
Hello Johannes,
I'm posting your email, back on the the list.
On Monday, 2 May 2022 at 07:03, Hüsing, Johannes wrote:
> I think I omitted an important piece of information, namely that I try to run everything under Windows 10. Which means that typing "emacs -Q" in the command prompt gets the message issued: "Der Befehl emacs ist falsch geschrieben oder konnte nicht gefunden werden."
I also use emacs on Windows at work and I admit that I have never used emacs -Q, there :-).
However I isolate the ess configuration in a separate file, and load it from my .emacs. A quick test would be to rename the .emacs or .emacs.d/init.el file and just have these 5 lines in a .emacs
> (add-to-list 'load-path "/home/djj/.emacs.d/elpa/ess-20220125.2207/")
> (require 'ess-r-mode)
> (add-to-list 'load-path
> "/home/djj/.emacs.d/elpa/company-20220110.2248")
> (require 'company)
> (add-hook 'inferior-ess-mode-hook 'company-mode)
HTH,
Jeremie
>
> I tried to install the preinstalled configuration of Emacs 27 provided by Vincent Goulet, but this one expected to find the program RTerm, and failed to do so.
>
> -----Ursprüngliche Nachricht-----
> Von: Jeremie Juste <jeremiejuste using gmail.com>
> Gesendet: Samstag, 30. April 2022 11:39
> An: Hüsing, Johannes <Johannes.Huesing using krebsregister.nrw.de>
> Betreff: Re: [ESS] ess-local-process-name
>
> Hello Johannes,
>
> On Wednesday, 27 Apr 2022 at 09:37, Hüsing, Johannes via ESS-help wrote:
>> I am trying to get an ESS session running by entering Meta-x R. An R process is starting, and interacting with it is possible, but limited. , for instance autocompletion (and even using C-u for 4-fold repetition of next key stroke). Every now and then I get the message:
>
> Thanks for reporting.
> I cannot reproduce the behaviour your are describing using the latest ess from melpa.
>
> in a file called ess.bare-bone.el I have the following commands
>
> (add-to-list 'load-path "/home/djj/.emacs.d/elpa/ess-20220125.2207/")
> (require 'ess-r-mode)
> (add-to-list 'load-path
> "/home/djj/.emacs.d/elpa/company-20220110.2248")
> (require 'company)
> (add-hook 'inferior-ess-mode-hook 'company-mode)
>
> - Note that
> - I am using the company package from melpa but the bare-bone ESS have also
> autocompletion facilities. So using company here is optional.
>
> Then launching a bare emacs from the terminal with $ emacs -Q -l
> ess-barebone.el
>
> and launching R with M-x R produces the expected results.
>
> I suspect that you have an issue with your ess configuration, A debuging strategy might be to add pieces bit by bit.
>
> My ESS configuration is over 40 lines long.
> I was bitten often enough with configuration issues that I now have a basic set of features that I can work with if I cannot solve the problem immediately.
>
> HTH,
>
> Jeremie
More information about the ESS-help
mailing list