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: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Date: Wed, 07 Apr 2021 16:45:04 +0300 Message-ID: <83v98y9pjz.fsf@gnu.org> References: <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org> <874kgkxxs0.fsf@posteo.net> <3ec7e2e58a100426a22e@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34684"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, emacs-devel@gnu.org, manuel.uberti@inventati.org, philipk@posteo.net, raman@google.com To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 07 15:46:26 2021 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 1lU8Vm-0008tp-GP for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Apr 2021 15:46:26 +0200 Original-Received: from localhost ([::1]:52098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU8Vl-0002Yz-GR for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Apr 2021 09:46:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU8UV-0001MQ-0O for emacs-devel@gnu.org; Wed, 07 Apr 2021 09:45:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46072) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU8UT-0002tZ-4D; Wed, 07 Apr 2021 09:45:05 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3047 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lU8UR-0002df-2W; Wed, 07 Apr 2021 09:45:03 -0400 In-Reply-To: (message from Yuri Khan on Wed, 7 Apr 2021 20:05:51 +0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:267516 Archived-At: > From: Yuri Khan > Date: Wed, 7 Apr 2021 20:05:51 +0700 > Cc: Philip Kaludercic , "T.V Raman" , > Manuel Uberti , > Emacs developers > > On Wed, 7 Apr 2021 at 19:11, Gregory Heytings wrote: > > > Given that Emacs is primarily keyboard-driven, it seems to me that the > > most efficient way to select an item is, and will always be, to use a > > textual representation of the items in the list to select them. C-x 8 RET > > does this, you (can) select an unicode character with its name. For > > example C-x 8 RET inf RET inserts the infinity symbol. Or course you > > could also navigate through the ~45000 unicode characters to select the > > one you want, but that would be far less efficient. > > This is a narrow-minded view. Please try to be kinder when you post here. Telling someone he is narrow-minded is not exactly friendly. > For one, it does not address the use case, “I know the character I > want exists, I vaguely know which script or block it belongs to, and > I will recognize it when I see it, but at the moment I don’t > remember its name or any of its aliases”. > > The UI for this case is implemented in, e.g., gucharmap(1). It > consists of a sidebar with a list of filters (mostly scripts or > blocks, choosable from the View menu, but also “All”), a grid of > characters showing the filtered subset, a panel displaying information > on the currently selected character, and a search facility (on Ctrl+F > and Ctrl+G and Ctrl+Shift+G). For convenience, filters can be switched > sequentially by pressing Ctrl+Page Up and Ctrl+Page Down without > moving keyboard focus away from the grid. This isn't completion, this is (one type of) selection dialog. Emacs supports some of them, although not for selecting a character, when the user invokes a command by some mouse gesture. (We could add an option to pop up these dialogs even if the command was invoked by keyboard, if people like the idea.) For example, we have a dialog for selecting a file and a dialog for selecting a font. If someone wants to add a dialog for selecting a character using its block and other attributes, such a feature will be very welcome, of course.