From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: Supporting stylistic sets Date: Sat, 24 Sep 2022 10:29:12 +0530 Message-ID: <87o7v5jrkv.fsf@gmail.com> References: <83wn9up0es.fsf@gnu.org> <83illeou0j.fsf@gnu.org> <87sfkij6a5.fsf@gmail.com> <83edw1q5tl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: lumarzeli30@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 24 07:47:29 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 1oby0f-0000MU-Ca for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 07:47:29 +0200 Original-Received: from localhost ([::1]:42610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oby0d-0007fy-Fr for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 01:47:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obxGD-0001C5-40 for emacs-devel@gnu.org; Sat, 24 Sep 2022 00:59:29 -0400 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:45921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obxGB-0000MK-Hv; Sat, 24 Sep 2022 00:59:28 -0400 Original-Received: by mail-pf1-x444.google.com with SMTP id 9so1877703pfz.12; Fri, 23 Sep 2022 21:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=NRpVPWIS6823PHmpyI0u0AVj7oxHTyGJbqdkjDpp7+I=; b=CaNHS0lo82GwPZF8J6suyw+0DygDgLlrIXxc8lrD+JZp/ehOnt8/+HSs3JI0ws+yqV BfJC69Ej4RUkawYt5O4n8DzcCeNQB6SAhVdSMlXOZgAurZV61Hy/vVuLLLMRGi2bqthG yls8Y4UgMf1sZMzaY7HW9gAzlete0BSpS3EexjXgh0HTo4QDiuVmiks3HIGTo5eggwUk TiAKO61JB/ppBuMvieLQnDdiBrUkE/amXVIoyBB5tTYuTysQQEuDnrpTpymiwmhDtoLq XhjS9MCGM+MMpMQxVSuvb5oEk3UEXlbFe1hRdvnDv5UDk3f6j1Pe7q39V+G3/OB2ZfGq Jfsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=NRpVPWIS6823PHmpyI0u0AVj7oxHTyGJbqdkjDpp7+I=; b=R1NuLC8gbVTwp6GaIfwMYH6oJy7GCJ+e1LI1KNN4DHVfzvye496EFKvT0H4S+CrN/s OFv/SOfzYecL+VH/zHxZttadO/uc/WgJH0y4+t5pvy/+u3BtuhBiRF09H1S2zT1+vmpA A6tzur37UjhLkrizSKu+TmtUxBEnuRpEsi50FqqPpa/qUR3tP75axnr/xFGt8NO5KQHO 1WtxyAPXn1C7fGHT1QKyiLXxPDYDeE6nxqmMA0MeDnNZ8I2hnxsfqXSvP/YGeRo0a+t0 Bf0zw6ca89xIoNjAfu3KxJdZr/fQfrJtuQHADID0zTshtP6eEktATa1uzdPCsG9FfwLN rlmw== X-Gm-Message-State: ACrzQf1HxTuYQ0mVYuMzKGbD9jl8nb827xOnaqDozxTzmDxfxzvBnEhX HeyM06IT5YEMFE0ctvKs1QdHCw9PECw= X-Google-Smtp-Source: AMsMyM5OeLhi5ig8IimqXK834YWEcozXFQDK91iCVGPOz+i2BZsTFlKGIZxvHpc3UjTF9g0y0OVEyg== X-Received: by 2002:a05:6a00:b42:b0:544:a61b:75e3 with SMTP id p2-20020a056a000b4200b00544a61b75e3mr12537940pfo.26.1663995565225; Fri, 23 Sep 2022 21:59:25 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id o64-20020a625a43000000b0053e9d14e51asm7411190pfb.98.2022.09.23.21.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 21:59:24 -0700 (PDT) In-Reply-To: <83edw1q5tl.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Sep 2022 21:55:02 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x444.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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-Mailman-Approved-At: Sat, 24 Sep 2022 01:41:07 -0400 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" Xref: news.gmane.io gmane.emacs.devel:296106 Archived-At: [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9A=E0=AF=86= =E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 23= , 2022] Eli Zaretskii wrote: >> Unless there are performance implications, I don't see why using an >> anonymous face won't work i.e.,=20 >>=20 >> (propertize "text" '(face (:stylistic-set ("cv01" ..))) > > How is this different or better than having a special text property? It has the added advantage of being able to easily alter existing code to use stylistic sets. E.g., if I want outline headings to use the small caps set, then I can change the relevant faces which is much simpler than writing new code to put the special text property.