From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Sun, 10 Nov 2019 11:18:46 +0200 Message-ID: <86c1b45c-0a25-b1ed-ffb1-7dc0e50bd5d9@yandex.ru> References: <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> <83h83eb8od.fsf@gnu.org> <83d0e2b32k.fsf@gnu.org> <83r22ha64z.fsf@gnu.org> <831ruh9siv.fsf@gnu.org> <83y2wp8cnq.fsf@gnu.org> <83woc983so.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203316"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: spacibba@aol.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 10 10:20:28 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 1iTjOW-000qks-Bf for ged-emacs-devel@m.gmane.org; Sun, 10 Nov 2019 10:20:28 +0100 Original-Received: from localhost ([::1]:42132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTjOU-0004vJ-HN for ged-emacs-devel@m.gmane.org; Sun, 10 Nov 2019 04:20:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50791) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTjNy-0004ur-W3 for emacs-devel@gnu.org; Sun, 10 Nov 2019 04:19:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTjNx-0004k9-Sg for emacs-devel@gnu.org; Sun, 10 Nov 2019 04:19:54 -0500 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:34241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTjNx-0004jz-Km; Sun, 10 Nov 2019 04:19:53 -0500 Original-Received: by mail-wm1-x330.google.com with SMTP id j18so928036wmk.1; Sun, 10 Nov 2019 01:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WzyMcXoj7v2UAPXvI0YIQVZY0BK3YmOJdzNvVUPLH5A=; b=b36RVPodzoBOsaWHNKPDrgn1zshebuaYuq8NxC5eY2t52sdfSm22qARa0V4cXC+O5w ZnevClEyPThAILyTeOmsJekD+N02G7fD1pZrg9ll9ftk+IhMrzNg9g+IrQFKEsYC5I6D tfDcHW0WF+oQ/cguJtF4nmMg3SWn3/zlflF6kM3gNJ35knj+P+iM+3Ki/6MrwynM0gjt hLQqiFFa4cWkiVY0KLF41Jc1WlpiyWY/z1Fg/ndFqN2TBCpsxdnYDDO1fbwbnwzBSdJZ OhzIZfyQBFLDBFHDcz/QYY/subechJTure1wvpYzXLd+hJfyB8MMO1Y4PoK6+jpGiQ7N Pr6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WzyMcXoj7v2UAPXvI0YIQVZY0BK3YmOJdzNvVUPLH5A=; b=ZdSkwRVKVuARak4QvgjzWh4mH673QnJCHetvkJWzR9GMaQD1oI9+Bgpd0231UTUd21 avf+/qmmazl0CE0Y2EvSDUrjmrAh5UkdeIgXEPvADp/wKbrRmxf8ObKKLPCwTv6UrIi8 jYdqCKBD0ZqKeEasIfC1dN3jljxZ80gUoRvUUQxfURARUwI7dyXovmVVclEugmqF1tVt GiIECoQeW2ufKivfUGaE3986DM+LDMi4F7wVGHtH7ZrdiiQXDRxKHPAopOTeFIVvfiUm qXyPYPdeeGqppLlkxox79seD+l+nY2oXjdBkLpQx+BNfEeRLe6EpYpYla/wpxIjJ6Q1m hM+g== X-Gm-Message-State: APjAAAXSI730QSNnBv3iBmJT161QlAP7xB1zTevZgkhz+O3fe3HQSyU9 3PVWUVLlkwo9rTwp5Ob7E2JKGmgQ9Ew= X-Google-Smtp-Source: APXvYqxGDzmhuw1+Hkz7JmuM+27u13PwReTH8AO6p8bwaZ6zYCz8FRQZq07z+uRpbhPpMT30h/0jYg== X-Received: by 2002:a1c:9ccd:: with SMTP id f196mr15665319wme.152.1573377591836; Sun, 10 Nov 2019 01:19:51 -0800 (PST) Original-Received: from [192.168.254.199] ([185.144.76.178]) by smtp.googlemail.com with ESMTPSA id a6sm10988095wrh.69.2019.11.10.01.19.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Nov 2019 01:19:51 -0800 (PST) In-Reply-To: <83woc983so.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::330 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:242071 Archived-At: On 09.11.2019 17:31, Eli Zaretskii wrote: > I think you are looking at this from the implementation POV. From > users' POV, an option (or a minor mode) is a better way when we are > talking not just about changing colors and other face attributes, but > about changing behavior in significant ways. In this case, what is > implemented via faces changes the behavior, because a face prominently > different from the default becomes like the default, and another face > makes the reverse transformation. Think of this as a binary mode that > makes either the first-difference or the common part prominent: > flipping a variable is an easily understood and easily discovered way > of getting each user the behavior he/she wants. How would that work? Having two faces have different default definitions depending on the value of the variable? Any custom face would override that decision. And chasing all theme authors to make them honor the variable is a lot of effort.