Received: (at submit) by debbugs.gnu.org; 24 Dec 2023 17:32:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 24 12:32:20 2023 Received: from localhost ([127.0.0.1]:53481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rHSKq-0001vK-BI for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 12:32:20 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <lgcoelho@HIDDEN>) id 1rHSKo-0001v6-KM for submit <at> debbugs.gnu.org; Sun, 24 Dec 2023 12:32:19 -0500 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 <lgcoelho@HIDDEN>) id 1rHSKc-0003yv-MA for guix-patches@HIDDEN; Sun, 24 Dec 2023 12:32:06 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <lgcoelho@HIDDEN>) id 1rHSKX-00085p-TH for guix-patches@HIDDEN; Sun, 24 Dec 2023 12:32:06 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D716141300 for <guix-patches@HIDDEN>; Sun, 24 Dec 2023 18:31:51 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jLJrpO7quVw0 for <guix-patches@HIDDEN>; Sun, 24 Dec 2023 18:31:51 +0100 (CET) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1703439110; bh=wLsSaP53Q04C3APUaSeBQn3zns+4qHcz+e6EwpFRyYM=; h=Date:From:To:Subject; b=Eek0/a5pLgf8uvfSHSoDWfw3vZorWp4gQWOKCnmSfjWniyS2nLHUPSJrG916ugSJQ QQS35p43fkNlSh/5mdPQVHtTIs9x/OtT/g1V1ryzlvP+bHqzolexcBjPBgTeyyNIpX dCp1HHBAOMZfyWg0OtRnE8HAh17gxwoERl6FAKgSmBZ7U53OXA8ZXmtV5BgiiksFUW u3F68xsqm/DydJUvV6azmGta3rlQyNloUVvf0OExrp0ZP+GlKCxnzpQK+cWg9/7BoH MpnXWtwIpQkorpvw501JuvdsRRpX40bTIuRCcGzGaZOUclBrxoU90Ry3Vn3GchZmog 347gnFR8cSHLg== Date: Sun, 24 Dec 2023 17:31:50 +0000 From: lgcoelho@HIDDEN To: guix-patches@HIDDEN Subject: [PATCH] home-fish-configuration: Improve support for abbreviation declaration. Message-ID: <ea296ea7f586db97f28bae211b11537d@HIDDEN> X-Sender: lgcoelho@HIDDEN Content-Type: multipart/mixed; boundary="=_e7a5ed2ee23f7c70edcde6756a2c2c5d" Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@HIDDEN; helo=layka.disroot.org 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --=_e7a5ed2ee23f7c70edcde6756a2c2c5d Content-Type: multipart/alternative; boundary="=_3d961bed3c5478730194c945df6bfd6e" --=_3d961bed3c5478730194c945df6bfd6e Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed The current support for abbreviations in home-fish-configuration is very limited, one can only specify the abbreviation name and expansion, or if determined enough, specify additional options like this: --8<---------------cut here------------------------end--------------->8--- `(("--position anywhere abbreviation-name" . "expansion")) --8<---------------cut here------------------------end--------------->8--- Which is quite weird, and gets weirder when additional options like marker, function, pattern and others are specified. The new abbreviation record type solves this issue, making abbreviation declaration more consistent with the usual Guix style. --=_3d961bed3c5478730194c945df6bfd6e Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>The current support for abbreviations in home-fish-configuration is very= limited, one can only specify the abbreviation name and expansion, or if d= etermined enough, specify additional options like this:</p> <pre class=3D"message">--8<---------------cut here----------------------= --end--------------->8---</pre> <pre class=3D"message">`(("--position anywhere abbreviation-name" . "expans= ion"))<br />--8<---------------cut here------------------------end------= --------->8---<br /><br />Which is quite weird, and gets weirder when ad= ditional options like marker, function, pattern and others are specified. T= he new abbreviation record type solves this issue, making abbreviation decl= aration more consistent with the usual Guix style.</pre> </body></html> --=_3d961bed3c5478730194c945df6bfd6e-- --=_e7a5ed2ee23f7c70edcde6756a2c2c5d Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0002-home-fish-configuration-Use-records-for-better-abbre.patch Content-Disposition: attachment; filename=0002-home-fish-configuration-Use-records-for-better-abbre.patch; size=4384 RnJvbSA3YmNlNzFjODgzNDk5ODAyYmM1MmQ1NWI2Y2E5NzE4YWJiMzE3NDY4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWlzIEd1aWxoZXJtZSBDb2VsaG8gPGxnY29lbGhvQGRpc3Jv b3Qub3JnPgpEYXRlOiBTdW4sIDI0IERlYyAyMDIzIDE0OjEyOjUyIC0wMzAwClN1YmplY3Q6IFtQ QVRDSCAyLzJdIGhvbWUtZmlzaC1jb25maWd1cmF0aW9uOiBVc2UgcmVjb3JkcyBmb3IgYmV0dGVy CiBhYmJyZXZpYXRpb24gc3VwcG9ydAoKLS0tCiBnbnUvaG9tZS9zZXJ2aWNlcy9zaGVsbHMuc2Nt IHwgNjIgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0tLS0tCiAxIGZpbGUgY2hhbmdl ZCwgNTQgaW5zZXJ0aW9ucygrKSwgOCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9nbnUvaG9t ZS9zZXJ2aWNlcy9zaGVsbHMuc2NtIGIvZ251L2hvbWUvc2VydmljZXMvc2hlbGxzLnNjbQppbmRl eCA5ZGQ1NmY2MzRhLi4wYWU3YWMyMzU4IDEwMDY0NAotLS0gYS9nbnUvaG9tZS9zZXJ2aWNlcy9z aGVsbHMuc2NtCisrKyBiL2dudS9ob21lL3NlcnZpY2VzL3NoZWxscy5zY20KQEAgLTIsNiArMiw3 IEBACiA7OzsgQ29weXJpZ2h0IMKpIDIwMjEgQW5kcmV3IFRyb3BpbiA8YW5kcmV3QHRyb3AuaW4+ CiA7OzsgQ29weXJpZ2h0IMKpIDIwMjEgWGluZ2x1IENoZW4gPHB1YmxpY0B5b2N0b2NlbGwueHl6 PgogOzs7IENvcHlyaWdodCDCqSAyMDIzIEVmcmFpbSBGbGFzaG5lciA8ZWZyYWltQGZsYXNobmVy LmNvLmlsPgorOzs7IENvcHlyaWdodCDCqSAyMDIzIEx1aXMgR3VpbGhlcm1lIENvZWxobyA8bGdj b2VsaG9AZGlzcm9vdC5vcmc+CiA7OzsKIDs7OyBUaGlzIGZpbGUgaXMgcGFydCBvZiBHTlUgR3Vp eC4KIDs7OwpAQCAtMjksNiArMzAsNyBAQCAoZGVmaW5lLW1vZHVsZSAoZ251IGhvbWUgc2Vydmlj ZXMgc2hlbGxzKQogICAjOnVzZS1tb2R1bGUgKGd1aXggcGFja2FnZXMpCiAgICM6dXNlLW1vZHVs ZSAoZ3VpeCByZWNvcmRzKQogICAjOnVzZS1tb2R1bGUgKHNyZmkgc3JmaS0xKQorICAjOnVzZS1t b2R1bGUgKHNyZmkgc3JmaS05KQogICAjOnVzZS1tb2R1bGUgKHNyZmkgc3JmaS0yNikKICAgIzp1 c2UtbW9kdWxlIChpY2UtOSBtYXRjaCkKIApAQCAtNDcsNiArNDksMTggQEAgKGRlZmluZS1tb2R1 bGUgKGdudSBob21lIHNlcnZpY2VzIHNoZWxscykKICAgICAgICAgICAgIGhvbWUtZmlzaC1jb25m aWd1cmF0aW9uCiAgICAgICAgICAgICBob21lLWZpc2gtZXh0ZW5zaW9uCiAKKyAgICAgICAgICAg IGFiYnJldmlhdGlvbgorICAgICAgICAgICAgYWJicmV2aWF0aW9uLWV4cGFuc2lvbgorICAgICAg ICAgICAgYWJicmV2aWF0aW9uLW1hcmtlcgorICAgICAgICAgICAgYWJicmV2aWF0aW9uLXBvc2l0 aW9uCisgICAgICAgICAgICBhYmJyZXZpYXRpb24tcGF0dGVybgorICAgICAgICAgICAgYWJicmV2 aWF0aW9uLW5hbWUKKyAgICAgICAgICAgIGFiYnJldmlhdGlvbj8KKworICAgICAgICAgICAgZmlz aC1mdW5jdGlvbgorICAgICAgICAgICAgZmlzaC1mdW5jdGlvbi1uYW1lCisgICAgICAgICAgICBm aXNoLWZ1bmN0aW9uPworCiAgICAgICAgICAgICBob21lLWlucHV0cmMtc2VydmljZS10eXBlCiAg ICAgICAgICAgICBob21lLWlucHV0cmMtY29uZmlndXJhdGlvbikpCiAKQEAgLTUxNywxMiArNTMx LDQ0IEBAIChkZWZpbmUgKHNlcmlhbGl6ZS1maXNoLWFsaWFzZXMgZmllbGQtbmFtZSB2YWwpCiAg ICAgICAgICAgICAgICAoXyAiIikpCiAgICAgICAgICAgICAgdmFsKSkpCiAKKyhkZWZpbmUtcmVj b3JkLXR5cGUgPGZpc2gtZnVuY3Rpb24+CisgIChmaXNoLWZ1bmN0aW9uIG5hbWUpCisgIGZpc2gt ZnVuY3Rpb24/CisgIChuYW1lIGZpc2gtZnVuY3Rpb24tbmFtZSkpCisKKyhkZWZpbmUtcmVjb3Jk LXR5cGUqIDxhYmJyZXZpYXRpb24+CisgIGFiYnJldmlhdGlvbiBtYWtlLWFiYnJldmlhdGlvbgor ICBhYmJyZXZpYXRpb24/CisgIChuYW1lICAgICAgYWJicmV2aWF0aW9uLW5hbWUpICAgICAgIDsg c3RyaW5nIHwgc3ltYm9sCisgIChwYXR0ZXJuICAgYWJicmV2aWF0aW9uLXBhdHRlcm4gICAgIDsg c3RyaW5nIHwgI2YKKyAgICAgICAgICAgICAoZGVmYXVsdCAjZikpCisgIChwb3NpdGlvbiAgYWJi cmV2aWF0aW9uLXBvc2l0aW9uICAgIDsgJ2NvbW1hbmQgfCAnYW55d2hlcmUgfCAjZgorICAgICAg ICAgICAgIChkZWZhdWx0ICNmKSkgICAgICAgICAgICA7ICAgZGVmYXVsdHMgdG8gJ2NvbW1hbmQg LcK0CisgIChtYXJrZXIgICAgYWJicmV2aWF0aW9uLW1hcmtlciAgICAgIDsgY2hhcgorICAgICAg ICAgICAgIChkZWZhdWx0ICNcJSkpCisgIChleHBhbnNpb24gYWJicmV2aWF0aW9uLWV4cGFuc2lv bikpIDsgc3RyaW5nIHwgPGZpc2gtZnVuY3Rpb24+CisKKyhkZWZpbmUgbGlzdC1vZi1hYmJyZXZp YXRpb25zPworICAobGlzdC1vZiBhYmJyZXZpYXRpb24/KSkKKwogKGRlZmluZSAoc2VyaWFsaXpl LWZpc2gtYWJicmV2aWF0aW9ucyBmaWVsZC1uYW1lIHZhbCkKICAgI34oc3RyaW5nLWFwcGVuZAot ICAgICAjJEAobWFwIChtYXRjaC1sYW1iZGEKLSAgICAgICAgICAgICAgICgoa2V5IC4gdmFsdWUp Ci0gICAgICAgICAgICAgICAgI34oc3RyaW5nLWFwcGVuZCAiYWJiciAtLWFkZCAiICMka2V5ICIg IiAjJHZhbHVlICJcbiIpKQotICAgICAgICAgICAgICAgKF8gIiIpKQorICAgICAjJEAobWFwICht YXRjaC1yZWNvcmQtbGFtYmRhIDxhYmJyZXZpYXRpb24+CisgICAgICAgICAgICAgICAobmFtZSBw YXR0ZXJuIHBvc2l0aW9uIG1hcmtlciBleHBhbnNpb24pCisgICAgICAgICAgICAgICAjfigoQEAg KGljZS05IGZvcm1hdCkgZm9ybWF0KSAjZgorICAgICAgICAgICAgICAgICAgICJ+JWFiYnIgLS1h ZGQgJ35hJyBcXH4lfgorICAgICAgICAgICAgICAgICAgIH5AWyAgICAgLS1wb3NpdGlvbiB+YSBc XH4lfl1+CisgICAgICAgICAgICAgICAgICAgfkBbICAgICAtLXJlZ2V4IFwifmFcIiBcXH4lfl1+ CisgICAgICAgICAgICAgICAgICAgfkBbICAgICAtLXNldC1jdXJzb3I9fmEgXFx+JX5dfgorICAg ICAgICAgICAgICAgICAgIH5AWyAgICAgfmF+XX4lIgorICAgICAgICAgICAgICAgICAgICcjJG5h bWUKKyAgICAgICAgICAgICAgICAgICAnIyRwb3NpdGlvbgorICAgICAgICAgICAgICAgICAgICMk cGF0dGVybgorICAgICAgICAgICAgICAgICAgICMkbWFya2VyCisgICAgICAgICAgICAgICAgICAg IyQoaWYgKGZpc2gtZnVuY3Rpb24/IGV4cGFuc2lvbikKKyAgICAgIC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CkBAIC01OTcsNyArNjQzLDcgQEAgKGRlZmluZS1jb25maWd1cmF0aW9uL25vLXNlcmlh bGl6YXRpb24gaG9tZS1maXNoLWV4dGVuc2lvbgogICAgKGFsaXN0ICcoKSkKICAgICJBc3NvY2lh dGlvbiBsaXN0IG9mIEZpc2ggYWxpYXNlcy4iKQogICAoYWJicmV2aWF0aW9ucwotICAgKGFsaXN0 ICcoKSkKKyAgIChsaXN0LW9mLWFiYnJldmlhdGlvbnMgJygpKQogICAgIkFzc29jaWF0aW9uIGxp c3Qgb2YgRmlzaCBhYmJyZXZpYXRpb25zLiIpKQogCiAoZGVmaW5lIChob21lLWZpc2gtZXh0ZW5z aW9ucyBvcmlnaW5hbC1jb25maWcgZXh0ZW5zaW9uLWNvbmZpZ3MpCi0tIAoyLjQxLjAKCg== --=_e7a5ed2ee23f7c70edcde6756a2c2c5d--
lgcoelho@HIDDEN
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#68008
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.