GNU bug report logs - #56297
Guix style imperfections

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 29 Jun 2022 09:34:02 UTC

Severity: normal

Full log


Message #20 received at 56297 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
To: Maxime Devos <maximedevos <at> telenet.be>, 56297 <at> debbugs.gnu.org
Subject: Re: Guix style imperfections
Date: Wed, 29 Jun 2022 12:25:04 +0200
Am Mittwoch, dem 29.06.2022 um 12:19 +0200 schrieb Maxime Devos:
> Liliana Marie Prikler schreef op wo 29-06-2022 om 12:15 [+0200]:
> > > >                                     (delete-file
> > > >                                      "test-
> > > > suite/tests/version.test")
> > > > #t))))))
> > > 
> > > (Would be nice if "guix style" could be taught to remove those
> > > #t,
> > > but
> > > that seems more a feature limitation than a bug to me.)
> > It can still do better by not contracting them imho.
> 
> TBC, do you mean doing #t -> #true, #f -> #false?
I mean leaving them on an extra line.  The current style tool mostly
errs when contracting multiple lines, which imho should not be its
task.

The problem that is solved here, is that people sometimes (particularly
in the uri field of the source) make these contractions for style
reasons.  Guix style, having been taught that, tries to extrapolate
this to all fields.

Cheers





This bug report was last modified 2 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.