emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: follow-link in grep buffer


From: Stefan Monnier
Subject: Re: follow-link in grep buffer
Date: Mon, 21 Feb 2005 16:19:30 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I realise that applications like web browsers use mouse-1 to follow links, so
> it is a good idea for Emacs to provide some consistency and it works well with
> Info pages. However, I am not sure if it is always appropriate as Emacs users
> understand that mouse-1 just generally moves the cursor, while mouse-2 might
> jump to another buffer. The grep buffer is an example. If I try to place the
> cursor anywhere on a line before the end of a match, the associated file
> pops up in another buffer. However I might just want to select that window
> to resize it. I could select the window by clicking on the modeline but if I
> click on the wrong part I get a different buffer. All this functionality must
> be daunting for the new user, so I suggest the following:

> 1) Mouse-1 is not used to follow links in the grep or compilation buffers.

> 2) If it has to be used for this purpose, then it only works where the match
>    occurs (this must be easy to implement as it already has a different face)
>    and the match is also underlined so that it looks like a link.

Based on your example, I'd say another option might be:
- if the click is used to give focus, then don't follow the link.


        Stefan "who uses focus-follows-mouse and thus doesn't suffer from
                this problem (or suffers from it all the time and thus
                doesn't expect such things not to happen)"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]