all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Remco van 't Veer <remco@remworks.net>
Cc: 9009@debbugs.gnu.org
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	[thread overview]
Message-ID: <m34o2z75tq.fsf@quimbies.gnus.org> (raw)
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")

Remco van 't Veer <remco@remworks.net> 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/





  reply	other threads:[~2011-07-06 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 12:22 bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9 Remco van 't Veer
2011-07-06 16:05 ` Lars Magne Ingebrigtsen [this message]
2011-07-06 16:29   ` Remco van 't Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34o2z75tq.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=9009@debbugs.gnu.org \
    --cc=remco@remworks.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.