From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vivien Kraus via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: Re: Syntax locations are ambiguous: can we track source 'offset' and 'length'? Date: Wed, 04 Aug 2021 16:09:58 +0200 Message-ID: <87y29h8fnt.fsf@planete-kraus.eu> References: <771a6e88782e288143be269b14751b761523e4c1.camel@planete-kraus.eu> <87v94lpg7s.fsf@gnu.org> <871r799z1y.fsf@planete-kraus.eu> <87pmutpbs1.fsf@gnu.org> Reply-To: Vivien Kraus Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11361"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 27.2 Cc: guile-user@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Aug 04 16:10:19 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBHb9-0002kB-0J for guile-user@m.gmane-mx.org; Wed, 04 Aug 2021 16:10:19 +0200 Original-Received: from localhost ([::1]:58602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBHb7-0001Kl-Fk for guile-user@m.gmane-mx.org; Wed, 04 Aug 2021 10:10:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBHax-0001Kb-MS for guile-user@gnu.org; Wed, 04 Aug 2021 10:10:07 -0400 Original-Received: from planete-kraus.eu ([2a00:5881:4008:2810::309]:49258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mBHav-0007l6-Jo; Wed, 04 Aug 2021 10:10:07 -0400 Original-Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id ea653313; Wed, 4 Aug 2021 14:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=*; bh=bo w+e8teoQGqXzR7PSNy/I8QBGs=; b=Vobs5Mzwd3P9k4HRYfteR2LfVYIFm4oaPL BMsHrfZwgvxXH89EDcadDRW6ZjyhqHeuGwxyIGy9gUMAEJc3SOBdGgkoC09nqTel 25WqV3PQibM9K2RjmYcUy/kQ7yRw2XoG/dc7yBsy/2/raPWTEBfez0YZrB1Xnf1T NgTrOU7Yw= Original-Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id a39477a3 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Wed, 4 Aug 2021 14:09:58 +0000 (UTC) In-reply-to: <87pmutpbs1.fsf@gnu.org> Received-SPF: pass client-ip=2a00:5881:4008:2810::309; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17672 Archived-At: Ludovic Court=C3=A8s writes: >> I=E2=80=99m happy to see this pretty-print-with-comments function. I wan= t guile >> to have a tool that can automatically reformat scheme code, to avoid >> indentation problems with code reviews and pointless discussions about >> style. We could even tweak text editors to convert between different >> styles for viewing the source and for git commits. I=E2=80=99m sure wisp= people >> would like it. I hope to see "guix style" one day :) > > It *is* =E2=80=98guix style=E2=80=99. :-) > > Currently the command is focusing on one very specific style issue, but > we could certainly expand it for more general formatting. I did not notice because it is not in master yet. But that=E2=80=99s good n= ews, at least for guix now. Vivien