From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Tue, 5 Nov 2019 16:30:08 +0000 Message-ID: References: <4c5631d4-9dfd-04c6-c573-b83c67fcc2fa@yandex.ru> <87pni7p83l.fsf@gmail.com> <87h83ipoi0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bcd51205969bf285" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="257233"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel , Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 05 17:32:16 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iS1kc-0014n9-F7 for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2019 17:32:14 +0100 Original-Received: from localhost ([::1]:46132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS1kb-0000jK-5E for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2019 11:32:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58124) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS1io-0007vC-HU for emacs-devel@gnu.org; Tue, 05 Nov 2019 11:30:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS1in-0004Ru-8x for emacs-devel@gnu.org; Tue, 05 Nov 2019 11:30:22 -0500 Original-Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:33217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS1in-0004Rq-3z for emacs-devel@gnu.org; Tue, 05 Nov 2019 11:30:21 -0500 Original-Received: by mail-io1-xd29.google.com with SMTP id j13so6891079ioe.0 for ; Tue, 05 Nov 2019 08:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xMOyAjicynYDUWlcAyatsYulprc1mGc7mlij/LW6co4=; b=o4Or4LnAQGCCfG1nunxbO1x7sJHD3i/yKTuBndzcDnZh8v+90kdZAMld5RWLe2fcWP Tce3j+R9vADrdVvhhh0MUvWWxnp+x9emlyIH6xtJRiXZB1KvElqVxe55Gc44bXFsrkdN JXXtAqBf6YIdrYLXm9qKqSgNxaf5p2Z4pgcAIgokXnWggI5U3Ej0SAZZtMUbJYk5G/Fd bgofE5EtmUVzeXjQ8APMKQ6UUDNoLgsQ1TWmlO14XWTRV1GKFzAksD9V7v9ujTJlEfyT qI0S+DdqHLqYxg3FMCebMft8SW0o70qkteYJvMLE16IF0rcBKsbBqQipp/PMTNrnMAyc b2gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xMOyAjicynYDUWlcAyatsYulprc1mGc7mlij/LW6co4=; b=PK7VjD7Z4Rp0AsTQTQqWo+L7phuPVnC0IgRqAMsJSv7zpbvGFDcEbwaXRPZX/OJyen L34o+YWK7ji6O7pEyDuUethKZ1hyXVO7mf4ZJp1O4uycwwyPcN1WLZQ1xjjZpaD41xcQ MT8bZKzJArOg2ngGM/CziKVZRctvtr7trE6Bh3UetR/+Lc3XTeJbnmIeUR58cXXhIkGy 76fj8vcdm8kQy6TGyw83T24kZh8S5JyDJZnNKPV5mhw7dB/N8Jhl+J0qmGao/IIdwVrI ZlzrSlKsUg7FHrCyOwHLTvbWEv4a2LPGP3Eozb7s/CU9vcGuNSfVEP6zvVplBhCYgNcR vuEw== X-Gm-Message-State: APjAAAUng7qw/YuRbQhhcaxBFeAa7P+mTwjsnjWUxEHaTlgR1FH+ftjP 05/91GOBte7fS2t82UbWYbVtXwVSk7TU08Iu07pztoOa X-Google-Smtp-Source: APXvYqxJDwthQbhVmZ5Q/IcSUJuXQMAQ1Q7XDusKZVKS2oVOKD+YhcbRSbojVaxB/jD1WYTL8Fcu4hhsvlchpMAwa9E= X-Received: by 2002:a6b:3b03:: with SMTP id i3mr26765776ioa.199.1572971420110; Tue, 05 Nov 2019 08:30:20 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d29 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241807 Archived-At: --000000000000bcd51205969bf285 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > I've tried to implement my idea, but somehow the added highlighting get= s > > eaten before the buffer is displayed. But the attached patch should > > illustrate it anyway. > > Regardless of how we implement this, the question remains: do we want to > highlight the common-part of the prefix/basic completion differently > from the other cases? I, for one, think we shouldn't. But I won't mind it, if that means having a good, familiar, promiment, those-really-are-the-mathing-parts, default for the 'flex' and 'substring' styles. My personal bikeshedding proposal goes in this direction. We can later enhance it by convincing 'prefix' users that it's just as explanatory to have the common part prominent and the first difference un-prominent. Then there won't be much of a dissonance. But I liked any of your initial proposals, too, Stefan. They are just as trivial and also scratch my back--shed. Also Juri seemed to suggest something in consonance with it at some point. And if Dmitry wants to push new defaults, I'm behind him, too. Jo=C3=A3o "nearing bikeshed stack overflow" --000000000000bcd51205969bf285 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> > I've tried to implement my idea, but somehow= the added highlighting gets
> > eaten before the buffer is displa= yed. But the attached patch should
> > illustrate it anyway.
&= gt; =C2=A0
> Regardless of how we implement this, the question remain= s: do we want to
> highlight the common-part of the prefix/basic comp= letion differently
> from the other cases?

I, for one, think w= e shouldn't.=C2=A0 But I won't mind it, if that means
having a g= ood, familiar, promiment, those-really-are-the-mathing-parts,
default fo= r the 'flex' and 'substring' styles.

My personal bik= eshedding proposal goes in this direction.=C2=A0 We can
later enhance it= by convincing 'prefix' users that it's just as
explanatory = to have the common part prominent and the first difference
un-prominent.= =C2=A0 Then there won't be much of a dissonance.

But I liked any= of your initial proposals, too, Stefan.=C2=A0 They are just
as trivial = and also scratch my back--shed.=C2=A0 Also Juri seemed to
suggest someth= ing in consonance with it at some point.

And if Dmitry wants to push= new defaults, I'm behind him, too.

Jo=C3=A3o =C2=A0"nearin= g bikeshed stack overflow"
--000000000000bcd51205969bf285--