[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-1-click-follows-link and mime messages
From: |
Chong Yidong |
Subject: |
Re: mouse-1-click-follows-link and mime messages |
Date: |
Wed, 08 Feb 2006 15:51:19 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> > * mouse.el (mouse-drag-region-1): When remapping mouse-1 to
> > mouse-2, go back to previously selected window, so it's selected
> > when mouse-2 command runs.
>
> Looks like this affects all `link' widgets. For instance, clicking on
> the links in the Customize buffer does not work if another window is
> selected.
>
> The change I made is correct in principle. When the mouse-2 command
> finally gets run, the selected window should not have been altered by
> the translation mechanism. The event says which window was clicked
> on. The selected window should be the one that was selected by the
> user.
>
> It sounds like the command that handles mouse-2 on a link needs fixing.
I figured out the problem. We should only change the selected window
if we are translating to mouse-2. The `follow-link' property can also
specify translation to, e.g., "\C-m" (in the case of the link widget);
in that case, we shouldn't change the window.
I've checked in a fix.
- mouse-1-click-follows-link and mime messages, Chong Yidong, 2006/02/06
- Re: mouse-1-click-follows-link and mime messages, Romain Francoise, 2006/02/07
- Re: mouse-1-click-follows-link and mime messages, Chong Yidong, 2006/02/07
- Re: mouse-1-click-follows-link and mime messages, Richard M. Stallman, 2006/02/08
- Re: mouse-1-click-follows-link and mime messages,
Chong Yidong <=
- Re: mouse-1-click-follows-link and mime messages, Richard M. Stallman, 2006/02/09
- Re: mouse-1-click-follows-link and mime messages, David Kastrup, 2006/02/10
- mouse-1 drag invokes follow-link (was: mouse-1-click-follows-link and mime messages), Reiner Steib, 2006/02/16
- Re: mouse-1 drag invokes follow-link, Chong Yidong, 2006/02/16
- Re: mouse-1 drag invokes follow-link, Reiner Steib, 2006/02/16