Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Connection issues with latest master when .nrepl-port is not present #47

@yayitswei

Description

@yayitswei

Just a heads up for folks discovering the project - the latest master has connection issues when working with projects without an .nrepl-port file.

Environment:
GNU Emacs 29.4 on OSX

Details:

  • Error: "Wrong type argument: processp, nil" when trying to evaluate code
  • Root cause: monroe-connection returns nil because process name matching doesn't handle all cases
  • Debug shows two processes exist but aren't found:
    • "monroe" (status: run)
    • "monroe/localhost:7888" (status: open)
  • monroe-net-filter is attached to monroe/localhost:7888 but main REPL process uses default filter
  • monroe-session remains nil after connection

Workaround:
Using commit 508f5ed which is known-good for this use case.

To use the working version with straight.el:

(straight-use-package
 '(monroe :type git
          :host github
          :repo "sanel/monroe"
          :commit "508f5ed0f88b0b5e01a37d456186ea437f44d93c"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions