From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#32252: [PATCH] %o and %x now format signed numbers Date: Thu, 26 Jul 2018 11:56:13 +0200 Message-ID: References: <7e8dd084-7ab9-c2ce-1d6c-e673fa998f11@cs.ucla.edu> <6f720005-b5e4-5d1c-b4e8-a8992c7635c4@cs.ucla.edu> <1c3c61c4-f93f-3bea-f6ed-b89e1cdea89b@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532598913 28599 195.159.176.226 (26 Jul 2018 09:55:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2018 09:55:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32252@debbugs.gnu.org, Paul Eggert To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 11:55:09 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 1ficzD-0007Hc-W2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2018 11:55:08 +0200 Original-Received: from localhost ([::1]:33638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fid1K-0006e2-DC for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2018 05:57:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fid17-0006bv-O9 for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 05:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fid14-00032f-QM for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 05:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53341) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fid14-00032R-KM for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 05:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fid14-0005p9-7S for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2018 05:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Helmut Eller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jul 2018 09:57: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.153259898222337 (code B ref 32252); Thu, 26 Jul 2018 09:57:02 +0000 Original-Received: (at 32252) by debbugs.gnu.org; 26 Jul 2018 09:56:22 +0000 Original-Received: from localhost ([127.0.0.1]:58359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fid0Q-0005oD-GR for submit@debbugs.gnu.org; Thu, 26 Jul 2018 05:56:22 -0400 Original-Received: from mail-wm0-f49.google.com ([74.125.82.49]:51810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fid0P-0005o0-AL for 32252@debbugs.gnu.org; Thu, 26 Jul 2018 05:56:21 -0400 Original-Received: by mail-wm0-f49.google.com with SMTP id y2-v6so1349932wma.1 for <32252@debbugs.gnu.org>; Thu, 26 Jul 2018 02:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yHyE21uRk4ipKpPjPeVmt3tOUL/uVnQ7Kf3tNv333Lc=; b=D5OVZ81JSzPESCh8XtQxyAAjKWL/0jklwl/79YzoyXD0DOi7X2tFq5pQPrte/L616s xzbORDoeDP7EtyXDrvcQPPZ/qAixnlIGB/NscdMLcy+B6krrfPQ7rKlUeDuZMo4AGZRv f3dJPVVzdjIC3vWfTPl4+5JkIcHAPJRGDuXs8crqxvObrYABhln6NG0c2UIdfc8TzCJr U/Vd2lwNQompIkhWsgWSdAPLtFHPfNNDjA3u2Ekj3V30FYrxMo3cvIau/XNsxSV/EgO2 Lnr5jXOu/MzwbV4Of1evi+QJqhBakLuqtA3eg5FtfeWXwzL43IPO4JSFaRpVOsWOiLWp BA9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yHyE21uRk4ipKpPjPeVmt3tOUL/uVnQ7Kf3tNv333Lc=; b=RGcFti7wuCB1YrGMAwCSAh099oTvyvCTrY4aYRA1o/lzztObJp73J3yt61SGhARf0a a/Pqe7YYxSCq5i/+tbpKpqg/mJmhdJy1hstWnkEe8nkMgpZXEcKVIp+Ti3BoWurKszrl 10uViwcRe8DdibsZcNKzys87xo6SlwhqFGdsKOMfhODBldP3AopXnQmsvCiwcYCsaDAK Sn1OEyzf3W+5pu/3ITKvyimp1nqbZ8yhwQLHk5Rfs2veHbwJewloIZzGxcx8IhiSvURW 2SItr8+JYyw02Xz8hrsJ/21/ttCOBODlu4ff6WJv4uaqbkCH+ZeQPttfDJzoGD/SKug1 5PSw== X-Gm-Message-State: AOUpUlGJj+Dl7/DoWwda/jhtqRI1xxFcXlb9WSwisBdyxDJJVb77NNgB pZMDwr0DgZZWwtQWv8sbN2K9+G3D X-Google-Smtp-Source: AAOMgpeqUD2yg1yC8rD4axyvKyrFo/58TOnQ/O5LKNUT0mfvMrcT4au0e3UWiCh2Ps9/apcLlD6NJg== X-Received: by 2002:a1c:2208:: with SMTP id i8-v6mr1026119wmi.105.1532598975378; Thu, 26 Jul 2018 02:56:15 -0700 (PDT) Original-Received: from caladan ([37.186.181.82]) by smtp.gmail.com with ESMTPSA id m207-v6sm1291113wma.31.2018.07.26.02.56.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jul 2018 02:56:14 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Thu, 26 Jul 2018 11:31:13 +0200") X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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:148960 Archived-At: On Thu, Jul 26 2018, Andreas Schwab wrote: > On Jul 26 2018, Helmut Eller wrote: > >> Because Emacs Lisp was very successful without bignums. > > The lack of bignums requires workarounds like the first two elements of > (current-time) or the 11th and 12th element of (file-attributes). Yes, that's one of the few places where bignums would be useful. But having a time data-type, maybe just a struct and functions like time-add etc, would also be good solution. How often does one need to print a time value in hex notation? Probably so rareley that format-time-string doesn't even support that. Helmut