Skip to content

Use the cider--display-interactive-eval-result for more cases of compilation errors #3495

Closed as not planned
@vemv

Description

@vemv

An overlay is displayed through cider--display-interactive-eval-result when a compilation error happens, but only when doing interactive evaluation.

(Note that that is the intended design, and fully makes sense: we use something named cider--display-interactive-eval-result)

However, from a user point of view, it is desirable to show this overlay under more use cases, which may not go under the cider-interactive-eval-handler (the part responsible for calling cider--display-interactive-eval-result)

  • cider-load-buffer (done)
  • cider-refresh

For both cases, besides from the display of an overlay, the jumping to the right line, as introduced in #3492 should also be offered. It might be more tricky for cider-refresh, since the cause of the error may reside in another file (possibly without a corresponding open buffer).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions