From 44a1585eb1e27394403228fa0909c3e47778abbd Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Wed, 13 Jun 2018 08:54:40 +0200 Subject: [PATCH] made ESS configuration exclusive for home --- config.org | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) 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