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 21:17:38 +0200 Message-ID: <32071337-c91d-46ad-bb9b-10b8d0c83965@gutov.dev> References: <874jetaxri.fsf@jeremybryant.net> <87le84oqbd.fsf@yahoo.com> <87plxdpsxw.fsf@posteo.net> <87r0hridvr.fsf@posteo.net> <5dd3d04c-c0eb-43fe-b7c2-957f80261ea3@gutov.dev> <87eddqiw84.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="16121"; 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 20:18:53 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 1rX4UV-0003wM-8s for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Feb 2024 20:18:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX4Tg-0006xz-Hv; Mon, 05 Feb 2024 14:18:00 -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 1rX4TR-0006se-6I for emacs-devel@gnu.org; Mon, 05 Feb 2024 14:17:49 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rX4TP-00018P-12 for emacs-devel@gnu.org; Mon, 05 Feb 2024 14:17:44 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 809465C0125; Mon, 5 Feb 2024 14:17:41 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 05 Feb 2024 14:17:41 -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=1707160661; x=1707247061; bh=oRQUZq0qaFEwmlHvO3ov5XoIvdj+YnlhtXaMGzfSf4U=; b= Y+sKSAQojoVVgbHgubRSrRMcZXqmWuUA7Psqlr+BxuFy1sveJD3eDyjwnoNYCeQ3 f9XQDikp4DW87m3dgL4kwzwYX1i5LraL5zd1fwxjROSJaAR+c+x34M9JqtmliArF GJtJ0w+Q5RUve2ZdT29LfO9PknTfK055y2Mt0SfXDTLoFGFoaWsk4VsEo9IFchlZ 5Jgsg8wVpGBh3C5zHaWBQYIR5Ig9u1S/2pdHRu/5ZvDnneg+1l/xZUzAMEptU++J eD82xbttij8Gn6q29OvbyvOhJ66DBUPmIcDyUkVWpq6yMAFQXMph09zFB6csTxwa lhlPKqBzu+SzmJDQGYSbFg== 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=1707160661; x= 1707247061; bh=oRQUZq0qaFEwmlHvO3ov5XoIvdj+YnlhtXaMGzfSf4U=; b=R SQaAdxAh19XJ+JflghLNY+gCRKgTQ0EVHyG5z+w8I7JzuOQtl5lSAQARTla6oivc oWOR4XFqoDb0r58R6XEdAXSVQ1kxK5YUVEGHMi6dCFu4JAQDTXLjyoNVv0V0PGGk hGIByljhUcAy4wN9+MsdEvaAmqMx6j4yzDCr2YFzRGfnYWkhlK8fYhQprxKbw9QU QABwJO9ZVXWOQF/TOJUHtxemyBTP7iyFOZwwv+zkVDl7NRd8yKCVZ+b6UDmjTuev oXaz+6qKJ58kCvAcv3h75NMw4nZiWKFUr5/h4IuFZbmoUDnS4Cf/TKkXKjTdzTWE nLVc4hwRre1IiR+RbM8iw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvuddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Feb 2024 14:17:39 -0500 (EST) Content-Language: en-US In-Reply-To: <87eddqiw84.fsf@posteo.net> Received-SPF: pass client-ip=66.111.4.28; envelope-from=dmitry@gutov.dev; helo=out4-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_H3=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:315904 Archived-At: On 05/02/2024 20:47, Philip Kaludercic wrote: >>>> 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. > I don't know, what I meant with transient buffer is that it isn't > persistent, as is the case with C-h C-h where a new window pops up that > is no different than any other window and behaves consistently. > Transient buffers, in my experience, usually gobble up all key-presses > and re-implement their own "MVC" that can differ in subtle points. What I'm wondering, is where to do from here. If you like which-key's UI (and I don't mind it, aside from the timer thing -- seems like it can be more useful than the current 'describe-bindings' in many cases), then we could ask the author for this different mode of operation, where the timer only tells the user how to get this transient menu with hints (pressing C-h), but the menu itself isn't shown. Or more generally we'll have such a timer globally, and the message ("use C-h") would be independent from which-key. But which-key can plug into the "C-h" binding one way or another, to replace describe-bindings if the user configured it this way.