Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Request: capture full #p"..." when running sly-inspect #645

Open
fosskers opened this issue Jun 18, 2024 · 0 comments
Open

Request: capture full #p"..." when running sly-inspect #645

fosskers opened this issue Jun 18, 2024 · 0 comments

Comments

@fosskers
Copy link
Contributor

fosskers commented Jun 18, 2024

If the cursor is passed a sexp and sly-inspect is called, it reads backwards, we're shown a brief highlight of the captured text, and that text is warped to the input prompt at the bottom of the screen.

For a cons cell, the entire thing is captured:

'(a . b)

^^^ all of '(a . b) appears in the prompt. However, for pathname literals, the detection cuts off at the left quote, such that for:

#p"/foo/bar/baz.txt"

only "/foo/bar/baz.txt" appears in the prompt. If #p is added back manually into the prompt, then it interprets the pathname properly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant