From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 8Bb/Nc6MM2evlgAAe85BDQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 17:13:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8Bb/Nc6MM2evlgAAe85BDQ (envelope-from ) for ; Tue, 12 Nov 2024 18:13:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b="iniwrv/1"; 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"; dmarc=pass (policy=none) header.from=libre.brussels ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731431630; 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=u8+eNTNu9G/UQuLkJH/VcU/6TuJLed2gVpbCJMXKbVg=; b=kjpsPIoMn8XyA/y3/e7AXQAI4JepfHzljoBk6ueDWa0a2XCde/KuGKUoPxoszxn9SGjUC2 9gtCU8fZjvSASaK3hbZOoMP1u+Bi9jPmdkGyIZJ6/YkKQl55Hpt5JgZ17IeNcBjnc9v3GR qvsuW+Q+T9LYhEgv/9C6vZ7xnwSbqGc0+vcSq/p/VrlD4/TO5rFzpIieCzThIR7/QTjo+X eeA744LqA/gvUs0tm+8bvIepLK+F/5Ai6qzJT9l6rKCWb3MAxCSmQQrSNTDV2MaiMFDkIw cMBueyQmrgg7qkbozR0ZW+djdIS2UGC6t5hqlCkrmX361FSFdZaZ+z1IcMOP8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731431630; a=rsa-sha256; cv=none; b=f34UYxYMK+5i7ob672VfiohyrF6UQQyUBgOrkqReDiYh2kCa81DlLFWgB9l5AH2/Dzy0/L QXSUpRrX6hkfBEZe0bCjOMwNpBXXZE+aK0g9W15ESGDDogGVrQ57Io6kg/ng98r6a8u1Yu bczWD7CppTsZ5+KgzDylAs26Wepyo8Cf0oDUO+Fjs8h4UpsBGe2QUzUZsWwXH7TKID0Jwl 5XucZ0Qk64ICsFVWKSaiEq16TXtoqKkAks24PkAPnLR3UfWmrZoq56+ZXi96pnORUgEN3m DK/2U3kRKGL3F1OI9HLWCZhoXpysABIx2v35HV/v4xenMt9xHdO6f1Jv6FsUpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=libre.brussels header.s=mail header.b="iniwrv/1"; 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"; dmarc=pass (policy=none) header.from=libre.brussels 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 8D02056515 for ; Tue, 12 Nov 2024 18:13:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtoA-0006K4-Ro; Tue, 12 Nov 2024 11:32:02 -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 1tAto9-0006IR-68 for guix-devel@gnu.org; Tue, 12 Nov 2024 11:32:01 -0500 Received: from libre.brussels ([144.76.234.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAto7-0006Ir-6y for guix-devel@gnu.org; Tue, 12 Nov 2024 11:32:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.brussels; s=mail; t=1731429116; h=from:from: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; bh=u8+eNTNu9G/UQuLkJH/VcU/6TuJLed2gVpbCJMXKbVg=; b=iniwrv/1mAl53Sj/V1KcmdplQ8VcrAIQ5TQAP9w7Pxd8us7q+lb8n4e1v+yTQqWDlZxS1h Y66cZv+8BgKuEJr0MTDPqcTfjrOGFieWnaBoYyP9H57pz8IRW5iab075A9tZKSHwBzh9DI 8mWcihypnCnb3IuTD0xiqwbygXrvUBI= MIME-Version: 1.0 Date: Tue, 12 Nov 2024 16:31:56 +0000 From: indieterminacy To: Christopher Howard Cc: Luis Felipe , Ricardo Wurmus , guix-devel@gnu.org Subject: Re: Unhelpful "--help" output In-Reply-To: <87o72kqv40.fsf@librehacker.com> References: <87o72kqv40.fsf@librehacker.com> Message-ID: X-Sender: indieterminacy@libre.brussels Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=144.76.234.112; 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-Spam-Score: -2.63 X-Spam-Score: -2.63 X-Migadu-Queue-Id: 8D02056515 X-Migadu-Scanner: mx13.migadu.com X-TUID: 2SbLhX0719hn Hello Christopher, On 2024-11-12 16:23, Christopher Howard wrote: > Hi, if planning to make changes to --help output, could you please try > to preserve the output formatting as much as possible? I'm trying to > fix the bitrot in the emacs-guix "shell commands" code, which actually > parses the --help output using regexs, and and generates magit-popup > menus based on that. So little things like the number of spaces on the > line before the command name actually matter. Sounds interesting. I guess you are being implicit regarding the spacing order? It may be more resilient to consider counting the number of opening spaces/tabs and then compare the results. In any case Id like to look at the uri to see how Transient is operating off your PEGs. Thanks for working on this! Kind regards, Jonathan