Skip to content

cider-eval-last-sexp and all eval function will send buffer to all buffer if jack in both clj and babashka #3846

@idhowardgj94

Description

@idhowardgj94

Expected behavior

When I jack in both clj session and bb session, all clojure related code should send to clj session, and all bb session related code should send to bb session.

Actual behavior

sexp will send to both sessions, even if I try to use sesman-unlink and sesman-link-buffer

Steps to reproduce the problem

  1. cider-jack-in-clj, and select clojure-cli or tool that project use.
  2. cider-jack-in and select babashka
  3. go to babashka script file (.bb) file, and try to eval sexp.
    4.. sexp will send to two session.

Environment & Version information

CIDER version information

Include here the version string displayed when
CIDER's REPL is launched. Here's an example:

;; CIDER 1.20.0snapshot 
;;|openjdk 21.0.7 2025-04-15  

Lein / Clojure CLI version

Clojure CLI version 1.12.0.1530

Emacs version

E.g. 24.5 (use M-x emacs-version to check it if unsure)

Operating system

Pop!_OS 22.04 LTS

JDK distribution

openjdk 21.0.7 2025-04-15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions