all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: Christopher Rodriguez <yewscion@gmail.com>
Cc: 57090@debbugs.gnu.org
Subject: bug#57090: [BUG] Default Notation for chmod in guix style?
Date: Tue, 09 Aug 2022 21:01:15 +0000	[thread overview]
Message-ID: <87wnbhf7sd.fsf@riseup.net> (raw)
In-Reply-To: <878rnxi1it.fsf@gmail.com>


Christopher Rodriguez <yewscion@gmail.com> writes:

> [[PGP Signed Part:Undecided]]
>
> 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.

Seems to be a Scheme limitation:

```
scheme@(guile-user)> '(#o10)
$1 = (8)
```




  parent reply	other threads:[~2022-08-09 21:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 20:47 bug#57090: [BUG] Default Notation for chmod in guix style? Christopher Rodriguez
2022-08-09 20:59 ` Maxime Devos
2022-08-09 21:04   ` paren--- via Bug reports for GNU Guix
2022-08-09 21:12     ` Ludovic Courtès
2022-09-01 16:43       ` bug#57090: 'guix style' pretty-printer always renders integers as base10 Ludovic Courtès
2022-08-09 21:01 ` Csepp [this message]
2022-08-09 21:08   ` bug#57090: [BUG] Default Notation for chmod in guix style? paren--- via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnbhf7sd.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=57090@debbugs.gnu.org \
    --cc=yewscion@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.