Message ID | 20200704230504.6763-1-arunisaac@systemreboot.net |
---|---|
Headers | show
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F1FD327BBE1; Sun, 5 Jul 2020 00:06:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4E74927BBE3 for <patchwork@mira.cbaines.net>; Sun, 5 Jul 2020 00:06:11 +0100 (BST) Received: from localhost ([::1]:35016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1jrrEY-0000ZC-Oe for patchwork@mira.cbaines.net; Sat, 04 Jul 2020 19:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jrrEQ-0000Yu-PL for guix-patches@gnu.org; Sat, 04 Jul 2020 19:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jrrEQ-0006Bk-H3 for guix-patches@gnu.org; Sat, 04 Jul 2020 19:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jrrEQ-00030g-CY for guix-patches@gnu.org; Sat, 04 Jul 2020 19:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42208] [PATCH 0/1] weather: Print 0.0% correctly. Resent-From: Arun Isaac <arunisaac@systemreboot.net> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jul 2020 23:06:02 +0000 Resent-Message-ID: <handler.42208.B.159390392111517@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42208@debbugs.gnu.org Cc: Arun Isaac <arunisaac@systemreboot.net> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159390392111517 (code B ref -1); Sat, 04 Jul 2020 23:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2020 23:05:21 +0000 Received: from localhost ([127.0.0.1]:59807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1jrrDk-0002zh-NU for submit@debbugs.gnu.org; Sat, 04 Jul 2020 19:05:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:33694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arunisaac@systemreboot.net>) id 1jrrDj-0002zZ-4y for submit@debbugs.gnu.org; Sat, 04 Jul 2020 19:05:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arunisaac@systemreboot.net>) id 1jrrDi-0000Qf-6q for guix-patches@gnu.org; Sat, 04 Jul 2020 19:05:19 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:53462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arunisaac@systemreboot.net>) id 1jrrDf-0005xo-4V for guix-patches@gnu.org; Sat, 04 Jul 2020 19:05:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/Nehu3ORYLq6pB8XMRPNtJ361oGjWVJ8R+9BfjpGUQ4=; b=LJ8VPCzkgnWBYkbhd6R8e2aH1u B0Cgtq8euUgA9jPq1vxIYKmTBk1EDuBp6pu76OUt6aZ/r2YQPR3nC/bp4gu7DNSkiWNZPjs4PvL+i 8/rCrHkAmTL4kr0kHylgmfD8WTn7VeKgSV2f61CaU5O7hKubMHPSQZafh+RJ2mht3vIY=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from <arunisaac@systemreboot.net>) id 1jrrDY-0008yE-6k; Sun, 05 Jul 2020 04:35:08 +0530 From: Arun Isaac <arunisaac@systemreboot.net> Date: Sun, 5 Jul 2020 04:35:04 +0530 Message-Id: <20200704230504.6763-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 17:37:28 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Hello Arun, > "0.0% substitutes unavailable". I didn't know what the '2' specifying width in > ~2,1f was for. Hence, I have removed it. Feel free to correct me if I did > something wrong. This "2" is the width argument of the ~f parameter (see https://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html). It's supposed to pad left with spaces if the output is less than "2" characters. Anyway, the zero case is not handled properly as you noticed, so this looks good to me. Thanks, Mathieu