From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: emacs-devel@gnu.org
Subject: Re: byte-to-string
Date: Sat, 20 Nov 2010 21:12:55 +0100 (CET) [thread overview]
Message-ID: <20101120.211255.189754239357276750.hanche@math.ntnu.no> (raw)
In-Reply-To: <87oc9jepw1.fsf@stupidchicken.com>
+ Chong Yidong <cyd@stupidchicken.com>:
> Also, if the integer argument is supposed to be a byte, shouldn't it be
> error to give it something larger than 255? Instead the function
> returns something, but I have no idea what that string represents.
A bit of experimentation reveals that (byte-to-string n) returns the
same as (byte-to-string (mod n 256)). Maybe that is useful, I don't
know.
- Harald
next prev parent reply other threads:[~2010-11-20 20:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-20 19:50 byte-to-string Chong Yidong
2010-11-20 20:12 ` Harald Hanche-Olsen [this message]
2010-11-21 17:28 ` byte-to-string Stefan Monnier
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=20101120.211255.189754239357276750.hanche@math.ntnu.no \
--to=hanche@math.ntnu.no \
--cc=emacs-devel@gnu.org \
/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.