From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: mouse-1-click-follows-link and mime messages Date: Tue, 07 Feb 2006 12:26:20 -0500 Message-ID: <87oe1jm66b.fsf@stupidchicken.com> References: <87acd48bhi.fsf@stupidchicken.com> <87acd3mx3u.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139333366 783 80.91.229.2 (7 Feb 2006 17:29:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2006 17:29:26 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org Original-X-From: ding-owner+m10413@lists.math.uh.edu Tue Feb 07 18:29:24 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6WeY-0001Gg-9A for ding-account@gmane.org; Tue, 07 Feb 2006 18:29:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6WeO-00055W-00; Tue, 07 Feb 2006 11:29:12 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6Wbm-00055L-00 for ding@lists.math.uh.edu; Tue, 07 Feb 2006 11:26:30 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F6Wbj-00037W-Lw for ding@lists.math.uh.edu; Tue, 07 Feb 2006 11:26:30 -0600 Original-Received: from sydneypacific-four-fifty-two.mit.edu ([18.95.6.197] helo=localhost.localdomain) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6Wbd-000469-00 for ; Tue, 07 Feb 2006 18:26:21 +0100 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 738941E41D4; Tue, 7 Feb 2006 12:26:20 -0500 (EST) Original-To: Romain Francoise In-Reply-To: <87acd3mx3u.fsf@pacem.orebokech.com> (Romain Francoise's message of "Tue, 07 Feb 2006 08:44:37 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61884 gmane.emacs.devel:50157 Archived-At: Romain Francoise writes: > Chong Yidong writes: > >> With point in the Gnus article window, mouse-1 on links in the article >> (e.g., mime attachments or URLs) performs the correct action (i.e., >> opening the attachment or following the URL). > >> However, with point is in the Gnus summary window, mouse-1 on the same >> links does nothing. Mouse-2 works fine. > > It's a bug in Emacs due to this change: > > 2005-12-27 Richard M. Stallman > > * 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. I don't recall what this change was for? It seems like the wrong change. A function called from a mouse click can always call `with-selected-window' if it needs to.