From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: byte-to-string Date: Sun, 21 Nov 2010 12:28:01 -0500 Message-ID: References: <87oc9jepw1.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290360512 12957 80.91.229.12 (21 Nov 2010 17:28:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 17:28:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 18:28:28 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 1PKDiG-0003sM-C1 for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 18:28:28 +0100 Original-Received: from localhost ([127.0.0.1]:46658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKDiF-00011J-Tn for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 12:28:27 -0500 Original-Received: from [140.186.70.92] (port=59491 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKDiB-00011E-J1 for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:28:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKDiA-00026o-IA for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:28:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:25945 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKDiA-00026k-EL for emacs-devel@gnu.org; Sun, 21 Nov 2010 12:28:22 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4HABTm6ExMCqtq/2dsb2JhbAChW31yvA6FSwSEWo1p X-IronPort-AV: E=Sophos;i="4.59,232,1288584000"; d="scan'208";a="83139086" Original-Received: from 76-10-171-106.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.106]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Nov 2010 12:28:01 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7D874660F5; Sun, 21 Nov 2010 12:28:01 -0500 (EST) In-Reply-To: <87oc9jepw1.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 20 Nov 2010 14:50:06 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132968 Archived-At: > What's the purpose of the new byte-to-string function? I'm trying to > document it, but the docstring is uninformative about what it can be > used for. IIUC it's the equivalent of unibyte-string (i.e. it interprets its 128-255 arguments as bytes rather than latin-1 chars). > Also, if the integer argument is supposed to be a byte, shouldn't it be > error to give it something larger than 255? I think so, yes. Stefan