From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#374: Info header line does not respect mouse-1-click-follows-link Date: Sat, 14 Jun 2008 13:18:24 -0400 Message-ID: References: <000801c8c832$81861ff0$0200a8c0@us.oracle.com> <00b501c8cdf5$d5b8d180$0200a8c0@us.oracle.com> <00bc01c8ce3c$f3079860$0200a8c0@us.oracle.com> Reply-To: Stefan Monnier , 374@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213464530 20028 80.91.229.12 (14 Jun 2008 17:28:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 17:28:50 +0000 (UTC) To: <374@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 19:29:32 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7ZZC-0003eK-I5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 19:29:30 +0200 Original-Received: from localhost ([127.0.0.1]:50521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7ZYO-0000oj-JN for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 13:28:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7ZX4-00007N-HO for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 13:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7ZWy-0008Vj-L5 for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 13:27:14 -0400 Original-Received: from [199.232.76.173] (port=54152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7ZWx-0008V8-U2 for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 13:27:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37885) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7ZWx-0007Jt-8A for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2008 13:27:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5EHR7Dj032643; Sat, 14 Jun 2008 10:27:09 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5EHP3OW031524; Sat, 14 Jun 2008 10:25:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 14 Jun 2008 17:25:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 374 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 374-submit@emacsbugs.donarmstrong.com id=B374.121346391430287 (code B ref 374); Sat, 14 Jun 2008 17:25:03 +0000 Original-Received: (at 374) by emacsbugs.donarmstrong.com; 14 Jun 2008 17:18:34 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5EHIVWU030281 for <374@emacsbugs.donarmstrong.com>; Sat, 14 Jun 2008 10:18:32 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcFAKWaU0jO+KWv/2dsb2JhbACBW6sU X-IronPort-AV: E=Sophos;i="4.27,644,1204520400"; d="scan'208";a="22521032" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 14 Jun 2008 13:18:25 -0400 Original-Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id UXG98424; Sat, 14 Jun 2008 13:18:24 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 97AF08336; Sat, 14 Jun 2008 13:18:24 -0400 (EDT) In-Reply-To: <00bc01c8ce3c$f3079860$0200a8c0@us.oracle.com> (Drew Adams's message of "Sat, 14 Jun 2008 09:37:34 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 14 Jun 2008 13:27:14 -0400 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:18390 Archived-At: >> > Whatever mouse-1 does on non-links, which is also whatever mouse-1 >> > does elsewhere (e.g. non-header lines) when the variable is nil. In >> > most cases, it is what `mouse-set-point' does. >> But mouse-set-point makes no sense on the header-line: there's no >> associated buffer position. > Wrong. You can click a non-link in the header-line or mode-line to > set focus: select its window/buffer. That is a primary use of the > normal mouse-1 binding. In normal use, there are plenty of other places on the screen where you can click to do that. `mouse-1-click-follows-link' was introduced to resolve conflicts where "clicking elsewhere" is not an option, i.e. because you might either want to follow the link or want to place point within the link's text. > When mouse-1 follows links, you have to be careful where you click, to > do that. The bug is that for these screen areas, mouse-1 follows > links regardless of the option value. That's pretty much "always" been the case: you cannot blindly click (with mouse-1 or something else) on "active" areas on the screen in general. With mouse-1-click-follows-link deactivated, this is less often the case, but it is still the case. > Both 0 and nil should turn off link following by mouse-1 - > *everywhere*. There is no reason not to provide users with this > pre-Emacs 22 behavior as an option. Anything less is a regression. Try Emacs-21 and take a look at its mode-line. You'll see it has mouse-1 on the buffer name active as well. Emacs-22 might be "worse" in this respect but I don't think it's a good idea to force such mouse-1 bindings to be redundant (so they can be disabled with mouse-1-click-follows-link). Stefan