From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#21033: 25.0.50; `local-map' property inside `:eval' sexp in mode-line Date: Fri, 10 Jul 2015 16:03:13 -0700 (PDT) Message-ID: <7753d869-0ee5-46c3-a295-d2ce298e922d@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436570064 29846 80.91.229.3 (10 Jul 2015 23:14:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jul 2015 23:14:24 +0000 (UTC) Cc: 21033@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 11 01:14:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZDhUf-0006vh-L8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2015 01:14:09 +0200 Original-Received: from localhost ([::1]:46286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDhL3-00029u-Sj for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 19:04:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDhL1-00029l-5n for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 19:04:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDhKt-0003v3-3N for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 19:04:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDhKt-0003um-0D for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 19:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZDhKs-00043S-Ej for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 19:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jul 2015 23:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21033-submit@debbugs.gnu.org id=B21033.143656941615555 (code B ref 21033); Fri, 10 Jul 2015 23:04:02 +0000 Original-Received: (at 21033) by debbugs.gnu.org; 10 Jul 2015 23:03:36 +0000 Original-Received: from localhost ([127.0.0.1]:46499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDhKS-00042p-Go for submit@debbugs.gnu.org; Fri, 10 Jul 2015 19:03:36 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50942) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDhKQ-00042b-Iw for 21033@debbugs.gnu.org; Fri, 10 Jul 2015 19:03:35 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t6AN3RHV023970 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 10 Jul 2015 23:03:27 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t6AN3Q5G020463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 10 Jul 2015 23:03:26 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t6AN3DWA017729; Fri, 10 Jul 2015 23:03:26 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104906 Archived-At: > > =09=09(define-key map [mouse-2] 'foo) > ^^^^^^^^^ >=20 > events on the mode-line have a `mode-line' prefix. Ay, caramba ! (aka Merde !) Thank you! I should have thought of that. I'm glad I asked, because I'm pretty sure that would not have occurred to me, though it probably should have. I'll close the bug. > IOW, you want to use [mode-line mouse-2]. > This seems completely weird in this case, but it makes a lot of sense > when the binding comes from the buffer-local (or the global) keymap, > since it lets us define different bindings for clicks inside the window > and in the mode-line. Got it. Thx.