[slime-devel] Bug in hyperspec lookup (or slime-reader-macro-at-point)

Hello, The newly added slime-reader-macro-at-point is causing a few problems with hyperspec lookup. Specifically, if the point is on the first letter of the first element (a symbol) of a sexp, e.g. if the point is on the letter 'l' of the sexp '(list foo bar ...)', then C-c C-d h will return the hyperspec entry for Left Paranthesis and not List. If I move the point forward to 'i', then it correctly returns the hyperspec entry for List. More generally, I think that hyperspec lookup w.r.t reader macros should be fine-tuned a bit. Does anyone ever really need to lookup the hyperspec entry for left/right parenthesis? Cheers, Chaitanya

Chaitanya Gupta <mail@chaitanyagupta.com> writes:
Hello,
The newly added slime-reader-macro-at-point is causing a few problems with hyperspec lookup. Specifically, if the point is on the first letter of the first element (a symbol) of a sexp, e.g. if the point is on the letter 'l' of the sexp '(list foo bar ...)', then C-c C-d h will return the hyperspec entry for Left Paranthesis and not List. If I move the point forward to 'i', then it correctly returns the hyperspec entry for List.
I, for myself, do not think it's a bug. It's the way people will find out that C-c C-d h works on reader macros now. :-) -T.

* Tobias C. Rittweiler [2009-03-02 21:31+0100] writes:
Chaitanya Gupta <mail@chaitanyagupta.com> writes:
Hello,
The newly added slime-reader-macro-at-point is causing a few problems with hyperspec lookup. Specifically, if the point is on the first letter of the first element (a symbol) of a sexp, e.g. if the point is on the letter 'l' of the sexp '(list foo bar ...)', then C-c C-d h will return the hyperspec entry for Left Paranthesis and not List. If I move the point forward to 'i', then it correctly returns the hyperspec entry for List.
I, for myself, do not think it's a bug. It's the way people will find out that C-c C-d h works on reader macros now. :-)
I moved the reader-macro part to it's own key: C-c C-d # Helmut

Helmut Eller wrote:
I moved the reader-macro part to it's own key: C-c C-d #
Much better! Thanks. Chaitanya
Helmut
_______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel

Hello Tobias, "Tobias C. Rittweiler" <tcr@freebits.de> writes:
Chaitanya Gupta <mail@chaitanyagupta.com> writes:
Hello,
The newly added slime-reader-macro-at-point is causing a few problems with hyperspec lookup. Specifically, if the point is on the first letter of the first element (a symbol) of a sexp, e.g. if the point is on the letter 'l' of the sexp '(list foo bar ...)', then C-c C-d h will return the hyperspec entry for Left Paranthesis and not List. If I move the point forward to 'i', then it correctly returns the hyperspec entry for List.
I, for myself, do not think it's a bug. It's the way people will find out that C-c C-d h works on reader macros now. :-)
I, too, was surprised by this behavior. Given the smiley, I am unsure about your intentions with regards to the change. Do you intend on keeping it that way? Arik
participants (4)
-
Ariel Badichi
-
Chaitanya Gupta
-
Helmut Eller
-
Tobias C. Rittweiler