[slime-devel] buglet hyperspec.el: hyperspec-lookup copies text properties at point

Hi, HYPERSPEC-LOOKUP from slime's hyperspec.el copies the emacs text properties when getting the symbol to lookup. When called at a new slime-repl prompt, the prompt is taken as symbol to lookup (since there is nothing else). But the slime-repl prompt has property read-only and thus it cannot be edited at the HYPERSPEC-LOOKUP prompt in the minibuffer, to enter the right symbol for lookup. * to reproduce: M-x slime M-x hyperspec-lookup ; try to edit the "CL-USER>", emacs will beep and whine that it is ; read-only. * software: + Latest SLIME + GNU/Emacs 21.3.50.1 * fix: Drop text-properties when getting symbol at point. Ideally, thingatpt would provide such functionality, but it does not, currently. Patch for hyperspec.el attached. Cheers, Michael

Michael Weber <michaelw+slime@foldr.org> writes:
Hi,
HYPERSPEC-LOOKUP from slime's hyperspec.el copies the emacs text properties when getting the symbol to lookup. When called at a new slime-repl prompt, the prompt is taken as symbol to lookup (since there is nothing else).
But the slime-repl prompt has property read-only and thus it cannot be edited at the HYPERSPEC-LOOKUP prompt in the minibuffer, to enter the right symbol for lookup.
We don't use hyperspec-lookup directly, we have a wrapper for this: slime-hyperspec-lookup. I don't like to change hyperspec.el, it's maintained by the ILISP people. Helmut.

* Helmut Eller <e9626484@stud3.tuwien.ac.at> [2004-01-23T01:35+0100]:
We don't use hyperspec-lookup directly, we have a wrapper for this: slime-hyperspec-lookup. I don't like to change hyperspec.el, it's maintained by the ILISP people.
Ah, okay! I had a local keybinding to HYPERSPEC-LOOKUP. When using SLIME-HYPERSPEC-LOOKUP instead the problem does not occur. Well, patch is not needed for slime then. It could be forwarded to the ilisp people, though... Cheers, Michael
participants (2)
-
Helmut Eller
-
Michael Weber