Skip to content

Support bookmarks to Cider REPLs #3644

@axgfn

Description

@axgfn

Is your feature request related to a problem? Please describe.

When opening a Clojure project, there are a number of repetitive tasks I have to perform to set things up to begin working.

  1. Open core.clj.
  2. Start a REPL with cider-jack-in or other command.
  3. Send core.clj to be evaluated by the REPL.
  4. Switch to the program's namespace.

I would like it if this were largely automated by just resuming an activity using activities.el.

Describe the solution you'd like

activities.el works with any mode that supports Emacs bookmarks, so the solution would involve adding bookmark support to cider REPLs. The bookmarks don't need to resume the entire state of the REPL session to be useful, it would be good enough for it to simply jack in and switch namespace.

Describe alternatives you've considered

I'm sure there are many ways to automate this kind of thing in Emacs, but interoperating with activities.el makes adding bookmark support the only reasonable solution.

Additional context

There's a very simple example here of a user adding custom bookmark types to resume new modes with activities.el.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions