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: VOTE: Changing completions-common-part face's default Date: Thu, 7 Nov 2019 14:44:58 +0000 Message-ID: References: <4c5631d4-9dfd-04c6-c573-b83c67fcc2fa@yandex.ru> <87pni7p83l.fsf@gmail.com> <87h83ipoi0.fsf@gmail.com> <93235eb5-8e04-7182-e2a4-49fbe610ee2b@yandex.ru> <28d4ae09-daca-324b-2fa6-9d7138d710fa@yandex.ru> <87zhh82d8c.fsf@gmail.com> <1e1aa5a7-a35b-2ef5-6caf-10e02dd0c6ea@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="60682"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 15:48:56 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 1iSj5j-000Fes-S1 for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 15:48:55 +0100 Original-Received: from localhost ([::1]:43686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSj5i-0001MW-Hw for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 09:48:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50956) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSj28-0007Ri-GN for emacs-devel@gnu.org; Thu, 07 Nov 2019 09:45:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSj27-0004sO-B6 for emacs-devel@gnu.org; Thu, 07 Nov 2019 09:45:12 -0500 Original-Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:42203) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSj27-0004pf-5o for emacs-devel@gnu.org; Thu, 07 Nov 2019 09:45:11 -0500 Original-Received: by mail-io1-xd2e.google.com with SMTP id g15so2529635iob.9 for ; Thu, 07 Nov 2019 06:45:11 -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:content-transfer-encoding; bh=LgO0XC01dtoaSwMzQ9IZH5cGEpBGHiZ9t7XZJ7izENA=; b=GnlXjVmAKNiyiNbYvQ94bvddRDrRI4Eg35MAemmoGgqiMqk3q9jf9gyqSKzEQFf0tt e2ojDg8k/pyAxk1uxqqOz+YehbTlTF8lttFHbUjLNqr6A9K4S2SnuTrv5BQrRnY+x9zr uOcaoOHYK1C7I38Qmmpd9ypF+UDDnlOD/pZwqtdZNuM61Gd6M6IH4MxmG3HzyVW0d5ki oFVKTgT+R6rXt4qH3ntKJCJvPoB+aeCOXze2quF7RoJG8WQJthpus+o6W3l/JOOqRHDe T6uMqGjynqtRcAd98SXW9QsBBCCthXlFCF0FFqy1UdbRF6Hc4HcakPOLDq/zQtyZiykm HqiA== 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:content-transfer-encoding; bh=LgO0XC01dtoaSwMzQ9IZH5cGEpBGHiZ9t7XZJ7izENA=; b=c2KvN0KT1eApipF/H/u1ylO0DqxirA4sid4FlDHWhPj6nzVRP52GDAWM17iMbayQYI 4+Rr84YQa7lb5nyEZRmBBrY7ZOvwfBpUM9hzzjGstxp3GlaBUbCsw+jzpMVKDfdAi2fH geF8T985JKeLVQG9StU6kDQLueKZSigWy9TctKM5emWLoQk+TUDwSeN+EJiuAn9OjXwg JfdU8xNajGReIpbxRIVEuzfNEP3WD2wTKf54Doe4ftITQMotlEzfMlnq8WyfHOL2PWi2 hMze1wEO/87G9KW5lZUz6Y0SyHoFncNclR5y6Y0xo2dyi9kBtPos1VqJpDXVpoQbv8// RbCg== X-Gm-Message-State: APjAAAUJGDFUkbF4aBH2z+Mo5aVLmhXe5oeMU0eMEVS+dMJOvQtqJiq/ 25JPdKGv/DuUl+Gss3XDjQOiPsD3HsOAk5Lj+to= X-Google-Smtp-Source: APXvYqyT+ceU0bWNtcN9e79fOHCyPHgl6gWdRoQO/ATGm7JEqYxx9/b7cvypL9HYFcgyfBahons8gJ1Sf4oGeNhhBco= X-Received: by 2002:a5d:8b94:: with SMTP id p20mr3649153iol.97.1573137909885; Thu, 07 Nov 2019 06:45:09 -0800 (PST) In-Reply-To: <1e1aa5a7-a35b-2ef5-6caf-10e02dd0c6ea@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2e 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:241928 Archived-At: On Thu, Nov 7, 2019 at 2:34 PM Dmitry Gutov wrote: > On 07.11.2019 12:27, Jo=C3=A3o T=C3=A1vora wrote: > > It seems to be more than "feeling". Have you asked yourself why the > > whole industry seems to does it differently (i.e. with bold or some > > other contrasting color)? > I'm assuming that's rhetorical. It wasn't. Assume you have asked yourself that, what answer did you arrive at? > The idea is that one would really need to find out why a given string is > among the matches very rarely. Maybe once of twice, and they'll simply > trust the completion engine after that. And for a one-off task, one > might as well squint a little. squinting is bad, mkay? But it's interesting you point that out, because it allows me to think why I want this: one of the inherent characteristics of "flex" is precisely that it can't be "trusted" 100%. It makes educated guesses, hopefully very good ones, but sometimes fails, so the user double-checks via the highlighting. > Vice versa, one might ask why we added this in-your-face highlighting > why simply looks like a solid blue (or aquamarine) column in the > Completions buffer. And we'll have to answer that, well, there exists a > recently added non-default completion style where this highlighting is > really useful. No. It's totally _not_ harmful in the default style. It doesn't make the first-difference character any harder to spot, nor the preceding text harder to read > BTW, speaking of backward compatibility, some of the changes in face > placement you proposed would break company-capf's implementation of the > 'match' action. I can make a patch for that, if you explain what happens. If it's the decision where to put company's emphasis, just put it wherever completions-emphasis is. Jo=C3=A3o