Skip to content

inf-clojure-eval-last-sexp should respect current namespace of a file evaluating from #205

Open
@Inc0n

Description

@Inc0n

Steps to reproduce the problem

Have a script with (ns <namespace> ...) at the top.
Define some variables with filler values.
Run C-x C-e on one of the variables.
The inf-clojure repl will report

Syntax error compiling at (REPL:0:0).
Unable to resolve symbol: <variable name> in this context

## Make C-x C-e respecet the file namespace it was triggered from

This will be convenient to have.

Environment & Version information

Clojure CLI version 1.11.1.1189

inf-clojure version information

3.2.1

Lein/Boot version

clojure-cli

Emacs version

28.1

Operating system

Mac Monterey M1

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