[slime-devel] Bug: mouse-1 doesn't select choices

During an exception, I get a menu with different restart options. Hovering with the mouse over these options, they change their background color, suggesting that they are clickable links. However, mouse-1 doesn't do anything. I've got `mouse-1-click-follows-link' set to 450 (Aquamacs), so I expect to be able to click on these links with the [left or only] mouse button. This is Slime 2.0 on a CVS Aquamacs Emacs. Thanks David

+ David Reitter <david.reitter@gmail.com>: | During an exception, I get a menu with different restart options. | | Hovering with the mouse over these options, they change their | background color, suggesting that they are clickable links. | | However, mouse-1 doesn't do anything. I wouldn't call this a bug. I'd call it a feature request, but it's a reasonable one. | I've got `mouse-1-click-follows-link' set to 450 (Aquamacs), so I | expect to be able to click on these links with the [left or only] | mouse button. After reading the documentation for mouse-on-link-p I decided to execute (define-key sldb-mode-map [follow-link] 'mouse-face) with the result that clicking mouse-1 on a restart does indeed select that restart. This could perhaps be added to slime.el somewhere. Ditto for other modes where it might make sense. - Harald

+ Harald Hanche-Olsen <hanche@math.ntnu.no>: | After reading the documentation for mouse-on-link-p I decided to I forgot to check: mouse-on-link-p is not in GNU emacs 21. Looking at the NEWS file, I see that it is new in 22.1. I am running 23 myself. - Harald

On 26 Feb 2007, at 16:37, Harald Hanche-Olsen wrote:
| However, mouse-1 doesn't do anything.
I wouldn't call this a bug. I'd call it a feature request, but it's a reasonable one.
I often hear that when reporting UI issues. I presume people have different expectations and UI standards. I don't really care as long as it's getting changed.
(define-key sldb-mode-map [follow-link] 'mouse-face)
with the result that clicking mouse-1 on a restart does indeed select that restart.
Yes, good. I'll stick that in the Slime configuration in Aquamacs for now, because we rely on mouse-1 on Macs. Thanks.
participants (2)
-
David Reitter
-
Harald Hanche-Olsen