From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6PURLkuzM2dyaAAAe85BDQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 19:58:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6PURLkuzM2dyaAAAe85BDQ (envelope-from ) for ; Tue, 12 Nov 2024 20:58:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20240523 header.b=ivCXV8zH; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731441483; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Muq39JydY/EvK48hcEuROQkUAjfqAyASRSNzS5CwEvU=; b=AabiFlt9+S3u29oJfD852B01uwRT2X2e3RgIZyZCUXN52lECoy122kAlyx52+lop6EEAAj DFbudY5zuOwM6VQAYP3c/f3mohh0iWf3t0O4gW3xN1HWnpB7V6KuDScCiWXqx/BfyJKBSo bQOLVtPOmh2cVMQIhKNejmcRiBA3/3po/QWvIRwQsZOUptBKBAmBbiJvR79EftIQa/FRn1 mY1ulAkLfHRpZIi0YA2MOfLiOZJbaRBHF2gSpew6X4sdBf+X5NRsgy3HeBu30tRueU24tE GMOMoCG8vQY19XHES/yosWw9Vnbo3rI67tToFxz0BIkeHeWrxSsWluCbvTmsWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20240523 header.b=ivCXV8zH; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731441483; a=rsa-sha256; cv=none; b=PVhdwgMt6XadW96Hm3BrB3F5sMz3oVMDnDW/IaAicP1CBZVTiNU0rcGAWvBaezaNEwleWg ZO5eO5pDeqveLrwq2MMuA7/JusG0Q+V+LUMnvUeWs7Cl5HxgZovR/1O/usheFryM7QlW+D SXjBysL/cHIJ+EDljLGivH+Y0uyqZBlcjbjRR0OZvawfzuWsmCKfxuDEZq1cP/Mdnfqwu0 5CmBOnp3HfXe2ujHxEq0FBfPzWwCVa0msFkm4ogDdCbeUP+sOAOQC2kDrB9O6bGzJWz+ut IU2YFCG+Jsg+F2hnB56cUV9PjHkOYfGyYxGyi60w0r8vGEejhLz4B30SnlIYhw== 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 3DC568DAD4 for ; Tue, 12 Nov 2024 20:58:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAx0q-0002Uy-Io; Tue, 12 Nov 2024 14:57:20 -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 1tAx0j-0002UU-8B for guix-devel@gnu.org; Tue, 12 Nov 2024 14:57:14 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAx0h-0004US-9z for guix-devel@gnu.org; Tue, 12 Nov 2024 14:57:12 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 335C7316B770; Tue, 12 Nov 2024 20:57:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim20240523; t=1731441425; x=1733255826; bh=Muq39JydY/EvK48hcEuROQkUAjfqAyASRSNzS5CwEvU=; b=ivCXV8zHrW7p EuJaoxJiiS4At/5yIqrzcuTiN7sL50Et40XW3zs/ptVoNGTHiD+EMsQEb0E1QQff SD3Ew5reu+VTOMMkEEcP5COuGvFnTZviOj0T8ZIm/0AqsIWx5UWw6GoCgZ0mLXvY CB9/FoFRyoxn7XLcgGHJBDR3vQYQw2Z/7DXKjua1rC9YQsfxGFKFGslnkzfcM6CP wSaCqoOQsjB3PbPtzUDKE9A+5Ag+Nn3Up7jnm28WdYZWT5nnc+2YyUbNXWdmqEMd Dp19huPsDnaL9ARNejnYnFVjjbI9cxTmB/VBO5bVjfjat8Der4nQ1GvRmsctIDAI WE6SFSx4sg== X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id fcVNKSWAKfaJ; Tue, 12 Nov 2024 20:57:05 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 4D2083112630; Tue, 12 Nov 2024 20:57:03 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id D614230DF634; Tue, 12 Nov 2024 20:57:02 +0100 (CET) From: Christopher Howard To: indieterminacy Cc: Luis Felipe , Ricardo Wurmus , guix-devel@gnu.org Subject: Re: Unhelpful "--help" output In-Reply-To: (indieterminacy@libre.brussels's message of "Tue, 12 Nov 2024 16:31:56 +0000") References: <87o72kqv40.fsf@librehacker.com> Date: Tue, 12 Nov 2024 10:56:59 -0900 Message-ID: <87serwp6no.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.24 X-Spam-Score: -1.24 X-Migadu-Queue-Id: 3DC568DAD4 X-TUID: GThyIuNfyTRz indieterminacy writes: > 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. > Hi, right now I'm just trying, during my lunchbreaks, to fix the code that is already written. But I keep having to use my lunch breaks for other things, like vehicle maintenance, so progress has been slow. https://git.savannah.gnu.org/git/guix/emacs-guix.git/ One of the interfaces emacs-guix provides is a magit-popup interface to all the guix commands, which it generates by parsing the "guix --help" output, along with Improver code to improve handling of some of the options. That was broke (for years...?) because the regex expected three spaces before a command description, whereas now there is four spaces. I submitted a patch for that. What is the old saying? Solve a problem with a regular expression, and now you have two problems. :) But the regular expressions are written in that nice rx notation, so that helps a lot. Emacs-guix uses magit-popup, the predecessor of Transient. -- Christopher Howard