clojure-emacs / clojure-emacs/sayid

Jump to a function's source from the traced-buffer view

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
419
Forks
24
PR merge metrics
No merged PRs in 30d

Description

In the traced-buffer view (`sayid-show-traced`), pressing RET (`sayid-traced-buf-enter`) on a *namespace* node shows that namespace's trace view. On a *function* node it currently does nothing - there's a long-standing placeholder branch (commented `goto func`) that was never implemented.

It would be a nice UX win to have RET on a function node jump to that function's definition. That needs the middleware to resolve the function's source location (file + line), which Sayid already tracks for traced fns, and the client to open it.

The dead placeholder branch is being removed as part of the Elisp cleanup; this issue tracks building the real thing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the sayid-traced-buf-enter handler used by sayid-show-traced and inspect the middleware path for traced functions. Follow how Sayid already tracks a function's source file and line, then connect that location to the client behavior. Done means RET on a function node opens its definition, while namespace-node navigation remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, emacs
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.