From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: follow-link in grep buffer Date: Tue, 22 Feb 2005 15:24:59 +0100 Message-ID: References: <87d5us90l0.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109083257 19811 80.91.229.2 (22 Feb 2005 14:40:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2005 14:40:57 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 22 15:40:56 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3bDR-0003oX-Rp for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 15:40:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3bUb-0005vq-A5 for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 09:58:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3bRd-0004Rb-TA for emacs-devel@gnu.org; Tue, 22 Feb 2005 09:55:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3bP8-0003a1-K2 for emacs-devel@gnu.org; Tue, 22 Feb 2005 09:52:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3bP6-0003IQ-T9 for emacs-devel@gnu.org; Tue, 22 Feb 2005 09:52:49 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1D3ayE-0002ls-QB for emacs-devel@gnu.org; Tue, 22 Feb 2005 09:25:03 -0500 Original-Received: (qmail 14400 invoked from network); 22 Feb 2005 14:25:01 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 22 Feb 2005 14:25:01 -0000 Original-To: Stefan Monnier In-Reply-To: <87d5us90l0.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 22 Feb 2005 08:41:15 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33728 Stefan Monnier writes: >>> I made the same suggestion as Stefan, and I don't think it would lead to >>> further confusion. As I mentioned, that is pretty much the behavior that >>> Windows users experience every day (the first click establishes focus). And > >> This makes sense! > >> I just installed a change so that a mouse-1 click only follows a link >> if the window is already selected. > > I can't test it right now, so just so we're clear: > > What happens in the following scenario: > > - I'm working in Emacs's frame Foo, window Foo, showing buffer Foo. > It's actually the only buffer/window/frame of this Emacs. > - I switch to an xterm by clicking on its window. > - I switch back to Emacs by mouse-1 clicking inside its window. > > Is that going to correctly "ignore" this last mouse-1 click other than make > it change focus) because, from Emacs's point of view, the window Foo has > always been and still is the selected window? It depends on whether you have set x-mouse-click-focus-ignore-position (on systems which support it). -- Kim F. Storm http://www.cua.dk