From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: font-lock-delimiter-face - what for? Date: Tue, 27 Dec 2022 23:34:43 +0200 Message-ID: <010a042a-cfd5-517b-cd2a-cb797c3390e5@yandex.ru> References: <361ac1e9-c1b3-824a-834b-39832a4fe2b7@yandex.ru> <12869a5f-ed38-eff4-8042-3da121f59ad5@yandex.ru> <8de4913a-f508-9acc-76ba-a2590e16f33f@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: Randy Taylor , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 27 22:35:25 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAHbY-0008Be-4c for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Dec 2022 22:35:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAHb1-0002Kq-Su; Tue, 27 Dec 2022 16:34:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAHaz-0002Jn-Ld for emacs-devel@gnu.org; Tue, 27 Dec 2022 16:34:49 -0500 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAHax-0005PG-Qq for emacs-devel@gnu.org; Tue, 27 Dec 2022 16:34:49 -0500 Original-Received: by mail-ej1-x635.google.com with SMTP id fc4so34418911ejc.12 for ; Tue, 27 Dec 2022 13:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=Y50wgCW0lWnklhQEM/f7mM2mWgtUymGz9Xipd1Iv1kY=; b=eKeJMGW8DzRIfSCHs6OF65uqW/Af4GtB3mCzUG5v+S9T8sFrBAg4teJha+qZGsr1g+ tdTBTIMvhYfifKU5cxjo/xwtC7850/71i9SuU/t17CKHW+KpSiz9ZpEa05jC6hHIBnop XOq57o37SEGFO+rnUY+NQrAE6KZ+zU+czOvRqTTsZuXqVNOAfTVfhwo3Tq25fr10tfLG AXJhdVDQ3C5XmxFx/lqKqDE8yMSKgaZ/a+Zb/kgp5xR8/zK+KvFQ4GFTlW0dfmrPTfbg qGTg1L2FqN+xZERHAuJaiwmTWHyQW/2DbUM2zHa7ehy8lvlj8lp3CzTg6WFkiLSeYfzJ Whgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Y50wgCW0lWnklhQEM/f7mM2mWgtUymGz9Xipd1Iv1kY=; b=tPaEQcldfKHQRQRtAlg7c5ebKlmGkUkCTxoSPbeEg1zvV6XC0RyioMpGqKNeS2MttP oqjHTc/ZTS7Wn68zbVsIl3cCn53QX4M/q/v+ci0+qxPcP18NyxkRHjcML+h3ec3zKcL0 Tfudzmj+S9Ppwg1aEGyihzRuEgow2VKFgP/sxj6wZjmHVYPLyYLm+r/++bIIq4YxelP3 Il7kiCj5Ns9VXZ7g7D+V3PdAK/fSxRL5rF1Vs0WGphuGAy+hVmc6289wzfrJegEz135W aMOOXABcckcavoduOnBcA6cz9lORPAc8SeWDIQwaAnGAnZSYM5sW3pE6ju1nJjSK7boA isRg== X-Gm-Message-State: AFqh2kqbizgB8IOVHNWosPOQSVvlaBZ8ni4FTRkVCDipmWTBfD5VRQNJ hFy9HWLOmnzDkjnq68whMdZ402f7Pms= X-Google-Smtp-Source: AMrXdXv4HQM1GTKGik3xo/lbiv3Zwd2cXDewi5CavRG6A0hUpePi4PtVLsHBKuzHDiGklk6ToeVdwQ== X-Received: by 2002:a17:906:414c:b0:7c0:d606:c570 with SMTP id l12-20020a170906414c00b007c0d606c570mr23029611ejk.61.1672176886332; Tue, 27 Dec 2022 13:34:46 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id z7-20020a170906270700b007c0f90792ffsm6528095ejc.89.2022.12.27.13.34.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Dec 2022 13:34:45 -0800 (PST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=raaahh@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-1.147, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301990 Archived-At: On 27/12/2022 23:01, Stefan Monnier wrote: > Dmitry Gutov [2022-12-27 21:45:33] wrote: >> On 27/12/2022 20:20, Randy Taylor wrote: >>> font-lock-punctuation-face covers all punctuation. >>> The rest (bracket, delimiter, misc-punctuation) are for the more specific >>> kinds, with misc-punctuation being anything not a bracket or >>> delimiter. For example, see bash-ts-mode which specifies $ as >>> misc-punctuation. >> Oh... kay? So "misc punctuation" is punctuation which is not punctuation? > IIUC `font-lock-punctuation-face` is a "parent face" for all forms of > punctuation, and then each actual punctuation is expected to use either > the delimiter, bracket, or misc face. Ah. That would make sense.