From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#34792: 27.0.50; format %x and %X don't print as unsigned Date: Fri, 8 Mar 2019 17:58:19 -0700 Message-ID: <79489389-7B99-4F84-BC48-3AF622B8EF26@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83024"; mail-complaints-to="usenet@blaine.gmane.org" To: 34792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 09 01:59:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2QKW-000LV2-7H for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Mar 2019 01:59:12 +0100 Original-Received: from localhost ([127.0.0.1]:52194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2QKV-0000YB-8g for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Mar 2019 19:59:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2QKN-0000X5-3V for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:59:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2QKM-0003ir-9h for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2QKM-0003ih-5T for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h2QKM-0005kz-3D for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2019 00:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34792 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155209312222101 (code B ref -1); Sat, 09 Mar 2019 00:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Mar 2019 00:58:42 +0000 Original-Received: from localhost ([127.0.0.1]:36857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2QK2-0005kP-12 for submit@debbugs.gnu.org; Fri, 08 Mar 2019 19:58:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h2QJz-0005kB-LG for submit@debbugs.gnu.org; Fri, 08 Mar 2019 19:58:39 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2QJu-0003Qs-9P for submit@debbugs.gnu.org; Fri, 08 Mar 2019 19:58:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2QJt-0000Af-Co for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:58:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2QJs-0003P9-HW for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:58:33 -0500 Original-Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:46085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2QJs-0003Jy-9B for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2019 19:58:32 -0500 Original-Received: by mail-io1-xd2c.google.com with SMTP id k21so18262318ior.13 for ; Fri, 08 Mar 2019 16:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=MrpfVv8+nMMMiv/R79zNWueGDcp9XJPQ+GjOrTkZM50=; b=iqJCxo7IinT1+jWFH5DNxNonunoWdEldAZF+Ohm7W4u4Fl21Kx/2z3YA3tDXCfrYmm L4rsHGyk0UBnBGs5Ocu7j918Xc6bSle6IBV6dWwzfb8uAEaxZwS3JzZfMsUOXqCg1jmC adUiKz7TeUa8AKJoXMp8ol+e00uSJ6lPMrcbN8nmXO9pWLhBwf7lIl0LRj/02Bwr1AW8 kK/6e0ep5CP1ffz6TyZNAphmLciFHaNki+/XswwU6yRryJ4rU0MQoTpaNrXG2AMCfdH5 ZHjQZ/c+Zfs5WqmgEO5eWmch9YvKcMHrfzIHdazO6qv3fdw7T4lYVMPjBP/ZNGJL32sV INDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=MrpfVv8+nMMMiv/R79zNWueGDcp9XJPQ+GjOrTkZM50=; b=sing/FAUa13z5THg5X67nQQMOIfAy8H4PjYlk9s10g7Bj2110QTjw6lCNC6DxIxp7B BY+dcXoXAPQm3ps7lwyRJuSI2+s+8PPvr1CbXEOcgcP7cV9bo80inuFCDc5PEJBHs60a XXo3tdYhqD18tqzbLlEDqKMSNSs2aapOlSJ/2xtnb4kKDuerbx8OvmK3BBWY+2KWFfK3 gUAH2GSVyOUxn/4Z31NAwQfci2AA8Bqpfdodz53GLULBFd/CkdzmxWkP3Rp1HMD//1cd c+KBQwvI+I0u8zaGK07Xisut1tfB93wDaAuznxnPF+FQLUxuHO2kPzeM/iOFQfPLGgFV GlRw== X-Gm-Message-State: APjAAAV2A+D9qTB0Y4p/hxDeD06iZuW9rvK64BvlKzOZmv3BhEas0bil C8IRVPbaYKzPaTiB7PrPgd9L2eUK X-Google-Smtp-Source: APXvYqz5/eOCYvLz/aTUHxr1GYh3Kwg8jc/9CXlqFG2jue+BKpAk6e7DymY6c1QpI21XbgAHp+KL3A== X-Received: by 2002:a6b:5d17:: with SMTP id r23mr481876iob.295.1552093103354; Fri, 08 Mar 2019 16:58:23 -0800 (PST) Original-Received: from [192.168.0.4] (174-23-196-245.slkc.qwest.net. [174.23.196.245]) by smtp.gmail.com with ESMTPSA id j17sm3638766ioa.82.2019.03.08.16.58.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 16:58:22 -0800 (PST) X-Mailer: Apple Mail (2.3445.102.3) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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:156175 Archived-At: The following snippets return strings with negative signs, but the docstring of format says they should be unsigned. I get the same results from emacs -Q as well (format "%s_%X%X" "bob" (random) (random)) ;; "bob_143E5019B284E085-3D71BF28F82AFD0" (format "%s_%x%x" "bob" (random) (random)) ;; "bob_114d97ac7a6b2a84-15fcceadc374b70e" -Ivan In GNU Emacs 27.0.50 (build 7, x86_64-apple-darwin18.2.0, NS = appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-03-08 built on iandrus-macOS Repository revision: dd77d672d8a9529ce8d4a0649be1b44bbd1a03b1 Repository branch: master Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14.3 Recent messages: Mark set Occurrence 1/2 in buffer find-function-library: Symbol=E2=80=99s function definition is void: ## = [2 times] C-h C-u is undefined Mark saved where search started Mark set [2 times] "bob_-3D1C1371061ABEA-1D876D356D7D25DF" Saving file /Users/iandrus/.emacs.d/init.el... Wrote /Users/iandrus/.emacs.d/init.el Undo! [2 times] Configured using: 'configure = PKG_CONFIG_PATH=3D/opt/X11/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgcon= fig --with-sound=3Dyes --with-ns --with-modules --with-file-notification=3Dyes= --enable-gcc-warnings=3Dwarn-only --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-xml2 --with-imagemagick --with-json --with-xft --with-libotf --with-gnutls=3Dno --with-makeinfo --with-libgmp' Configured features: RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS PDUMPER GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp:Dyn