[ESS-bugs] ess-mode 5.15; R: error on q()

Sam Steingold sds at gnu.org
Tue Feb 28 17:01:34 CET 2012


> * Vitalie Spinu <fcvahivg at tznvy.pbz> [2012-02-28 15:27:30 +0100]:
>
> Interesting, I cannot reproduce in any possible way, nor in
> emacs-snapshot 24.0.93.1. 

did you add ansi-color-process-output to comint-output-filter-functions?

> But you would probably like to have 
>
> (setq inferior-R-args "--no-restore-history --no-save")

thanks for the tip, but why --no-restore-history?

inferior-R-args
==> "--no-save"

> q()

Process R finished at Tue Feb 28 10:46:21 2012


Debugger entered--Lisp error: (wrong-type-argument processp nil)
  process-mark(nil)
  ansi-color-process-output("")
  run-hook-with-args(ansi-color-process-output "")
  comint-send-input()
  inferior-ess-send-input()
  call-interactively(inferior-ess-send-input nil nil)

PS. IMO, the Emacs coding conventions prescribe ess-inferior-R-args and
ess-inferior-send-input (i.e., a consistent use of prefixes - although
it does appear that `inferior-' is a common exception).
http://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventions.html

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://jihadwatch.org
http://thereligionofpeace.com http://dhimmi.com http://honestreporting.com
Those who value Life above Freedom are destined to lose both.



More information about the ESS-bugs mailing list