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: Fri, 8 Nov 2019 16:27:36 +0000 Message-ID: References: <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> <83bltne6oq.fsf@gnu.org> <87lfsrqs63.fsf@gmail.com> <838soqeuzr.fsf@gnu.org> <87ftiyn07t.fsf@gmail.com> <8336eycvpf.fsf@gnu.org> <83pni2bcws.fsf@gnu.org> <83imnubax9.fsf@gnu.org> 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="92374"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Ergus , Dmitry Gutov , Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 08 17:29:44 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 1iT78p-000Ns6-2v for ged-emacs-devel@m.gmane.org; Fri, 08 Nov 2019 17:29:43 +0100 Original-Received: from localhost ([::1]:57248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT78n-0004Yh-Jw for ged-emacs-devel@m.gmane.org; Fri, 08 Nov 2019 11:29:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33172) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT773-0003OE-0x for emacs-devel@gnu.org; Fri, 08 Nov 2019 11:27:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iT771-0006zN-Vl for emacs-devel@gnu.org; Fri, 08 Nov 2019 11:27:52 -0500 Original-Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:45589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iT76z-0006vM-W7; Fri, 08 Nov 2019 11:27:50 -0500 Original-Received: by mail-il1-x129.google.com with SMTP id o18so5627438ils.12; Fri, 08 Nov 2019 08:27:49 -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=79FNuy5Udgd8ZAUQFEfY6rZnSWacWVHSpETxj76EwNg=; b=MpkVUmLW0wSZ+VlwUJd5ZnuLTO6Ro2uSrIbvx2YR+nvdaPW1mC4iQp5eF+P2wgDlnv 3M+dxKZGxZb/JGG5GbrYB7XiQgSXC44Dw+zro0j1rEK4xPBiEEVFpYwplnFHhx0jZr4a oJivh/45kf2NEcyrHhpaET96RzzwoaCDAf7T3b/zCIyq4zuw+HlNX5oNY10lFxov7nBP CA/4OBmd/Wx0TAiEwA1TdeX5sE+LBPWCpK0sQ60sRDuKkLXtmyACCQJlvpjtduLAAM8m +9o7T9YlAGOQIxmbiX0DgQZLV2uot15/nnMGLCbOb1OjtGe0hxH/E0+jG1Y3EE1O1GmT zziA== 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=79FNuy5Udgd8ZAUQFEfY6rZnSWacWVHSpETxj76EwNg=; b=A0RAygD023gfaLIMDFwwoTInmJfDvncQQcsAcTBEaAv14RK6grZmYNdOEjPJ7gOs6Z zVdgtqAorrGtd/+lsAR8KtLZso05gOz4e6ZfWLnjnPaQO5V/ArsT7xUIcbOYiSVYJqPP sCQnZd+VtbmekENzGhdZjPXe+One1hVOO910BQmh5MLRyvAWDBgvn4pYiU8pMwoujM20 t3p/Cjsdr4mzoMl8+xL5nxhFzGtcGhwqyvc/vM/gQa+8zJ/jc1O/6U8gAIF7Al9Psjsf dIK0MYiSGhvScpDfXeLZmF0oWZXG53SGHFvSLtp1eFS1cfo2RbeWBQqwBDaR/UUoaR2X hugA== X-Gm-Message-State: APjAAAWSkS0/iS6nmoOhW7gJXpEP2+fJ+6FTsS+zZctlw5pmVI+s001I /4FRO1e0fA4iVIWCx2UG4PiSyGBN+upTv1Wq4GzeWw== X-Google-Smtp-Source: APXvYqxk1NpSvys5wkPp+CZ13o3Go4LUCcdfzDQLmBDh6hnDdM6zaZ8o1nKpo+ANhUXncIuA6N4za2ajdBxLODyaEeM= X-Received: by 2002:a92:1513:: with SMTP id v19mr13133564ilk.125.1573230468638; Fri, 08 Nov 2019 08:27:48 -0800 (PST) In-Reply-To: <83imnubax9.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::129 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:241988 Archived-At: On Fri, Nov 8, 2019 at 4:17 PM Eli Zaretskii wrote: > > > From: Jo=C3=A3o T=C3=A1vora > > Date: Fri, 8 Nov 2019 16:01:54 +0000 > > Cc: Ergus , emacs-devel , > > Stefan Monnier , Dmitry Gutov > > > > So, using the opportunity that the subject is fresh now, would > > you object that 'flex' starts using a new face, say > > 'completion-flex-pattern-emphasis' or 'flex-pattern-emphasis' , > > that inherits from the current 'completions-first-difference' face? > > It's possible, though perhaps not optimal. I'd prefer to try to use > the same faces, and have their names explain what they do in a > sufficiently generalized way which would fit all styles. I'm afraid this particular goal is irreconcilable with a freshly installed Emacs having, __by default__: 1. 'basic' style give prominence to the "first different character" 2. 'flex' style give prominence to the pattern's characters. UNLESS, of course that elusive face name is something deliberately vague and generic like 'completion-emphasis' or 'completion-prominence', what you call obfuscation of the specific meaning. So "fit all styles" conflicts with "reveal the specific meaning". Therefore, I propose we take the the "not-optimal" and "possible" route. --=20 Jo=C3=A3o T=C3=A1vora