GNU bug report logs - #57090
'guix style' pretty-printer always renders integers as base10

Previous Next

Package: guix;

Reported by: Christopher Rodriguez <yewscion <at> gmail.com>

Date: Tue, 9 Aug 2022 20:52:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57090: closed ('guix style' pretty-printer always renders
 integers as base10)
Date: Thu, 01 Sep 2022 16:44:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 01 Sep 2022 18:43:22 +0200
with message-id <87k06nyrit.fsf_-_ <at> gnu.org>
and subject line Re: bug#57090: 'guix style' pretty-printer always renders integers as base10
has caused the debbugs.gnu.org bug report #57090,
regarding 'guix style' pretty-printer always renders integers as base10
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57090: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57090
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Rodriguez <yewscion <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: [BUG] Default Notation for chmod in guix style?
Date: Tue, 09 Aug 2022 16:47:58 -0400
[Message part 3 (text/plain, inline)]
Hello,

I've noticed that, when I explicitly declare absolute permissions in
octal during a (chmod …) in my package definitions and then run guix
style, it converts them to decimal instead.

Is this intended? I've gotten feedback and agree that octal (#o755) is
much clearer to read than decimal (493), simply because I'm used to the
actual unix chmod tool and its conventions.

--

Christopher Rodriguez
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: "(" <paren <at> disroot.org>
Cc: Maxime Devos <maximedevos <at> telenet.be>,
 Christopher Rodriguez <yewscion <at> gmail.com>, 57090-done <at> debbugs.gnu.org
Subject: Re: bug#57090: 'guix style' pretty-printer always renders integers
 as base10
Date: Thu, 01 Sep 2022 18:43:22 +0200
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

> Now, we could tweak the pretty printer so that it recognizes patterns
> where numbers or strings should be printed in a certain way.

I did that in c3b1cfe76b7038f4030d7d207ffc417fed9a7ead.  Lemme know how
you like it!  :-)

Ludo’.


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

Previous Next


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