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.
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:
^^^ all of
'(a . b)
appears in the prompt. However, for pathname literals, the detection cuts off at the left quote, such that for:only
"/foo/bar/baz.txt"
appears in the prompt. If#p
is added back manually into the prompt, then it interprets the pathname properly.