From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dave Goel Newsgroups: gmane.emacs.devel Subject: Re: Faces: How to clear an attribute while continuing to inherit other attributes? Date: Thu, 10 Oct 2019 20:56:56 -0400 Message-ID: References: <83tv8hrpi6.fsf@gnu.org> <83tv8gqz6u.fsf@gnu.org> <83pnj4qxsd.fsf@gnu.org> <47578dbd-71ea-cb02-c337-96fb18af1915@lanl.gov> <83k19cqvdi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004d1180059497ff55" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81568"; mail-complaints-to="usenet@blaine.gmane.org" To: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 11 02:58:03 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 1iIjFq-000L5L-Oy for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2019 02:58:02 +0200 Original-Received: from localhost ([::1]:45098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIjFo-0005VO-RW for ged-emacs-devel@m.gmane.org; Thu, 10 Oct 2019 20:58:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50668) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIjF4-0005Tl-Bu for emacs-devel@gnu.org; Thu, 10 Oct 2019 20:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIjF3-0001mi-6r for emacs-devel@gnu.org; Thu, 10 Oct 2019 20:57:14 -0400 Original-Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:33749) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIjF0-0001gB-Cp; Thu, 10 Oct 2019 20:57:10 -0400 Original-Received: by mail-io1-xd2c.google.com with SMTP id z19so18023638ior.0; Thu, 10 Oct 2019 17:57:08 -0700 (PDT) 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=3IrMRRFvtdjPKbVqkLemCKCl/oeSDKaRjh7/RSJTx5E=; b=qpMuFjk9otQcUxZKPIf6Rxgk94iRve6qTfWKC24f0+lKf360iZQiIRDGl7a0dzlWDS 2Wh4dkmtUCA4ZUJz9AZqwgCN7Y4fpZKjHIAmnyGNJKLjmZiYwnnu5L5lfPfFQYXkCsyp Y8hILH7CzXC7lxHmdemi3MduGJVmmKPRKPSpOJ7QVLF9EVqc8B1QtOvwJQDTxdvBOFyv rE8LTIr1k5dsLBiVd8aiE4FFQO1pHxHx+A7KMQc57INgVKzLQkBinDhJ2n6FKHU3vJeo 356SZWTkPCIH8ylJP1gpW0wR8rSysGuGGJfy9E0dsEDGriSaI+o1PpzA8Y50bqjHMYnO 7Ieg== 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=3IrMRRFvtdjPKbVqkLemCKCl/oeSDKaRjh7/RSJTx5E=; b=tTDGoMFGBpvRNbD9DwZWpCgA9CVAGCfGYRhUy4PmuPj8Gu8oHumwHHd9v5jz7J+Bi9 vPyY5wxFFOgRFf2zah8NW/ejFS67FDYYlO2OxdozhKjzG/NFtgndbyKQkOTzWhA6IIo2 lBYlTCWoACrg+d/N8jwhQzRbtyk8GiIdPeTkh5Hijt2EKglA27O7Cq7MY7MgXDdUfEHL QQZKh39HZsyksivWQSybAdWLZ61Fr9YDBJEKJ6D60deS5KlCLZS67ZmTwVyzpUBDINF9 ZBQ1eL+RxD/DtvsMIy/ncKksiVnvntf9CIaITLgS9c9Ae8Ka1jz22D1DlhL03sMELzjH v7OQ== X-Gm-Message-State: APjAAAUY72i7WaIWQW3tM8ImPHGcKI7QafPDOT7gevrEnYcf3r2WBzP5 QeAVbeGjB9CCOKXYhQ3AYT8zE/fVMNt3u7wyCCzYWsmQ X-Google-Smtp-Source: APXvYqyRe0lXUfdUMRfSqmYoahaiOwtWGHlL+pO2gfSePTOR991V4oiP5Z+DHFaFIc33JHOcVrsMybGrEhjPO+UUqX0= X-Received: by 2002:a6b:5404:: with SMTP id i4mr4134300iob.204.1570755427764; Thu, 10 Oct 2019 17:57:07 -0700 (PDT) In-Reply-To: <83k19cqvdi.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2c 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:240867 Archived-At: --0000000000004d1180059497ff55 Content-Type: text/plain; charset="UTF-8" > That's because you expect the attribute to magically change after you set it. Yes, I do :) That's what face A would do if it did not inherit B (which specified the attribute). It would magically follow whatever default does. for the missing attribute. On Thu, Oct 10, 2019 at 3:00 PM Eli Zaretskii wrote: > That's what 'unspecified' does, and it clearly isn't what Dave > wanted. He wanted a value that says "clear that attribute", and > there's no such value. But, again, nothing stops us from providing one. For example, specifying 'clear would cause all inheritances to pause, so that the result of chasing becomes 'unspecified, even if one of the ancestors specified the face. . What is DMARC? > > --0000000000004d1180059497ff55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> That's because you expect the attribute to magically change af= ter you
set it.=C2=A0=C2=A0

Yes, I do :)

That's what face A would do if it did not inherit B (which specified t= he attribute). It would magically follow whatever default does. for the mis= sing attribute.



On Thu, Oct 10, 2019 at 3:00 PM Eli= Zaretskii <eliz@gnu.org> wrote:<= /div>
That's what 'unspecified' does, and it clearly isn't what D= ave
wanted.=C2=A0 He wanted a value that says "clear that attribute",= and
there's no such value.
=C2=A0
<= span class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;color:= rgb(0,0,255)">But, again, nothing stops us fro= m providing one. For example, specifying 'clear would ca= use all inheritances to pause, so that the result of chasing becomes 'u= nspecified, even if one of the ancestors specified the face.<= /div>
.=C2=A0 =C2=A0
What is DMARC?

=C2=A0
--0000000000004d1180059497ff55--