This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-12
Channels
- # announcements (1)
- # babashka (42)
- # beginners (114)
- # bristol-clojurians (2)
- # calva (7)
- # cider (4)
- # clj-kondo (7)
- # cljs-dev (37)
- # cljsrn (13)
- # clojure (114)
- # clojure-austin (3)
- # clojure-europe (5)
- # clojure-nl (10)
- # clojure-spec (77)
- # clojure-sweden (4)
- # clojure-uk (16)
- # clojurescript (52)
- # conjure (155)
- # core-async (18)
- # cursive (23)
- # datomic (20)
- # duct (2)
- # emacs (13)
- # figwheel (3)
- # figwheel-main (9)
- # fulcro (31)
- # gis (8)
- # helix (33)
- # jobs (12)
- # jobs-discuss (66)
- # kaocha (4)
- # lein-figwheel (1)
- # meander (16)
- # off-topic (5)
- # pathom (13)
- # pedestal (6)
- # quil (6)
- # rdf (17)
- # re-frame (32)
- # reagent (34)
- # reitit (30)
- # remote-jobs (1)
- # ring (2)
- # shadow-cljs (149)
- # spacemacs (1)
- # sql (8)
- # tools-deps (90)
- # xtdb (19)
setting up a coworker with spacemacs. anyone know how to evaluate random elisp in the minibuffer? in vanilla its just M-: ...
(describe-function 'eval-expression)
wherever you can and that should tell you what shortcuts are available for it.
does anyone have a good idea on how to do dir-locals with many users in the company? finally have another emacs user and now need to not hardcode my stuff in dir locals. for example:
((nil
(cider-path-translations . (("/root/" . "/Users/dan/") ("/src/" . "/Users/dan/projects/")))
(cider-redirect-server-output-to-repl . nil)))
the path translations can't talk about `/Users/dan/' anymore. anyone have a good way to organize these? I don't want to setq them since its not the only project we useMight not be worth much effort to share dir-locals in any way other than a template/script that everyone can customize and make their own. Add .dir-locals to .gitignore and commit a .dir-locals.template that people can use as a reference.
But if the org is big, or growing, and you do want to standardize, then you could use something like Ansible for dev workstation provisioning. I know most people use it for server management/provisioning. But it works just as well for local stuff.
@U11BV7MTK In case you are interested, this is what I have, so I don't have to tweak project by project:
elisp
((clojure-mode
. ((eval . (setq-local cider-path-translations (list (cons "/app" (clojure-project-dir (buffer-file-name (current-buffer))))))))))
i wish there was something built in that would just set it once but that's pretty nice