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#3529: 23.0.94; C-h k mouse-1 on mode-line fields with menus brings up the menu Date: Sat, 27 Jun 2009 02:03:30 +0200 Message-ID: References: <1BA8F04112224898BB8C7B536DCF105A@us.oracle.com> Reply-To: Stefan Monnier , 3529@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 1246061878 502 80.91.229.12 (27 Jun 2009 00:17:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 00:17:58 +0000 (UTC) Cc: 3529@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 02:17:50 2009 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 1MKLc6-0007dm-2l for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 02:17:50 +0200 Original-Received: from localhost ([127.0.0.1]:37700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKLc5-0005gz-F6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jun 2009 20:17:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKLbo-0005ae-Hu for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 20:17:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKLbj-0005Yl-IY for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 20:17:31 -0400 Original-Received: from [199.232.76.173] (port=35843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKLbi-0005YO-LC for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 20:17:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41676) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKLbi-0004ti-2V for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 20:17:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R0HN56001773; Fri, 26 Jun 2009 17:17:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5R0A6Iu000343; Fri, 26 Jun 2009 17:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 27 Jun 2009 00:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3529 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3529-submit@emacsbugs.donarmstrong.com id=B3529.124606101631171 (code B ref 3529); Sat, 27 Jun 2009 00:10:06 +0000 Original-Received: (at 3529) by emacsbugs.donarmstrong.com; 27 Jun 2009 00:03:36 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp-01.vtx.ch (smtp-01.vtx.ch [212.147.0.84]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R03VC0031162 for <3529@emacsbugs.donarmstrong.com>; Fri, 26 Jun 2009 17:03:32 -0700 Original-Received: from alfajor.home (dyn.83-228-218-202.dsl.vtx.ch [83.228.218.202]) by smtp-01.vtx.ch (VTX Services SA) with ESMTP id 6861A28065; Sat, 27 Jun 2009 02:03:30 +0200 (CEST) Original-Received: by alfajor.home (Postfix, from userid 20848) id 4457A64341; Sat, 27 Jun 2009 02:03:30 +0200 (CEST) In-Reply-To: <1BA8F04112224898BB8C7B536DCF105A@us.oracle.com> (Drew Adams's message of "Wed, 10 Jun 2009 14:11:00 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 26 Jun 2009 20:17:31 -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:29002 Archived-At: > It should describe mouse-1 at that point. It should not just bring up > the menu. IOW, it should act just like C-h k mouse-1 does when you > click the buffer name: give you info about what mouse-1 does at that > position. The current behavior was made specifically so that C-h k can be used to figure out which command is run by a given menu entry. I agree that it can sometimes be useful to figure what the name of the menu, but currently Emacs does provide any way for the user to distinguish between the two cases, so depending on how you define the menu (either as a keymap or as a commmand that pops up a menu), you can either find info about the bindings in the menu, or info about the menu itself. I personally need info about the bindings a lot more often than info about the menus, which is why we have the current behavior. It's also in line with the behavior of C-h k for menubar menus. Stefan