This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-15
Channels
- # announcements (2)
- # beginners (24)
- # calva (22)
- # cider (4)
- # clara (15)
- # clojure (24)
- # clojure-europe (24)
- # clojure-korea (16)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (8)
- # clojurescript (30)
- # conjure (1)
- # datahike (1)
- # datomic (7)
- # emacs (10)
- # events (1)
- # fulcro (22)
- # graalvm (18)
- # graphql (6)
- # jobs (1)
- # jobs-discuss (71)
- # lsp (22)
- # malli (27)
- # missionary (31)
- # polylith (7)
- # portal (6)
- # releases (1)
- # remote-jobs (3)
- # ring (9)
- # shadow-cljs (16)
- # squint (1)
- # tools-deps (9)
- # vim (9)
- # xtdb (15)
https://docs.cider.mx/cider/usage/managing_connections.html#friendly-sessions
> You can disable friendly session inference by customizing sesman-use-friendly-sessions
.
can you really? I set this to nil
after realizing that projects I didn't jack-in
to were picking up a REPL. then I noticed cider-current-repl
calls cider-repls
, and then sesman-current-session
singular, which is
(defun sesman-current-session (system &optional cxt-types)
,,,
(or (car (sesman--linked-sessions system 'sort cxt-types))
(car (sesman--friendly-sessions system 'sort))))
sesman-current-sessions
plural seems to respect use-friendly-sessions
:
(defun sesman-current-sessions (system &optional cxt-types)
,,,
(if sesman-use-friendly-sessions
(delete-dups
(append (sesman--linked-sessions system 'sort cxt-types)
(sesman--friendly-sessions system 'sort)))
(sesman--linked-sessions system 'sort cxt-types)))
am I missing something?Because all things Sesman are quite complicated and because I'm not in the capability of attending such questions in real-time over Slack I'd suggest that you create a GH issue. The writeup as-is seems fine but also, importantly, indicate your package versions, and what were you trying to solve in the first place