From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Brett Gilio Newsgroups: gmane.emacs.bugs Subject: bug#32252: [PATCH] %o and %x now format signed numbers Date: Wed, 25 Jul 2018 18:33:34 -0500 Message-ID: <877eli28mp.fsf@posteo.net> References: <83o9ewv68u.fsf@gnu.org> <88033810-6f82-8fab-e64e-7ae948b723e7@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1532562370 29793 195.159.176.226 (25 Jul 2018 23:46:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2018 23:46:10 +0000 (UTC) User-Agent: mu4e 1.0; emacs 27.0.50 Cc: 32252@debbugs.gnu.org, Helmut Eller To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 01:46:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiTTo-0007cc-7G for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2018 01:46:04 +0200 Original-Received: from localhost ([::1]:56796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiTVu-0005S3-QI for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jul 2018 19:48:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiTVm-0005Ry-4d for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 19:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiTVj-0001zM-6D for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 19:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiTVi-0001z1-TT for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 19:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fiTVi-00064v-GC for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 19:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jul 2018 23:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32252 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 32252-submit@debbugs.gnu.org id=B32252.153256244823321 (code B ref 32252); Wed, 25 Jul 2018 23:48:02 +0000 Original-Received: (at 32252) by debbugs.gnu.org; 25 Jul 2018 23:47:28 +0000 Original-Received: from localhost ([127.0.0.1]:57856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiTV7-000642-D1 for submit@debbugs.gnu.org; Wed, 25 Jul 2018 19:47:28 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:49107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiTID-0005ji-Pt for 32252@debbugs.gnu.org; Wed, 25 Jul 2018 19:34:06 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9181C211E2 for <32252@debbugs.gnu.org>; Thu, 26 Jul 2018 01:33:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1532561639; bh=eZ+lej1GXXYo1D+AXjriTS83w2yJ2PiLX355JCKcB+Q=; h=From:To:Cc:Subject:Date:From; b=VWa2lmSIf5jfvdmMWXv4XpbyqF9+lTIsE4SytTGjJaKHhNJ1DXFFT3KTTJn+VwePM E/jwREiTVrCtxKne+ATNRPE6U4yv43zkcUswsfg7c1x4bTUtZ/kN19l+8VrGcDMfZE pwk+pwPv8iocZAP9izvHDORSl7SXe5V5xh3fFpbTNmRpm2hJGlZgagJR4H+BY8Dp+T AR7qmCGargfEZjWt1Ez/WK+S2KYUXZyBfC3OuyQK5PgkVgDCf4mnjmOd537+sgJ9ru 9UM9ShrbfEhBS6n2pGBdVEJcXTHQnh8wCeln9qTdTSEZwG+jRyQNXn1FCW5rvlADaw bFRInHZ89SgxQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 41bWl96czkz9rxD; Thu, 26 Jul 2018 01:33:57 +0200 (CEST) In-reply-to: <88033810-6f82-8fab-e64e-7ae948b723e7@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Wed, 25 Jul 2018 19:47:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148941 Archived-At: Paul Eggert writes: > I don't know what inconsistent behavior would make sense here. > There's a > longstanding tradition in Lisp that integer arithmetic just > works, and I don't > see why Emacs would want to fight against that tradition here. > Although there > may be some low-level functions that distinguish between fixnums > and bignums for > efficiency reasons, the vast majority of Lisp functions should > not distinguish > them, and 'format' should be one of those functions. >> Maybe we should merge the branch first, let the dust settle and >> let >> people use the new functionality, then revisit this stuff with >> more >> experience on our hands. Paul, I agree with you here. However, I wonder what you mean by "just works" in contrast to what Eli suggested about the inconsistency in behavior between the different function definitions for fixnums and bignums. How would that be working against the lisp tradition? -- Brett M. Gilio Free Software Foundation, Member https://parabola.nu | https://emacs.org