From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Thu, 07 Nov 2019 23:07:49 +0200 Message-ID: <83bltne6oq.fsf@gnu.org> References: <83h83ignrz.fsf@gnu.org> <83ftj2gma8.fsf@gnu.org> <87zhhaxalt.fsf@gmail.com> <83bltpgffr.fsf@gnu.org> <83tv7gg9oz.fsf@gnu.org> <83r22kg8pa.fsf@gnu.org> <20191106205133.njij3ve7qqy7yh3q@Ergus> <83ftizg4nr.fsf@gnu.org> <8336ezg2vm.fsf@gnu.org> <83wocbelu1.fsf@gnu.org> <83imnvegcp.fsf@gnu.org> <83ftizeelw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95390"; mail-complaints-to="usenet@blaine.gmane.org" Cc: spacibba@aol.com, dgutov@yandex.ru, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 22:09:14 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 1iSp1l-000Ohx-V5 for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 22:09:14 +0100 Original-Received: from localhost ([::1]:48086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSp1k-0003fT-Qm for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 16:09:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSp0b-0003fL-QF for emacs-devel@gnu.org; Thu, 07 Nov 2019 16:08:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSp0b-0001ON-Ho; Thu, 07 Nov 2019 16:08:01 -0500 Original-Received: from [176.228.60.248] (port=2314 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSp0a-0004Xd-RA; Thu, 07 Nov 2019 16:08:01 -0500 In-reply-to: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Thu, 7 Nov 2019 18:37:53 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:241955 Archived-At: > From: João Távora > Date: Thu, 7 Nov 2019 18:37:53 +0000 > Cc: Ergus , emacs-devel , > Stefan Monnier , Dmitry Gutov > > > > > > "first-difference" to "completion-emphasis" and > > > > > "common-part" to "secondary-emphasis" > > > > > > > > I think secondary-emphasis is not a good name, it says nothing about > > > > its use. We should find a better name. > > > > > > "alternate-emphasis"? > > > > Same problem. How about "match-emphasis"? > > First, I hope we don't confuse ourselves, there is a prefix implicit > here right? It's "completions" (or actually it should be "completion" > singular). Apologies if I've been sloppy in using and not using > the full name. > > So I'm proposing "completion-emphasis", which we seem to agree > on Not really, no. It suffers from the same problem: too vague to say what it's used for. > for _primary_ emphasis, the thing that the matching style wants > to highlight most prominently. > > Regarding the second (but not necessarily secondary) face, for other > things the completion style you are proposing "completion-match-emphasis", > right? This is the one aliased to existing "completions-common-part". The names "primary" and "secondary" are artificial and even subjective. We should try to find more descriptive terms that tell more about the uses of the face. > So "alternate", "supporting", "secondary" or anything that expresses > that would be my choices. Not mine, sorry.