diff --git a/config.org b/config.org index 7ef533b..6323a0f 100644 --- a/config.org +++ b/config.org @@ -1461,24 +1461,28 @@ Add some helpers to handle and understand macros ** R TODO: test it + For now only enable ESS at home. Not sure if it is useful at work. + Also I got "locate-file" errors at work; the debugger listet random files not related to anything within the emacs configuraion #+BEGIN_SRC emacs-lisp -(use-package ess-site - :ensure ess - :defer t - :mode (("\\.R\\'" . r-mode)) - :init (require 'ess-site) - :config - (use-package ess-R-data-view :ensure t) - (use-package ess-smart-equals :ensure t) - (use-package ess-smart-underscore :ensure t) - (use-package ess-view :ensure t) - (setq ess-use-flymake nil - ess-use-ido nil ;;else ESS will use ido whenever possible - ess-eval-visibly 'nowait - ess-ask-for-ess-directory nil - ess-local-process-name "R" - ess-use-tracebug t - ess-describe-at-point-method 'tooltip) ; 'tooltip or nil (buffer) +(pcase my/whoami + ("home" + (use-package ess-site + :ensure ess + :defer t + :mode (("\\.R\\'" . r-mode)) + :init (require 'ess-site) + :config + (use-package ess-R-data-view :ensure t) + (use-package ess-smart-equals :ensure t) + (use-package ess-smart-underscore :ensure t) + (use-package ess-view :ensure t) + (setq ess-use-flymake nil + ess-use-ido nil ;;else ESS will use ido whenever possible + ess-eval-visibly 'nowait + ess-ask-for-ess-directory nil + ess-local-process-name "R" + ess-use-tracebug t + ess-describe-at-point-method 'tooltip))) ; 'tooltip or nil (buffer) ) #+END_SRC ** Lua