This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-25
Channels
- # aleph (2)
- # announcements (7)
- # babashka (6)
- # beginners (53)
- # calva (17)
- # cider (5)
- # clj-kondo (137)
- # cljs-dev (19)
- # cljsrn (14)
- # clojure (74)
- # clojure-conj (9)
- # clojure-europe (13)
- # clojure-houston (1)
- # clojure-italy (16)
- # clojure-nl (21)
- # clojure-spec (3)
- # clojure-uk (9)
- # clojuredesign-podcast (24)
- # clojurescript (85)
- # cursive (11)
- # datomic (28)
- # duct (3)
- # emacs (6)
- # figwheel-main (1)
- # fulcro (68)
- # graalvm (19)
- # graphql (3)
- # joker (32)
- # kaocha (10)
- # lambdaisland (1)
- # malli (50)
- # off-topic (13)
- # other-languages (7)
- # pathom (2)
- # pedestal (14)
- # re-frame (53)
- # reitit (8)
- # shadow-cljs (57)
- # specter (2)
@joelittlejohn The behavior of this command hasn’t been changed since it was introduced. Perhaps you’ve changed something in your Emacs setup?
@bozhidar ah, okay, thanks. What's the default behaviour? Is it supposed to be customisable?
@joelittlejohn I like cider-find-var
to always use the current window. I have a hack for this — see https://github.com/clojure-emacs/cider/issues/2499#issue-375036811
(I really should get around to submitting a PR to provide the behaviour I want.)
Hmm, so it seems that the implementation actually tries to be smart when there are several open windows. I’ve re-opened the ticket and I’ll try to reproduce the problem when I can.
I’ve created a PR so that by default cider-find-var
uses the current window, but there is an option to have the old behaviour. (The default behaviour matches what Emacs does in .el files.)
https://github.com/clojure-emacs/cider/pull/2757