From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: discoverability, better defaults and which-key in Emacs Date: Mon, 5 Feb 2024 17:38:23 +0200 Message-ID: <5dd3d04c-c0eb-43fe-b7c2-957f80261ea3@gutov.dev> References: <874jetaxri.fsf@jeremybryant.net> <87le84oqbd.fsf@yahoo.com> <87plxdpsxw.fsf@posteo.net> <87r0hridvr.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6691"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Po Lu , Jeremy Bryant , justin@burkett.cc, Emacs Devel To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 05 16:39:10 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rX13s-0001Py-Sc for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Feb 2024 16:39:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX13Q-0000rJ-Ou; Mon, 05 Feb 2024 10:38:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX13N-0000qk-4x for emacs-devel@gnu.org; Mon, 05 Feb 2024 10:38:37 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX13I-0003S4-Ms for emacs-devel@gnu.org; Mon, 05 Feb 2024 10:38:36 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1988532009F8; Mon, 5 Feb 2024 10:38:27 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 05 Feb 2024 10:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1707147506; x=1707233906; bh=OHGbZQ462LKQjBDWtCYiD7NgnecFAif+hLgIae37Pq4=; b= o1iKBZ12mLb5V2xDcStefQSZwcRJ6YSKDAZzMO/raXCQU1tM+lYRUJJj6MeOF91M KzF4UVrTEiGDVRtvlWMSW0z2aAEYVMMJD6GAzDYP5QLfbF2ZY1o4Xm4focqgO25D 8leWq2KnPikIIU05qcXYuLCDw9Dv+wbUZkgPCdzylPKquDWG9bJy0wZrfNGf/UlK oo3/NnzrhjtsYpVfv8HohxOb9bmnk3mxhO3y4dhnh2SrnafnHEYyRTFFEfXoNJFT GqDLTs0khuR3ND3MYKapq1173RSmXIbvG2IBr4UarO2n0pXgRNkCP9rNtRBbnPXc I/ZK3rvA3PSROPvVb0zwnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707147506; x= 1707233906; bh=OHGbZQ462LKQjBDWtCYiD7NgnecFAif+hLgIae37Pq4=; b=G 7W6SL8UUw7XRqzRRZ2xeARC4vU50jgqBWIoIXYP2gwdqJyXOLW3MdaAVKWuMCvG0 kCeufBqhpWYVdSGRcoBViW4Hru2k3j9oFJC9Fwb2TRaENc4NPjQVNsqmxMOYMVHI 1qBjnAB7PfM2HFrLtQSv3yFaHUBuhOmeSYQn36QzMqPfGZtuPsayCZys2uCKpSM6 vQyXA553l3Xfog/CGsWG+NnC7m14RO24/pyh829ObtCZHlGNkg2k8TRelDxfMH3j dZ28YwWXT8MmhVLABwPbQFSBPDwj5RMB0BYbZVJBl07Rp6ZnBD99VMT+OgOw9PcD HO4A6Wcf17scTaHi4VxlQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvtddgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepfeekheeuteeigeevledtjeefheefheehjeehkeeuhfeffeelveffleehfefh vdevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Feb 2024 10:38:25 -0500 (EST) Content-Language: en-US In-Reply-To: <87r0hridvr.fsf@posteo.net> Received-SPF: pass client-ip=64.147.123.20; envelope-from=dmitry@gutov.dev; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315900 Archived-At: On 05/02/2024 09:11, Philip Kaludercic wrote: > Dmitry Gutov writes: > >> On 03/02/2024 15:40, Philip Kaludercic wrote: >>> Po Lu writes: >>> >>>> Jeremy Bryant writes: >>>> >>>>> Here is a suggestion - include which-key in core and potentially enable >>>>> by for new users. >>>>> >>>>> I understand it is in ELPA already. >>>>> >>>>> Author Justin has expressed openness to the idea in >>>>> https://github.com/justbur/emacs-which-key/issues/355 >>>> I don't think enabling it by default is all that desirable, since its >>>> popups are far more intrusive than keystrokes are when echoed, but >>>> moving it to core is a decent idea. >>> I second this concern, it also promotes the inefficient practice of >>> inspecting keymaps by waiting for the idle timer to be triggered. >> >> What if instead of having the help on a timer, the timer would add a >> small hint in the echo about how to invoke help (i.e. press C-h)? > > I think that would be a significant improvement if it is to be enabled > by default. I don't have an issue with the presentation (though the > transient buffer is my preferred UX). Is "transient buffer" the same as what which-key uses? I think the 'transient' package uses similar display.