[ESS] spurious (list ....)
Mark Seeto
m@rk@eeto @end|ng |rom gm@||@com
Thu Feb 18 19:43:32 CET 2021
> From: "Richard M. Heiberger" <rmh using temple.edu>
>
> ess sends spurious commands to the *R* buffer, for example
>
> > (list "base" '(("..." . "") ("deparse.level" . "1")) '("..." "deparse.level" "recursive" "make.row.names" "stringsAsFactors" "factor.exclude" "use.names" "fill" "idcol" "size" "z" "combineLimits" "useOuterStrips"))
As an alternative to the workaround Lionel provided, I added the
following to my .emacs. It stops the problem, and you can get eldoc
information about function arguments if you request it.
;; Show eldoc information only if requested
;; Based on code from
;; https://www.reddit.com/r/emacs/comments/2m8m7y/start_eldoc_mode_automatically/
(setq eldoc-idle-delay 0)
(defun eldoc-message-now ()
(interactive))
(defun eldoc--message-command-p (command)
(eq command 'eldoc-message-now))
(add-hook 'ess-mode-hook
'(lambda() (local-set-key (kbd "C-c e") 'eldoc-message-now)))
(eldoc-add-command 'eldoc-message-now)
More information about the ESS-help
mailing list