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 14:12:57 +0530 Message-ID: <87zgep88oe.fsf@gmail.com> References: <83wn9up0es.fsf@gnu.org> <83illeou0j.fsf@gnu.org> <87sfkij6a5.fsf@gmail.com> <83edw1q5tl.fsf@gnu.org> <87o7v5jrkv.fsf@gmail.com> <83sfkhnux7.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="21930"; 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 10:53:49 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 1oc0uz-0005cY-Dn for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 10:53:49 +0200 Original-Received: from localhost ([::1]:46002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc0uy-00050l-7B for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 04:53:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc0kv-0001nE-L3 for emacs-devel@gnu.org; Sat, 24 Sep 2022 04:43:25 -0400 Original-Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:45768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc0ku-0001RP-6e; Sat, 24 Sep 2022 04:43:25 -0400 Original-Received: by mail-pf1-x441.google.com with SMTP id 9so2156381pfz.12; Sat, 24 Sep 2022 01:43:23 -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=qx+C6j96U0XOA2Xo9oOvO9s2hJm2DkFRM+6fQwSk90U=; b=V1ky9fgHzQ077960e9FpsnHvROlwnO0/w+/eyDlxYIa74v0JtjurRDzngwf0evUg8T bYVhRez9b2V5SH15s7cxfnb6y8QsZFPHhiR5MUYP+dA+o//rdlvRWsY5doO5rPAu3VkR JFBJ6WL24/TcWX/xBPQSu0RamJcOczEcZ795nmRH1B+PEANA88BRM28M6cPD3lYbmTus SENP++6fCBjjjWW8BvZg5vFXA3A6d1Q3NK0unzYBu8MI01c+kCcch6XSDBBSWSfqh9mc JdaEl+f6wJmCkhVNS6+/AsB//R/F0NaUk6ofS9gt6eg0cQX0butJp0wuMu5rxtUhsYe2 0qhQ== 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=qx+C6j96U0XOA2Xo9oOvO9s2hJm2DkFRM+6fQwSk90U=; b=pR3yKlzEEnKluCdsDGsahWNXjsAjJhfsS+TYdp13q/TjPOf4mYzoYypcj9QmpoAVt7 vWWHJ/hC24L4F71OeQh8wN+sSogSCQ+wJP4NPqGl5zol6JOulXYpCy51XHVT/W/muf+C 0RUJF6W1mDm0v7JDB3plfKDXxPOJwBXqtac92XwmerYaOwOChCWnxEHZpvrucxgGpQ+D m7lX7l3ZH3PMlFqFR3BVFhrBwTFTBahmZ9LVuuqfSpe11KblqwX+R61CPNgOSkn0TjFJ UfHXvP1hEAsnIzzDm+WJe4NHimDWiIBel7MIW3oytXYpbYAn9ePV4aQwqIQSpnYGF2bn UsSQ== X-Gm-Message-State: ACrzQf3N9EQjZtZ622fDwTgCz/CicRiFjkmFjowzsx+9zxy/BDnP1CU1 3FmIZCd2+5PFShoQBm85+V1Lh2NBHwM= X-Google-Smtp-Source: AMsMyM7nwkkDc40C9hCioerLi61HVJKT0NB/qdIbRoHMeUROPhU5WF5t7C0oWcLo/A5zwO5Dfu/aLQ== X-Received: by 2002:a63:d54b:0:b0:42c:299e:255 with SMTP id v11-20020a63d54b000000b0042c299e0255mr10986547pgi.282.1664009001514; Sat, 24 Sep 2022 01:43:21 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id i8-20020a1709026ac800b00176a579fae8sm7206217plt.210.2022.09.24.01.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:43:20 -0700 (PDT) In-Reply-To: <83sfkhnux7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Sep 2022 09:33:24 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x441.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 04:52:37 -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:296134 Archived-At: [=E0=AE=9A=E0=AE=A9=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 24, 2022] Eli Zaretskii wrote: > I'm not talking about changing the existing faces, I'm talking about > the above proposal to use propertize. That is exactly equivalent to > putting a named text property on the text, isn't it? IOW, the text > property you use to request stylistic variants doesn't have to be > 'face', it can be some other property specifically designed for this > purpose. Yes, it isn't different but my point was that introducing stylistic sets as a face attribute is more desirable than just having a text property. Using a face attribute means we do not need to rewrite/add code to use stylistic sets in certain cases, it is a matter of customisation. IOW, I am not saying that we should only have a face attribute. > Using faces for this introduces complications and performance aspects > that we had better avoided, unless we really must have this as part of > a face. See above. Hopefully, I made my point clear.