From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico Date: Wed, 21 Apr 2021 12:50:00 +0000 Message-ID: <87a6prby4n.fsf@posteo.net> References: <9c9af088-580f-9fb1-4d79-237a74ce605c@inventati.org> <874kgkxxs0.fsf@posteo.net> <87blamp5hy.fsf@posteo.net> <87h7k0c7tz.fsf@posteo.net> <83a6psq932.fsf@gnu.org> <87im4gaq63.fsf@posteo.net> <838s5brgom.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5203"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 21 14:51:35 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 1lZCKM-0000z2-TR for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Apr 2021 14:51:34 +0200 Original-Received: from localhost ([::1]:40734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZCKL-0001Rd-VN for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Apr 2021 08:51:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZCJ2-0000QX-By for emacs-devel@gnu.org; Wed, 21 Apr 2021 08:50:12 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:56135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZCIy-0005Rd-CE for emacs-devel@gnu.org; Wed, 21 Apr 2021 08:50:12 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BFE43240028 for ; Wed, 21 Apr 2021 14:50:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619009405; bh=xaKhNTtZyjvp0jh7N1RXvKuvnoJ2u8hEVI5tg8GKlq0=; h=From:To:Cc:Subject:Date:From; b=l/WzS2bWzCAGUupVZ4jFDaLU07zZ+R/gvBjzNOEf7MPdBCIYcYOGykrZyIgOiPU9O wCCCtNArvYdO/IzNTwhupRTJo5PTdZrr0mPUhC2/oS/4aHjTNmbp37Q7FqKs8pCO9T iOlpSBHK3D3IiimnY+86ECCAIebTPG7abNB1IVs5DrUxKewIcfFm2SiCqRCUZYaofq VuWay1X0+z1sZJgTRh6j71jBz4c5fmluyLCWHcIhtODmFPgHVg4TTUgqOj9i/OkvY2 WzogV+PhrQPzTZYn5wnL/XpVl3D3BQi6rhnVwtu67DfZKIencZJgWhXiJeAsvWEBCj z0vltFe0ZTpDw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FQL4D1DmLz6tmJ; Wed, 21 Apr 2021 14:50:03 +0200 (CEST) In-Reply-To: <838s5brgom.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Apr 2021 15:00:09 +0300") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:268229 Archived-At: Eli Zaretskii writes: >> Ideally yes, but is it possible to have a menu that can be both selected >> and expanded? > > I don't think I understand what you mean by "expanded" here. There > are submenus, if that's what you meant. The current model I am using assumes that selecting-read is passed a list of objects, and each object can have sub-objects (children). Every object has it's representation calculated and is displayed in the popup buffer. Any objects can be selected, even those with children. Most GUI menu interfaces I am familiar with do not allow selecting a menu that has children, but only "leaf nodes". If selecting-read should both have a buffer interface as well as a GUI interface, the abstraction should be restricted so that it fits both paradigms. -- Philip K.