From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Mysterious use of string-as-multibyte Date: Mon, 15 Jan 2018 16:39:38 -0500 Message-ID: References: <87po6bmbov.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516052284 32555 195.159.176.226 (15 Jan 2018 21:38:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 21:38:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 22:38:00 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebCRy-0007Iu-Pn for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 22:37:50 +0100 Original-Received: from localhost ([::1]:36664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebCTw-0005MQ-RR for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 16:39:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebCTo-0005Kh-OQ for emacs-devel@gnu.org; Mon, 15 Jan 2018 16:39:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebCTn-00040G-U1 for emacs-devel@gnu.org; Mon, 15 Jan 2018 16:39:44 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:46468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebCTk-0003xg-Ak; Mon, 15 Jan 2018 16:39:40 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w0FLdcer001053; Mon, 15 Jan 2018 16:39:39 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id B1971662DF; Mon, 15 Jan 2018 16:39:38 -0500 (EST) In-Reply-To: <87po6bmbov.fsf@gnu.org> (handa's message of "Mon, 15 Jan 2018 23:36:00 +0900") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6200=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6200> : inlines <6315> : streams <1776154> : uri <2571459> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:221990 Archived-At: > I don't remember, sorry. By guessing from the code, that change is to > make DATA a multibyte string so that the encoding done by the following > process-send-string produces the correct byte sequence. Perhaps, the > change was done before the introduction of string-to-multibyte which is > more suitable for that purpose. Thanks. After verification, process-send-string will nowadays handle both kinds of strings in the same way, so I dropped the string-as-multibyte. Stefan