From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte buffer Date: Tue, 28 May 2019 07:53:21 -0400 Message-ID: References: <20190525191039.14136.23307@vcs0.savannah.gnu.org> <20190525191040.CCD6C207F5@vcs0.savannah.gnu.org> <83v9xv2649.fsf@gnu.org> <83imtv1fbf.fsf@gnu.org> <7F0B61E6-C0CA-449B-B432-095569589168@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="185413"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 28 13:53:42 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVafk-000m5t-Sz for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 13:53:41 +0200 Original-Received: from localhost ([127.0.0.1]:33095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVafj-0002pT-QP for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 07:53:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVafd-0002pD-Pw for emacs-devel@gnu.org; Tue, 28 May 2019 07:53:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVafc-0003Av-TK for emacs-devel@gnu.org; Tue, 28 May 2019 07:53:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19267) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVafc-0003A6-O3 for emacs-devel@gnu.org; Tue, 28 May 2019 07:53:32 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 21339442CC5; Tue, 28 May 2019 07:53:28 -0400 (EDT) Original-Received: from mail02.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EF981442CC3; Tue, 28 May 2019 07:53:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1559044403; bh=er2ll/+smMzGabnUoticnxKbt6jZtvpM9rEUHWNrer8=; h=From:To:Subject:References:Date:In-Reply-To:From; b=QUvORSeHusSd118czx40qRd0M0qSg2gfnnX4gUcMyDoAFH40+NKADypPO2prLpkjr QAbrZlhKW2p3S48wKlSBEUBkKTRW0a9woHq0Y8Otlbuv6ksWgUXbTNe8b4w3H1PPNx vZmVw2G4uZZQVHig52xYDl+gEm0wuwq2iWhY3V9r/IBZVVJmnMI0eyJzC7scwEKx+C QIKfrjyTvrOpyycbaESlcLSNOwRdYBFzhDydQLKMDJGL4U5Qil0skSJl1x2Qmy6rzR bINO/2cxuLLceaN5indFjQINbYSmn2wGL8HktsKPqAjGWgJ/bfJ1g4zsXb85G9EGjn 0898vDGDxjLJw== Original-Received: from pastel (192-171-44-92.cpe.pppoe.ca [192.171.44.92]) by mail02.iro.umontreal.ca (Postfix) with ESMTPSA id C4E8B120B1A; Tue, 28 May 2019 07:53:22 -0400 (EDT) In-Reply-To: (Robert Pluim's message of "Tue, 28 May 2019 08:21:04 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237086 Archived-At: > Plus calling string-to-unibyte on a multi-byte string will signal an > error. Only if that string was not encoded. Which means it's good because it will tell you when you called encoded-string-description incorrectly rather than silently outputting garbage. Stefan