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: on helm substantial differences Date: Fri, 20 Nov 2020 14:15:13 +0200 Message-ID: <83sg94z0ku.fsf@gnu.org> References: <87wnymda5g.fsf@mail.linkov.net> <87ima5he8j.fsf@mail.linkov.net> <87mtzfzt9a.fsf@mail.linkov.net> <87lfezd8r0.fsf@mail.linkov.net> <87k0uj58ub.fsf@mail.linkov.net> <87lfey28us.fsf@tcd.ie> <87ft56h6sr.fsf@mail.linkov.net> <87y2iybe27.fsf@mail.linkov.net> <873614ido7.fsf@mail.linkov.net> <83tutkz1ea.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, bugs@gnu.support, andreyk.mad@gmail.com, emacs-devel@gnu.org, contovob@tcd.ie, rudalics@gmx.at, monnier@iro.umontreal.ca, ghe@sdf.org, drew.adams@oracle.com To: juri@linkov.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 20 13:16:24 2020 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 1kg5Ky-0009lb-Lt for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Nov 2020 13:16:24 +0100 Original-Received: from localhost ([::1]:57178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg5Kx-0004nQ-Of for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Nov 2020 07:16:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg5K8-0004EE-Dm for emacs-devel@gnu.org; Fri, 20 Nov 2020 07:15:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54629) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg5K4-0007hm-I3; Fri, 20 Nov 2020 07:15:28 -0500 Original-Received: from [176.228.60.248] (port=2938 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kg5K4-0000Y6-1H; Fri, 20 Nov 2020 07:15:28 -0500 In-Reply-To: <83tutkz1ea.fsf@gnu.org> (message from Eli Zaretskii on Fri, 20 Nov 2020 13:57:33 +0200) 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:259483 Archived-At: > Date: Fri, 20 Nov 2020 13:57:33 +0200 > From: Eli Zaretskii > Cc: spacibba@aol.com, bugs@gnu.support, andreyk.mad@gmail.com, > emacs-devel@gnu.org, contovob@tcd.ie, rudalics@gmx.at, > monnier@iro.umontreal.ca, ghe@sdf.org, drew.adams@oracle.com > > > From: Juri Linkov > > Date: Fri, 20 Nov 2020 11:24:24 +0200 > > Cc: spacibba@aol.com, Jean Louis , andreyk.mad@gmail.com, > > emacs-devel@gnu.org, rudalics@gmx.at, > > Stefan Monnier , Gregory Heytings , > > Eli Zaretskii , Drew Adams > > > > > BTW, using `affix-function' also makes it possible to group completions, > > > then the prefix of the first completion in the group could contain > > > a group header with group name. > > > > 'mule--ucs-names-annotation' has this comment: > > > > ;; FIXME: It would be much better to add this annotation before rather than > > ;; after the char name, so the annotations are aligned. > > > > With `affix-function' it's possible to add the char before the char name. > > Adding groups is also simple (I recall that Richard asked to group by blocks). > > FWIW, I like the old behavior better, since it shows completions in > the "traditional" way: first the stuff I typed completed, then > whatever else is relevant. So maybe this should be an optional > feature. Btw, just switching the order doesn't yet guarantee the names will align, because characters are not guaranteed to have the same width on display. To really align them we need to use :align-to properties, or at least TABs. Of course, using those techniques we could also align the display without switching the order...