From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: byte-to-string Date: Sat, 20 Nov 2010 21:12:55 +0100 (CET) Message-ID: <20101120.211255.189754239357276750.hanche@math.ntnu.no> References: <87oc9jepw1.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290283996 8866 80.91.229.12 (20 Nov 2010 20:13:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Nov 2010 20:13:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 20 21:13:12 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJto7-0006K7-Jf for ged-emacs-devel@m.gmane.org; Sat, 20 Nov 2010 21:13:11 +0100 Original-Received: from localhost ([127.0.0.1]:51720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJto6-00087x-Ju for ged-emacs-devel@m.gmane.org; Sat, 20 Nov 2010 15:13:10 -0500 Original-Received: from [140.186.70.92] (port=48604 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJto1-00087r-Jl for emacs-devel@gnu.org; Sat, 20 Nov 2010 15:13:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJto0-0008Oy-DB for emacs-devel@gnu.org; Sat, 20 Nov 2010 15:13:05 -0500 Original-Received: from anne.math.ntnu.no ([129.241.15.150]:53974) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PJtnv-0008O0-L7 for emacs-devel@gnu.org; Sat, 20 Nov 2010 15:13:04 -0500 Original-Received: (qmail 13809 invoked from network); 20 Nov 2010 20:12:55 -0000 Original-Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.102) by anne.math.ntnu.no with ESMTPA; 20 Nov 2010 20:12:55 -0000 In-Reply-To: <87oc9jepw1.fsf@stupidchicken.com> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 7.0.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132933 Archived-At: + Chong Yidong : > 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