From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master fe7c015b20: Support XFCE in wallpaper.el Date: Tue, 27 Sep 2022 12:19:32 -0400 Message-ID: References: <166336105908.23797.12319380359602540227@vcs2.savannah.gnu.org> <20220916204419.B124FC00872@vcs2.savannah.gnu.org> <87edwavjyc.fsf@yahoo.com> <87wna1tr7z.fsf@yahoo.com> <87y1u51ddf.fsf@posteo.net> <87edvwrfg7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000070ec9b05e9ab020d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thierry Volpiatto , Po Lu , emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 27 18:37:20 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 1odDaC-00092O-Dq for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Sep 2022 18:37:20 +0200 Original-Received: from localhost ([::1]:60416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odDaA-0008Ig-At for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Sep 2022 12:37:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odDJ2-0002UQ-J9 for emacs-devel@gnu.org; Tue, 27 Sep 2022 12:19:41 -0400 Original-Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]:36574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odDJ0-0005AO-Dj for emacs-devel@gnu.org; Tue, 27 Sep 2022 12:19:35 -0400 Original-Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-1318443dbdfso2567856fac.3 for ; Tue, 27 Sep 2022 09:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=Kmd1S0jg1WB7STIzcUmudUpup2n7vADrUC+7FD8cOys=; b=BfJ+40l3V9pL0YeVFTNTG/d8v743HT7J2SgR/95NCuLGC7IwcSknXBM8daDgbCtifM fOzIVq5imsqkW31W6bw7Sy3MtxNCiHTUUcuSWYkOtOQFq7GvT3W5vI7Z+KmqvWnBXWv4 xOjmqpfe7NEUoUFhCtCeN8UvAYfKOJZnAIt/YmULHyi+OTGcvJCG+jEH+7YBRlavbkrA jIIYYRk6on6b81Q0rxQsDfQXOq7cY+j15tTaJH0oGReBydc55ZJW51sSW4h+tkA/sOw/ wZ+ovrk69uIYev4ipxbh+vB8NLr93WceUwDT/zUGpNRdmNZMMIZF8g/7olka5px0UPzW ZfEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=Kmd1S0jg1WB7STIzcUmudUpup2n7vADrUC+7FD8cOys=; b=KO4z4ThjbONvE27aU6n7OJpMmE9KPZq3hlVg+BkErVBjsQqILGgBGwxg2fUn3hfs6P JegJd4ZmiTGpvHsfneW9npcqWoZGbEoAJM2f5VF8Mp7HsTuZWq1CWpJexNW9NnW4K0wj 8BtI/lippq8tD+u49diyskhu/+bOUW60C52xq+0ffpIrfsF0kRp50qrH13wvGCNHC3mh WbPyUvLnVSmpxbY4MpVRwlO8yzd7YRSpBypTjbXrRpoLIVK4osv4NN5BMdydNBLCfJw2 VDcMeV4Tthm1EvrkuF9PgDsdXbBjuX22vc9C30HpUC1Cp+bmU3LQZXp8SZk4QkKFp5BN Suww== X-Gm-Message-State: ACrzQf1qAoS3P8hY0/yMHY8jrPYOidvqkYI+88HtmWabJsCOGdcvVIOU GuVn3c2icCr1X3y/UnvCUNl6KTbswegqh8nsoLM= X-Google-Smtp-Source: AMsMyM7I2cgftpbLk+ZBxjPFp8ETP9hzvpnAgbHL4kLlxLFLjNnUSzeKNEZoAWJ1TiYSZn7J+yU4lMOuSOVZ69CsUlA= X-Received: by 2002:a05:6870:b508:b0:12d:1c59:90d9 with SMTP id v8-20020a056870b50800b0012d1c5990d9mr2682277oap.199.1664295573172; Tue, 27 Sep 2022 09:19:33 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 27 Sep 2022 12:19:32 -0400 In-Reply-To: <87edvwrfg7.fsf@gmail.com> X-Hashcash: 1:20:220927:thievol@posteo.net::gyX6JoOlA+A5bGc9:DL0O Received-SPF: pass client-ip=2001:4860:4864:20::30; envelope-from=stefankangas@gmail.com; helo=mail-oa1-x30.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-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:296349 Archived-At: --00000000000070ec9b05e9ab020d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Visuwesh writes: > [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D= =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 27, 2022] Stefan Kangas wrote: > >> Could we change `format-spec' to accept functions in the substitutions, >> that are then only called when actually needed? > > +1. I was thinking of raising such a proposal myself. It seems wasteful = to > pre-calculate all the specifications instead of lazily evaluating them. The change is just the attached, plus documentation. --00000000000070ec9b05e9ab020d Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Make-format-spec-support-functions.patch" Content-Disposition: attachment; filename="0001-Make-format-spec-support-functions.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 82dba6cef8b4e4d8_0.1 RnJvbSBlMGExYTY3OGUyN2E2YTNkYTVlMTJlZGZjYzczMjNjNTIwNGY2ZDJhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBUdWUsIDI3IFNlcCAyMDIyIDE4OjE2OjUxICswMjAwClN1YmplY3Q6IFtQQVRDSF0g TWFrZSBmb3JtYXQtc3BlYyBzdXBwb3J0IGZ1bmN0aW9ucwoKLS0tCiBsaXNwL2Zvcm1hdC1zcGVj LmVsICAgICAgICAgICAgfCAxNSArKysrKysrKysrKysrLS0KIHRlc3QvbGlzcC9mb3JtYXQtc3Bl Yy10ZXN0cy5lbCB8IDEyICsrKysrKysrKysrKwogMiBmaWxlcyBjaGFuZ2VkLCAyNSBpbnNlcnRp b25zKCspLCAyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvZm9ybWF0LXN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SkKICAgICAgICAgICAgICAgICAgKGNoYXIgKHN0cmluZy10by1jaGFyIChtYXRjaC1z dHJpbmcgNCkpKQotICAgICAgICAgICAgICAgICAodGV4dCAoYXNzcSBjaGFyIHNwZWNpZmljYXRp b24pKSkKKyAgICAgICAgICAgICAgICAgKHRleHQgKGxldCAoKHJlcyAoY2RyIChhc3NxIGNoYXIg c3BlY2lmaWNhdGlvbikpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAoaWYgKGFuZCAoZnVu Y3Rpb25wIHJlcykpIChmdW5jYWxsIHJlcykgcmVzKSkpKQogICAgICAgICAgICAgKHdoZW4gKGFu ZCBzcGxpdAogICAgICAgICAgICAgICAgICAgICAgICAobm90ICg9ICgxLSBiZWcpIHNwbGl0LXN0 YXJ0KSkpCiAgICAgICAgICAgICAgIChwdXNoIChidWZmZXItc3Vic3RyaW5nIHNwbGl0LXN0YXJ0 ICgxLSBiZWcpKSBzcGxpdC1yZXN1bHQpKQogICAgICAgICAgICAgKGNvbmQgKHRleHQKICAgICAg ICAgICAgICAgICAgICA7OyBIYW5kbGUgZmxhZ3MuCiAgICAgICAgICAgICAgICAgICAgKHNldHEg dGV4dCAoZm9ybWF0LXNwZWMtLWRvLWZsYWdzCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgKGZvcm1hdCAiJXMiIChjZHIgdGV4dCkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgKGZvcm1hdCAiJXMiIHRleHQpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZv cm1hdC1zcGVjLS1wYXJzZS1mbGFncyBmbGFncykKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAoYW5kIHdpZHRoIChzdHJpbmctdG8tbnVtYmVyIHdpZHRoKSkKICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAoYW5kIHRydW5jIChjYXIgKHJlYWQtZnJvbS1zdHJpbmcgdHJ1bmMg MSkpKSkpCmRpZmYgLS1naXQgYS90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yAiZm9vICViICUl JXogem90IiAnKCg/YiAuICJiYXIiKSkpKQotLSAKMi4zMC4yCgo= --00000000000070ec9b05e9ab020d--