Skip to content

Can not distinguish between clj and cljs repls any more #2244

@achikin

Description

@achikin

Expected behavior

In Spacemacs when I use helm-mini or standard buffer list(C-x C-b) I could clearly distinguish between clj and cljs repls because cljs repl had CLJS stright after *cider-repl
E.g. *cider-repl CLJS project-name

Actual behavior

Because of the latest changes in this line cljs repl has (cljs) at the end of a repl buffer name and helm-mini or standard buffer list truncate buffer names so I can't clearly understand which one of the repl buffers is cljs.
E.g. *cider-repl long-project-name(cljs)
screen shot 2018-03-20 at 19 33 12

Steps to reproduce the problem

  • Start emacs
  • Update cider to the latest version
  • Open any clojure file that belongs to a project
  • M-x cider-jack-in-clojurescript
  • wait for repls to start
  • C-x C-b to open buffer list

Environment & Version information

CIDER version information

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

CIDER 0.17.0snapshot (package: 20180319.1204), nREPL 0.2.13
;; Clojure 1.8.0, Java 1.8.0_20

Lein/Boot version

Leiningen 2.8.1 on Java 1.8.0_20 Java HotSpot(TM) 64-Bit Server VM

Emacs version

GNU Emacs 25.3.1

Operating system

High Sierra 10.13.3(17D102)

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