unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: handa <handa@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Mysterious use of string-as-multibyte
Date: Mon, 15 Jan 2018 16:39:38 -0500	[thread overview]
Message-ID: <jwv8tcykdjw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87po6bmbov.fsf@gnu.org> (handa's message of "Mon, 15 Jan 2018 23:36:00 +0900")

> 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



  reply	other threads:[~2018-01-15 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 16:04 Mysterious use of string-as-multibyte Stefan Monnier
2018-01-15 14:36 ` handa
2018-01-15 21:39   ` Stefan Monnier [this message]
2018-01-17 12:32     ` handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8tcykdjw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=handa@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).