From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: describe-key vs. widget red tape Date: Tue, 15 Apr 2008 03:25:20 +0800 Message-ID: <87mynwgrxb.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208201262 20370 80.91.229.12 (14 Apr 2008 19:27:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 19:27:42 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 14 21:28:15 2008 connect(): Connection refused 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 1JlUK8-0005cw-Ve for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 21:26:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlUJU-00037W-Mu for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Apr 2008 15:26:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlUJ3-0002we-Te for bug-gnu-emacs@gnu.org; Mon, 14 Apr 2008 15:25:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlUJ1-0002vD-85 for bug-gnu-emacs@gnu.org; Mon, 14 Apr 2008 15:25:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlUJ1-0002v9-0F for bug-gnu-emacs@gnu.org; Mon, 14 Apr 2008 15:25:31 -0400 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5] helo=blingymail-a2.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JlUJ0-0002AE-M6 for bug-gnu-emacs@gnu.org; Mon, 14 Apr 2008 15:25:30 -0400 Original-Received: from jidanni1 (122-127-32-184.dynamic.hinet.net [122.127.32.184]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a2.g.dreamhost.com (Postfix) with ESMTP id 9DB1E415C8 for ; Mon, 14 Apr 2008 12:25:28 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:17844 Archived-At: What will happen when I hit RET or click this mouse button here, I asked myself. Let's use trusty C-h k (describe-key). Nope. There's an extra layer of indirection involved apparently, and describe-key is not willing to cut through the red tape and give the ultimate answer along with its usual answer. at that spot runs the command widget-button-click which is an interactive compiled Lisp function in `wid-edit.el'. It is bound to , . (widget-button-click EVENT) Invoke the button that the mouse is pointing at. RET runs the command widget-button-press which is an interactive compiled Lisp function in `wid-edit.el'. It is bound to RET. (widget-button-press POS &optional EVENT) Invoke button at POS. Nope. The only way to find out what will happen is to fasten one's seat belts and hit or click and find out. And even if there is a different incantation to find out, describe-key should also cough up the ultimate answer too.