From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: mouse-1 drag invokes follow-link (was: mouse-1-click-follows-link and mime messages) Date: Thu, 16 Feb 2006 15:32:37 +0100 Message-ID: References: <87acd48bhi.fsf@stupidchicken.com> <87acd3mx3u.fsf@pacem.orebokech.com> <877j86929j.fsf@stupidchicken.com> <87y80lo9q0.fsf@stupidchicken.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140139753 19228 80.91.229.2 (17 Feb 2006 01:29:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2006 01:29:13 +0000 (UTC) Cc: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 17 02:29:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9uQl-0008QQ-0S for ged-emacs-devel@m.gmane.org; Fri, 17 Feb 2006 02:29:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9u5a-0002gI-G5 for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 20:07:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9kP6-0002TK-6H for emacs-devel@gnu.org; Thu, 16 Feb 2006 09:46:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9kG6-0007FQ-Cz for emacs-devel@gnu.org; Thu, 16 Feb 2006 09:38:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9kBl-000576-6D for emacs-devel@gnu.org; Thu, 16 Feb 2006 09:32:57 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F9kGo-0003AD-QD for emacs-devel@gnu.org; Thu, 16 Feb 2006 09:38:10 -0500 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by mx20.gnu.org with esmtp (Exim 4.52) id 1F9kBe-0004qG-9V for emacs-devel@gnu.org; Thu, 16 Feb 2006 09:32:50 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id k1GEWbLu023998; Thu, 16 Feb 2006 15:32:38 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 422B511240; Thu, 16 Feb 2006 15:32:37 +0100 (CET) Original-To: emacs-devel@gnu.org Mail-Followup-To: emacs-devel@gnu.org X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 (Chong Yidong's message of "Wed, 08 Feb 2006 15:51:19 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC--Metrics: gemini 1074; Body=2 Fuz1=2 Fuz2=2 X-Mailman-Approved-At: Thu, 16 Feb 2006 14:51:32 -0500 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 Xref: news.gmane.org gmane.emacs.devel:50634 Archived-At: On Wed, Feb 08 2006, Chong Yidong wrote: > "Richard M. Stallman" writes: [...] >> 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. Thanks for fixing this. But I think these changes have introduced a different problem: In Gnus, when in the article buffer, I try to select the text "stupidchicken" in your "From" header by dragging with mouse-1 from "s" to "n", it follows the link (e.g. composing a mail to the author) instead of selecting the text. I have reproduced this problem using the Emacs-bundled Gnus 5.11 and a minimal Gnus setup. A 2006-01-27 build behaves as expected. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/