From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#139: describe-key vs. widget red tape Date: Mon, 30 Sep 2019 10:31:23 +0300 Message-ID: <8336gedyus.fsf@gnu.org> References: <87mynwgrxb.fsf@jidanni.org> <877e5ql42d.fsf@gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="230081"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 139@debbugs.gnu.org, jidanni@jidanni.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 09:32:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEqAW-000xgU-Hh for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 09:32:28 +0200 Original-Received: from localhost ([::1]:46758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEqAV-0005Sz-9l for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 03:32:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44109) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEqA7-0005Sj-MV for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 03:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEqA6-0001WS-Od for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 03:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEqA6-0001WI-Hr for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 03:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEqA6-000332-DL for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 03:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2019 07:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 139-submit@debbugs.gnu.org id=B139.156982870310820 (code B ref 139); Mon, 30 Sep 2019 07:32:02 +0000 Original-Received: (at 139) by debbugs.gnu.org; 30 Sep 2019 07:31:43 +0000 Original-Received: from localhost ([127.0.0.1]:56752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEq9m-0002o2-MC for submit@debbugs.gnu.org; Mon, 30 Sep 2019 03:31:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEq9h-0002fP-Ct for 139@debbugs.gnu.org; Mon, 30 Sep 2019 03:31:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iEq9b-0001Gf-Le; Mon, 30 Sep 2019 03:31:31 -0400 Original-Received: from [176.228.60.248] (port=4206 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iEq9V-00026N-RG; Mon, 30 Sep 2019 03:31:28 -0400 In-reply-to: <877e5ql42d.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 30 Sep 2019 07:56:58 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:167837 Archived-At: > From: Lars Ingebrigtsen > Date: Mon, 30 Sep 2019 07:56:58 +0200 > Cc: 139@debbugs.gnu.org > > > 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) > > [...] > > > 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. > > I don't think there's any way that could work in general. Emacs knows > what down-mouse-1 calls, but it doesn't know about what that function in > turn does. > > We could teach describe-key about certain common constructs, like > widgets and buttons, but that would be very ad hoc indeed, I think? If the action of the button is not clear from the button's label, it should have a help-echo string which describes that.