From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Add helper for .desktop file creation? Date: Sat, 25 May 2019 16:20:55 +0200 Message-ID: <87o93qobso.fsf@ambrevar.xyz> References: <878suwz3tg.fsf@ambrevar.xyz> <87d0k67n7n.fsf@nicolasgoaziou.fr> <878suu7mhk.fsf@nicolasgoaziou.fr> <87r28mofxd.fsf@ambrevar.xyz> <87r28m64m5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUXnT-0004NG-IB for guix-devel@gnu.org; Sat, 25 May 2019 10:37:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUXXg-0005m4-3B for guix-devel@gnu.org; Sat, 25 May 2019 10:21:01 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44481) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUXXf-0005kp-SW for guix-devel@gnu.org; Sat, 25 May 2019 10:21:00 -0400 In-Reply-To: <87r28m64m5.fsf@nicolasgoaziou.fr> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Nicolas Goaziou Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: >> Or... I'm thinking we could do even better: use #:allow-other-keys then >> generate the entry from the key symbol (e.g. #:categories would generate >> "Categories"). This way the function would not have to hard-code the >> keys. > > Making typos would be easier, then. I'd rather have a more limited, yet > more robust, function. I.e., I think it is better to stick to standard > keys. Otherwise, it adds little over current solution. Agreed, makes sense. It's a little more work in one central spot, while it eases code and maintainability everywhere else. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzpT0cACgkQm9z0l6S7 zH9Mnwf/Z1Kyu21BuNYS0cLZS6rwTJU8FpXAkTl0vmtxZg2WtJTZx5zJt4E53yHl Q02E7VKCmMWdaVkr1TPZ/2dl4IJMMa1CRrGe+orkMCXjjlpjonTmTn+wFvkuUrzo tQ+l36gmTgmLq9unLjzqiaJjydinslclxwX5UdsdJX21HvVUsybIgDM+vwMBjC1c WqrhoCqo5yw53a/e6OTrZIoucCecmn5288D/d9Yi2KOCCZf00afcvcf6pjq83Q/t VbHDow8OpHHLx3aE2jQEd8mmjS0UfbtFEDmjCg1xLDEaOhpUf7CiJ9uIZcydstw2 bQMeR+dza0YGefwd4ooIpQoA614t1g== =wHx4 -----END PGP SIGNATURE----- --=-=-=--