unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in Info - can use mouse to click links (w32)
@ 2005-01-08 11:22 Lennart Borgman
  2005-01-08 14:13 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Lennart Borgman @ 2005-01-08 11:22 UTC (permalink / raw)


I reported a problem some months ago with using the mouse in Info on ms
windows. The bug still seem to be there and there is no entry in
FOR-RELEASE. Should I report it another way than telling it here?

Description:
Left-clicking with the mouse on a link in Info does not follow the link. I
suppose they should so I consider this an error.

The links at the top of the Info pages are an exception. Left-clicking with
the mouse on those follows the links.

Kind Regards,
Lennart

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 11:22 Bug in Info - can use mouse to click links (w32) Lennart Borgman
@ 2005-01-08 14:13 ` Eli Zaretskii
  2005-01-08 19:05   ` Lennart Borgman
  2005-01-09  3:22   ` Richard Stallman
  0 siblings, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2005-01-08 14:13 UTC (permalink / raw)
  Cc: emacs-devel

> From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
> Date: Sat, 8 Jan 2005 12:22:23 +0100
> 
> Left-clicking with the mouse on a link in Info does not follow the link. I
> suppose they should so I consider this an error.

FWIW, this is by design.  In Emacs, mouse-2 follows a link (any link,
including those in Dired, *Help* and *Compilation* buffers, etc.).

I guess we could make mouse-1 do the same, unless mouse-1 is taken by
some important feature.

> The links at the top of the Info pages are an exception. Left-clicking with
> the mouse on those follows the links.

Also by design.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 14:13 ` Eli Zaretskii
@ 2005-01-08 19:05   ` Lennart Borgman
  2005-01-08 19:35     ` Vinicius Jose Latorre
                       ` (2 more replies)
  2005-01-09  3:22   ` Richard Stallman
  1 sibling, 3 replies; 11+ messages in thread
From: Lennart Borgman @ 2005-01-08 19:05 UTC (permalink / raw)
  Cc: emacs-devel

----- Original Message ----- 
From: "Eli Zaretskii" <eliz@gnu.org>

> > Left-clicking with the mouse on a link in Info does not follow the link.
I
> > suppose they should so I consider this an error.
>
> FWIW, this is by design.  In Emacs, mouse-2 follows a link (any link,
> including those in Dired, *Help* and *Compilation* buffers, etc.).
>
> > The links at the top of the Info pages are an exception. Left-clicking
with
> > the mouse on those follows the links.
>
> Also by design.

Thanks, but I think this is confusing, both because the links behaves
differently and because it differs from what other GUI:s (web browsers) do.
I believe the documentation GUI should be as intuitive as possible if we
want to attract new users.

I did not follow the discussion previously all the way. I however got the
impression that the points above where important.

BTW is mouse-2 the middle button? As previously many have pointed out there
are no such button on very many pc:s.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 19:05   ` Lennart Borgman
@ 2005-01-08 19:35     ` Vinicius Jose Latorre
  2005-01-08 22:44       ` Eli Zaretskii
  2005-01-08 20:04     ` Eli Zaretskii
  2005-01-08 20:10     ` Kim F. Storm
  2 siblings, 1 reply; 11+ messages in thread
From: Vinicius Jose Latorre @ 2005-01-08 19:35 UTC (permalink / raw)
  Cc: Eli Zaretskii, emacs-devel


 > BTW is mouse-2 the middle button? As previously many have
 > pointed out there are no such button on very many pc:s.

In a 3-button mouse:

   mouse-1 is the left button.
   mouse-2 is the midlle button.
   mouse-3 is the right button.

In a 2-button mouse:

   mouse-1 is the left button.
   mouse-2 is the left and right button pressed at same time.
   mouse-3 is the right button.

Also, some mouses have the wheel as the middle button.


Vinicius

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 19:05   ` Lennart Borgman
  2005-01-08 19:35     ` Vinicius Jose Latorre
@ 2005-01-08 20:04     ` Eli Zaretskii
  2005-01-08 20:10     ` Kim F. Storm
  2 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2005-01-08 20:04 UTC (permalink / raw)
  Cc: emacs-devel

> From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
> Cc: <emacs-devel@gnu.org>
> Date: Sat, 8 Jan 2005 20:05:21 +0100
> 
> BTW is mouse-2 the middle button? As previously many have pointed out there
> are no such button on very many pc:s.

If the mouse has only 2 buttons, the right one is mouse-2, if not by
default, then by a flip of a user option.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 19:05   ` Lennart Borgman
  2005-01-08 19:35     ` Vinicius Jose Latorre
  2005-01-08 20:04     ` Eli Zaretskii
@ 2005-01-08 20:10     ` Kim F. Storm
  2005-01-08 22:31       ` Eli Zaretskii
  2005-01-08 23:42       ` Lennart Borgman
  2 siblings, 2 replies; 11+ messages in thread
From: Kim F. Storm @ 2005-01-08 20:10 UTC (permalink / raw)
  Cc: Eli Zaretskii, emacs-devel

"Lennart Borgman" <lennart.borgman.073@student.lu.se> writes:

> Left-clicking with the mouse on a link in Info does not follow the link.

I just installed a fix to let mouse-1 follow info links (controlled by
the new mouse-1-click-follows-link feature).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 20:10     ` Kim F. Storm
@ 2005-01-08 22:31       ` Eli Zaretskii
  2005-01-08 23:34         ` Kim F. Storm
  2005-01-08 23:42       ` Lennart Borgman
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2005-01-08 22:31 UTC (permalink / raw)
  Cc: lennart.borgman.073, emacs-devel

> From: storm@cua.dk (Kim F. Storm)
> Date: Sat, 08 Jan 2005 21:10:20 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> 
> I just installed a fix to let mouse-1 follow info links (controlled by
> the new mouse-1-click-follows-link feature).

What about reflecting this change in info.texi?  Or do we want to keep
this feature undocumented, for those newbies who don't read info.texi
(which tells about mouse-2), and instead do what they are used to?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 19:35     ` Vinicius Jose Latorre
@ 2005-01-08 22:44       ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2005-01-08 22:44 UTC (permalink / raw)
  Cc: lennart.borgman.073, emacs-devel

> Date: Sat, 08 Jan 2005 17:35:21 -0200
> From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> 
> In a 3-button mouse:
> 
>    mouse-1 is the left button.
>    mouse-2 is the midlle button.
>    mouse-3 is the right button.
> 
> In a 2-button mouse:
> 
>    mouse-1 is the left button.
>    mouse-2 is the left and right button pressed at same time.
>    mouse-3 is the right button.

All this is true unless (on Windows) changed by the user option
w32-swap-mouse-buttons.

Also, the MS-DOS port behaves like this with 2-button mice:

    mouse-1 is the left button.
    mouse-2 is the right button.
    mouse-3 is the left and right button pressed at the same time.

So it is a bit dangerous to talk about absolutes when mouse bindings
are concerned.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 22:31       ` Eli Zaretskii
@ 2005-01-08 23:34         ` Kim F. Storm
  0 siblings, 0 replies; 11+ messages in thread
From: Kim F. Storm @ 2005-01-08 23:34 UTC (permalink / raw)
  Cc: lennart.borgman.073, emacs-devel, karl

"Eli Zaretskii" <eliz@gnu.org> writes:

>> From: storm@cua.dk (Kim F. Storm)
>> Date: Sat, 08 Jan 2005 21:10:20 +0100
>> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
>> 
>> I just installed a fix to let mouse-1 follow info links (controlled by
>> the new mouse-1-click-follows-link feature).
>
> What about reflecting this change in info.texi?  Or do we want to keep
> this feature undocumented, for those newbies who don't read info.texi
> (which tells about mouse-2), and instead do what they are used to?

I will do that very soon, as I have to update the documentation
related to mouse-1-click-follows-link.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 20:10     ` Kim F. Storm
  2005-01-08 22:31       ` Eli Zaretskii
@ 2005-01-08 23:42       ` Lennart Borgman
  1 sibling, 0 replies; 11+ messages in thread
From: Lennart Borgman @ 2005-01-08 23:42 UTC (permalink / raw)
  Cc: Eli Zaretskii, emacs-devel

----- Original Message ----- 
From: "Kim F. Storm" <storm@cua.dk>

> > Left-clicking with the mouse on a link in Info does not follow the link.
>
> I just installed a fix to let mouse-1 follow info links (controlled by
> the new mouse-1-click-follows-link feature).

Thanks Kim,

Very nice, it works!;-)

Though this is not easy. I ran "make" and "make install" first, but after
that your fix did not show up. Yesterday evening I did a "make bootstrap"
etc so I think everything was fresh except for your fix. I am surprised that
make did not find it. Should it really be that way?

I did a mistake and it could be because of that, but I am not sure. I was
testing MSYS to be sure about the problems I have seen earliear.
Unfortunately I forgot about it so I was using the MSYS utilities when I did
"make"+"make install" above. Even more stupid I did not test the same
commands after switching back to the gnuwin32 utilities. I just did "make
recompile" in the lisp subdir (and after that the fix worked).

Well, I must be tired. I did not either follow my own instructions to always
use "tee". So I have no log file. But I would be glad if someone could
explain to me. What happened?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Bug in Info - can use mouse to click links (w32)
  2005-01-08 14:13 ` Eli Zaretskii
  2005-01-08 19:05   ` Lennart Borgman
@ 2005-01-09  3:22   ` Richard Stallman
  1 sibling, 0 replies; 11+ messages in thread
From: Richard Stallman @ 2005-01-09  3:22 UTC (permalink / raw)
  Cc: lennart.borgman.073, emacs-devel

    > Left-clicking with the mouse on a link in Info does not follow the link. I
    > suppose they should so I consider this an error.

    FWIW, this is by design.  In Emacs, mouse-2 follows a link (any link,
    including those in Dired, *Help* and *Compilation* buffers, etc.).

Since we have decided to make mouse-1 follow links,
and have implemented this for most kinds of links,
we ought to implement it for these links as well
unless there is some specific problem in doing so.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-01-09  3:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 11:22 Bug in Info - can use mouse to click links (w32) Lennart Borgman
2005-01-08 14:13 ` Eli Zaretskii
2005-01-08 19:05   ` Lennart Borgman
2005-01-08 19:35     ` Vinicius Jose Latorre
2005-01-08 22:44       ` Eli Zaretskii
2005-01-08 20:04     ` Eli Zaretskii
2005-01-08 20:10     ` Kim F. Storm
2005-01-08 22:31       ` Eli Zaretskii
2005-01-08 23:34         ` Kim F. Storm
2005-01-08 23:42       ` Lennart Borgman
2005-01-09  3:22   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).