From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: handa Newsgroups: gmane.emacs.devel Subject: Re: Mysterious use of string-as-multibyte Date: Wed, 17 Jan 2018 21:32:54 +0900 Message-ID: <87mv1cmzrd.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516192412 31110 195.159.176.226 (17 Jan 2018 12:33:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2018 12:33:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 17 13:33:28 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 1ebmu6-00071Z-2n for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2018 13:33:18 +0100 Original-Received: from localhost ([::1]:60546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebmw1-0004e8-11 for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2018 07:35:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebmu4-0003wj-Ng for emacs-devel@gnu.org; Wed, 17 Jan 2018 07:33:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebmu0-0004NL-1L for emacs-devel@gnu.org; Wed, 17 Jan 2018 07:33:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebmtp-0004Fv-0s; Wed, 17 Jan 2018 07:33:01 -0500 Original-Received: from fl1-125-192-56-244.iba.mesh.ad.jp ([125.192.56.244]:49942 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ebmto-0008UU-I1; Wed, 17 Jan 2018 07:33:00 -0500 Original-Received: from handa by shatin with local (Exim 4.86_2) (envelope-from ) id 1ebmti-00032E-U0; Wed, 17 Jan 2018 21:32:55 +0900 In-Reply-To: (message from Stefan Monnier on Mon, 15 Jan 2018 16:39:38 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:222041 Archived-At: In article , Stefan Monnier writes: > > 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, Ah, that's good. > so I dropped the string-as-multibyte. Thank you. --- K. Handa handa@gnu.org