From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MLzSHW5nUWdGEAEA62LTzQ:P1 (envelope-from ) for ; Thu, 05 Dec 2024 08:42:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MLzSHW5nUWdGEAEA62LTzQ (envelope-from ) for ; Thu, 05 Dec 2024 09:42:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b="ZYQ/4zT0"; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733388142; a=rsa-sha256; cv=none; b=BmlDjyMmLNjlQhCTnYxaMGRAFM/th1qFeswRGFtaCn73u2MCfTaKLxLCkjk7K08poOjKlD R3SIAt/46Qhgszb1+93UOrd9aC6P+TvdOuT6tu/0/aHFUITvncNcL8maOAMhKSBK/Ex5+J Nubzn/r6Qp+qlj7XRMPf8jrjFaFmTg272TvbjQVPca/oQo5J+HJrC00lH61Wjeg2xS45pl aSW68EPEa8vsOpFQGnfVNoxhxRQkDoG8k1zP0fo4SPhPcIzAEe/hbmlyt6hL50k5kt5v+Z 0ETiMbtG0PFJ+TqlHA17qU1CoufzglJtPxaXru8Cyeu6im26SMRFgio22sU3JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b="ZYQ/4zT0"; dmarc=pass (policy=none) header.from=libre.brussels; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733388142; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WyvC2TqoZcVPXGdvomX4i6Ck7v26oWJpSvRyt/kcUPE=; b=cEZJYkxGh2RW7SRM9WahashvvRPyWz4POEDVSjQrH0m+qKDhYzDjmh3MhW6iUy3Hb1wNRp +FPDukJMG6n2qPJ+0QW76SHRHp+/zVKVWaW+s+T6xR7nXfHBVcOdzegOECV9acI6/Xsmiu Et3M4ACjlQ3qQyF4BH8bS2FVfRUmeK4Utw/A7YuTiau8JR2yt8tzTvEAt1HpXYV8RNLMJO zkCrv0/6G7kVqN/0o3429Rzq7W/rYnik4/DNEQ+zEO9AkB52xDfHNUAWl7qzEX14zxYckD ktUxqE3VetHhO8cnmW4BJ9ZU7mLLWW4Mq1U5voGcFFhSMdVixWfpunk4F4VSrQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 50E1B7D80 for ; Thu, 05 Dec 2024 09:42:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ7QU-0006EV-U5; Thu, 05 Dec 2024 03:41:34 -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 ) id 1tJ7QT-0006EL-LJ for guix-devel@gnu.org; Thu, 05 Dec 2024 03:41:33 -0500 Received: from libre.brussels ([2a01:4f8:201:1044::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJ7QS-0004ui-0C for guix-devel@gnu.org; Thu, 05 Dec 2024 03:41:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libre.brussels; s=mail; t=1733388087; bh=LQN43C6g7Km7hgh1AYGGKY9UApktBSLNm89hpDdAy2k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZYQ/4zT0M3YLRYcF+o36q85+5gEeEzfesgd3l881fGzi2BvYIYKT+hHqKIlwDQrSB ufR4l+RTOjUN6MZqKIKax5KV894p4sSULuEqXQpSS8nEfBN97saOnGTyxuD7pe46Mo QrUSyRQ/Z9hPin1CgJb4MXj6M+rmEn1JFP5A6beQ= MIME-Version: 1.0 Date: Thu, 05 Dec 2024 08:41:27 +0000 From: indieterminacy To: Maxim Cournoyer Cc: guix-devel@gnu.org Subject: Re: Regarding the vertical alignment in the record definitions In-Reply-To: <87frn2li0z.fsf@gmail.com> References: <87frn538q2.fsf@wolfsden.cz> <87frn2li0z.fsf@gmail.com> Message-ID: <62e7cd1811c5514c6dd6e067d712999a@libre.brussels> X-Sender: indieterminacy@libre.brussels Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a01:4f8:201:1044::1; envelope-from=indieterminacy@libre.brussels; helo=libre.brussels 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 50E1B7D80 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.43 X-Spam-Score: -3.43 X-TUID: +AAnaS7+EvWO Hello, On 2024-12-05 07:13, Maxim Cournoyer wrote: > Hi Tomas, > > ... > > I agree it's a bit tedious, both manually and also in diffs. My > personal preference is to leave just one space between the field name > and the value, that also holds for variable bounds in lets, etc., to > avoid the problem (at the cost of some visual clarity, I guess). > > One day maybe we'll have a general tool like 'scheme-fmt' to run on a > file save hook that'd fix the format question for good, like Python has > with 'black' or 'ruff', etc. I have on mind to work on such a tool, > but > it's low in the list. FWIW, Im slowly cobbling together some parsing-expression-grammars for Guix package definitions. Im doing it in the Lisp TXR atm but Im going to create a hybrid approach with Prolog to make it more general. In addition to outputting a unified formatting, Im planning on altering descriptions so that that that content is outputted in the format Texinfo. Please dont expect anything soon but should anybody start any other initiative then I may possibly some useful assets or details by then. Kind regards, Jonathan