From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9 Date: Wed, 06 Jul 2011 18:05:21 +0200 Message-ID: References: <87sjqjzjhf.fsf@rempad.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309969992 11295 80.91.229.12 (6 Jul 2011 16:33:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 16:33:12 +0000 (UTC) Cc: 9009@debbugs.gnu.org To: Remco van 't Veer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 18:33:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeV27-00038l-Cw for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 18:33:03 +0200 Original-Received: from localhost ([::1]:40912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeV25-00044G-Sl for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 12:33:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUc5-0005p4-Mv for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 12:06:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeUbz-000377-5s for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 12:06:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUby-000370-Ur for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 12:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeUby-0003Lc-8H; Wed, 06 Jul 2011 12:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2011 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9009 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9009-submit@debbugs.gnu.org id=B9009.130996834512842 (code B ref 9009); Wed, 06 Jul 2011 16:06:02 +0000 Original-Received: (at 9009) by debbugs.gnu.org; 6 Jul 2011 16:05:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeUbg-0003L4-7m for submit@debbugs.gnu.org; Wed, 06 Jul 2011 12:05:44 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeUbe-0003Kr-Ar for 9009@debbugs.gnu.org; Wed, 06 Jul 2011 12:05:43 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QeUbR-0006HZ-LQ; Wed, 06 Jul 2011 18:05:29 +0200 In-Reply-To: <87sjqjzjhf.fsf@rempad.i-did-not-set--mail-host-address--so-tickle-me> (Remco van t. Veer's message of "Wed, 06 Jul 2011 14:22:52 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Various's _Delta Swamp Rock (2)_: "Travin Wammack - I Forgot To Remember To Forget" X-Hashcash: 1:23:110706:remco@remworks.net::kXAiQEiMmKbUgdxA:0000000000000000000000000000000000000000000INrI X-Hashcash: 1:23:110706:9009@debbugs.gnu.org::44YIdBjm0c/ytI30:00000000000000000000000000000000000000001ArQW X-MailScanner-ID: 1QeUbR-0006HZ-LQ MailScanner-NULL-Check: 1310573129.97169@aGQauZ/k5M4vFqvqkHjyow X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Jul 2011 12:06:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48084 Archived-At: Remco van 't Veer writes: > Here's an example: > > (format "%04x" 9) ; "0009" > (format "%04x" 10) ; " a" It works for me in Emacs 24: (format "%04x" 10) => "000a" -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/