GNU logs - #24812, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#24812: 25.1; Missing (binary) radix format directive
Resent-From: Alex <agrambot@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 28 Oct 2016 04:25:01 +0000
Resent-Message-ID: <handler.24812.B.14776286805484 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 24812
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 24812 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14776286805484
          (code B ref -1); Fri, 28 Oct 2016 04:25:01 +0000
Received: (at submit) by debbugs.gnu.org; 28 Oct 2016 04:24:40 +0000
Received: from localhost ([127.0.0.1]:33040 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bzyie-0001QO-Hs
	for submit <at> debbugs.gnu.org; Fri, 28 Oct 2016 00:24:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <agrambot@HIDDEN>) id 1bzyic-0001QB-Ti
 for submit <at> debbugs.gnu.org; Fri, 28 Oct 2016 00:24:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <agrambot@HIDDEN>) id 1bzyiX-0000U9-8E
 for submit <at> debbugs.gnu.org; Fri, 28 Oct 2016 00:24:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51138)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <agrambot@HIDDEN>) id 1bzyiX-0000Tw-4Y
 for submit <at> debbugs.gnu.org; Fri, 28 Oct 2016 00:24:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39781)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <agrambot@HIDDEN>) id 1bzyiV-0002pS-Qx
 for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2016 00:24:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <agrambot@HIDDEN>) id 1bzyiS-0000Qi-QJ
 for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2016 00:24:31 -0400
Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:33052)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <agrambot@HIDDEN>) id 1bzyiS-0000QB-KT
 for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2016 00:24:28 -0400
Received: by mail-oi0-x229.google.com with SMTP id y2so98291223oie.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 27 Oct 2016 21:24:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version;
 bh=y7r6vyU6n+AaD1G9BriAp6iMEna4GfBgNYBJythdreY=;
 b=vG9NmRd5ZX+wxWAtmGbsQ9azdnAZv5tcKE17Z6YoyxtjpKX6oyH7oI93vGkcs/aAlV
 78QD7sKC1MSmI1gVDlrQCk4RpQtqHISF/0sWcFTr0wIH5FAVcCKWxbTaSGuvklgRKsfN
 v0AA983V+Cyb4aNn6HKo29f29lO6/enAhOcBwmGF4MRdJdiMG+5rpaFJ+zAL1OXDpxOW
 mpUVgOTj3/R8oWpd+7xUIZbraLIFcv2E3vBnwZQkN8PU+dCn15j2cJgq1YlMqAguJz3u
 2Db5Me99hxgOMmceNVSqrOxe0vDedDolPNDcrrBbi4NZwDQ0y3eIut0FUIOaSmhGuNHn
 OSZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=y7r6vyU6n+AaD1G9BriAp6iMEna4GfBgNYBJythdreY=;
 b=Xg/3Qq7foME7x5T1nLBMXDgDxSzBZZZtw7l98MyXt4f8PWizzHPH3qxnBES2sILQe+
 jL4GQs+wSQLK/cbkx8NpiOX2VqqiuJ+fSN/pCFwZoq2LCnWEzWGXO363Wtu97Lu/7nrW
 lqeiAscWd4puvvnFJBbytlZ+yv90WQ34DXiiQWitggOmqe3hnYHn2e6dVn5E2xlGLr5H
 jE3/JbpsDx/wuqm8Atb7eAXndXAFg7ful9BSRGZzcn9ZWqZ++hcU4lQS8heyRs5tkLh5
 9nmEjrWR++R0b6qaSQ+y9lb2CWSiZc1R9x8ucsPBuKmDiUHkzY/aKDsxn0jsX+u4mgp5
 njxw==
X-Gm-Message-State: ABUngveqVzAJA8IxcIZR1t2M8CLyZqFY3u1n1prwWyo3v1ssNJky1Xhcc4bzzrHZFjBZrQ==
X-Received: by 10.107.137.138 with SMTP id t10mr9806360ioi.13.1477628667361;
 Thu, 27 Oct 2016 21:24:27 -0700 (PDT)
Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88])
 by smtp.gmail.com with ESMTPSA id x193sm2357656ite.16.2016.10.27.21.24.26
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 27 Oct 2016 21:24:26 -0700 (PDT)
From: Alex <agrambot@HIDDEN>
Date: Thu, 27 Oct 2016 22:24:04 -0600
Message-ID: <87zilpqexn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Emacs' `format' has %o, %x, and %d, but it's missing both the ~r and ~b
radix directives from Common Lisp's `format'.

I can understand leaving out ~r, but I think ~b is worth adding to
Emacs' `format'.

CL example:
(format nil "~b" 5) => "101"

Requested:
(format "%b" 5) => "101"




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Alex <agrambot@HIDDEN>
Subject: bug#24812: Acknowledgement (25.1; Missing (binary) radix format
 directive)
Message-ID: <handler.24812.B.14776286805484.ack <at> debbugs.gnu.org>
References: <87zilpqexn.fsf@HIDDEN>
X-Gnu-PR-Message: ack 24812
X-Gnu-PR-Package: emacs
Reply-To: 24812 <at> debbugs.gnu.org
Date: Fri, 28 Oct 2016 04:25:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 24812 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
24812: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24812
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#24812: 25.1; Missing (binary) radix format directive
Resent-From: Alex <agrambot@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 29 Oct 2016 19:35:01 +0000
Resent-Message-ID: <handler.24812.B24812.14777696546158 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 24812
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 24812 <at> debbugs.gnu.org
Received: via spool by 24812-submit <at> debbugs.gnu.org id=B24812.14777696546158
          (code B ref 24812); Sat, 29 Oct 2016 19:35:01 +0000
Received: (at 24812) by debbugs.gnu.org; 29 Oct 2016 19:34:14 +0000
Received: from localhost ([127.0.0.1]:36822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c0ZOQ-0001bG-IA
	for submit <at> debbugs.gnu.org; Sat, 29 Oct 2016 15:34:14 -0400
Received: from mail-it0-f45.google.com ([209.85.214.45]:36883)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <agrambot@HIDDEN>) id 1c0ZOP-0001az-MT
 for 24812 <at> debbugs.gnu.org; Sat, 29 Oct 2016 15:34:13 -0400
Received: by mail-it0-f45.google.com with SMTP id u205so35931361itc.0
 for <24812 <at> debbugs.gnu.org>; Sat, 29 Oct 2016 12:34:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version; bh=59YMc0n0MbZiQWuFiEYsVjOC8sIyI5C8ispDqVi9m4M=;
 b=netsmoSDpb/zJ8uC8HSjNbgwE4Quhv45uKQ+uPVhTGVLJ+5ENbXhOtwTxtbXmcCym9
 7+CehVLfgK9HV+29JKIGvaUcKzZkV+fpi0y7GwyaSwnqBrsQa3bHfCPvaaI7awOxsLJ9
 5adZZOm3RpNjTPJN29ha7e9iMzqLA51OSXmaL1+i0RSdcI7v6lTljj2567geIPVbS7Sv
 FXJRj2djWZOd7FFFyVWK3kwp+pa97F4nwggm/CSjfJFGqwCQJda97l/WwwmW3yAPgPRF
 UKIFKVqkp2u9OMocxj5oloDuxFXdNvkZjQ+dPJCZI0JVY0lFA4bti/9guWS5htnbQpQV
 HtzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=59YMc0n0MbZiQWuFiEYsVjOC8sIyI5C8ispDqVi9m4M=;
 b=ia9lUb4tjqxIeBkM8ddVS3sD0e28r5Bl5GGosKo1Hnk1xtLFx7+MtcEnMd3Yv/904Q
 pg3nkuVDFNLGUbAIFTwhUZQT3ttXS8zKSFZfBphyWfyf7Zmr0nLA6Th/uEi0Pkx4VYcD
 VlbssE3bJ/6qiBapL6xA5n0kviCmUJvy6bPtgASQCZ1ca5Wb6BGiaZ3WSQyGnrchJ9dC
 JvB97SqamrC9dt9qX7OsFFAdei2IvMZMq3UqOAFAMQOJIqeHRScPQqp3v4YZ3rSUBCpt
 nOXsaK+kU3FSeqU+EhwcJlyWoIxynX1WD1WpYClx6UfqCaG9WgMRhMIhivsw1K4SJU91
 +0ew==
X-Gm-Message-State: ABUngveFQk28/c39HkpFZSMUB25TIE3mqXJXHeEgIeU91AEaKmuvY5iktfEyWa/vHwam/Q==
X-Received: by 10.36.60.80 with SMTP id m77mr3702081ita.13.1477769647803;
 Sat, 29 Oct 2016 12:34:07 -0700 (PDT)
Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88])
 by smtp.gmail.com with ESMTPSA id y130sm5489618itc.16.2016.10.29.12.34.07
 for <24812 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 29 Oct 2016 12:34:07 -0700 (PDT)
From: Alex <agrambot@HIDDEN>
References: <87zilpqexn.fsf@HIDDEN>
Date: Sat, 29 Oct 2016 13:34:02 -0600
In-Reply-To: <87zilpqexn.fsf@HIDDEN> (Alex's message of "Thu, 27 Oct 2016
 22:24:04 -0600")
Message-ID: <87h97v9cgl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

Alex <agrambot@HIDDEN> writes:

> Emacs' `format' has %o, %x, and %d, but it's missing both the ~r and ~b
> radix directives from Common Lisp's `format'.
>
> I can understand leaving out ~r, but I think ~b is worth adding to
> Emacs' `format'.
>
> CL example:
> (format nil "~b" 5) => "101"
>
> Requested:
> (format "%b" 5) => "101"

I noticed that while string_to_number supports an arbitrary base,
number_to_string doesn't.

If number_to_string was symmetric in this aspect, then ~b and ~r should
be straightforward to implement, right?





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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