From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: mouse-1-click-follows-link in dired surprising Date: Thu, 29 Jun 2006 11:23:40 +0200 Organization: StormWare Message-ID: References: <4Jxog.2915$Uc3.2353@tornado.texas.rr.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151580618 13439 80.91.229.2 (29 Jun 2006 11:30:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 11:30:18 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 29 13:30:17 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fvuiq-0005l7-6R for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jun 2006 13:30:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvuip-0005IO-NR for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jun 2006 07:30:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fvuil-0005I7-Rn for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2006 07:30:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fvuij-0005HZ-Sg for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2006 07:30:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvuij-0005HV-ON for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2006 07:30:05 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FvuvH-0005DA-2l for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2006 07:43:03 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Fvuig-0005hi-89 for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2006 13:30:02 +0200 Original-Received: from mail.intermate.com ([213.83.150.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 13:30:02 +0200 Original-Received: from no-spam by mail.intermate.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 13:30:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mail.intermate.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:P1BAB0rV7XROkx0hNjZ3bP2nFrc= X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15186 Archived-At: doug (at) @ (my) bagley (house) .org writes: > using "GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.18) of > 2006-06-25 ..." > > Not sure if this is a bug in Emacs, or my expectations, but with > mouse-1-click-follows-link, mouse-1 now behaves in dired mode like > mouse-2; it does a find-file-other-window. It seems to me that this > isn't a good thing, as I (and perhaps others who use "click to > raise" behavior in their window manager?) often want to raise a > frame containing a dired buffer by doing a mouse-1 click in it, but > since virtually all lines in that buffer are considered "links", > and the default behavior of mouse-1-click-follows-link is to follow > the link, this visits files I do not intend to visit. To me, it is > surprising behavior. > > I currently work around this by making mouse-1-click-follows-link a > local variable in dired-mode and setting it to nil. But is there > really any need for mouse-1-click-follows-link in dired (as mouse-2 > already does the same thing)? Could this be disabled by default? Try: (setq x-mouse-click-focus-ignore-position t) -- Kim F. Storm http://www.cua.dk