From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: discoverability, better defaults and which-key in Emacs Date: Sat, 03 Feb 2024 10:49:26 +0200 Message-ID: <86eddu3pbd.fsf@gnu.org> References: <874jetaxri.fsf@jeremybryant.net> <86fryc1vsh.fsf@gnu.org> <86r0hu4qk8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17672"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Howard Melman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 03 09:50:34 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 1rWBjN-0004Ok-TH for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Feb 2024 09:50:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWBiM-0000t5-JB; Sat, 03 Feb 2024 03:49:30 -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 1rWBiK-0000sw-UD for emacs-devel@gnu.org; Sat, 03 Feb 2024 03:49:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWBiK-0003F1-Lm; Sat, 03 Feb 2024 03:49:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1QctkQu2JqduNxv8+N1WIYe4tcjXC63usoCxYSr//wY=; b=W2VWfNxQ5LbR ufJc//R724E5Hft4EUFe719JFSzBH90Ht1KjVqFS1RGx9sieKAIZ+OfM9HOxlnMKpZ8kcZ3mXisJ1 bFeDbQoVe0TGc8xohYXvR2L3ZKXq3phuyuH62n16SptuR6ZE5K02gBSrhxHP/gN4EOp7x2dgADpZN EUEW4DGOyFaOFc0W2ky6khHkjqw4/iPYeC328LnlyTg2+DLrEKpMRjTLYiyswIJgL6eLyycC8lZfP zpweyRg7fI+gLWqVs7hFFiPQG3bAcrYM+5iWGvTvoHjIzdSrYwA8H+7g1yt3SNmjldOHuIPW3hAby SQ+/u0SWtctA7WJlXRtF8Q==; In-Reply-To: (message from Howard Melman on Fri, 02 Feb 2024 15:16:29 -0500) 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:315798 Archived-At: > From: Howard Melman > Date: Fri, 02 Feb 2024 15:16:29 -0500 > > writes: > > > On Fri, Feb 02, 2024 at 09:24:55PM +0200, Eli Zaretskii wrote: > > > >> Since we are talking about _enabling_ the feature, the > >> above would mean that veteran users will need to be asked > >> whether to _disable_ it. Wouldn't that be an annoyance? > > > > For this one it would, yes. An unexpected popup can ruin > > my day. > > If, like disabling works, it would write to the init and it > would be a one-time annoyance, I don't think it's a big > deal. I tend to think it's a big deal. But maybe we could look at the result of (get 'narrow-to-region 'disabled) to deduce that if that is nil, we are dealing with a user who is not new, even if the key-bindings popup is not disabled. If which-key is also turned off in "emacs -Q", perhaps that would be good enough? And I still think that automatically popping up the *Help* buffer produced by describe-prefix-bindings is simpler and more coherent with the rest of Emacs than what which-key does. We could still import which-key as an optional feature, of course, even if the automatic popup of describe-prefix-bindings is implemented.