From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte buffer Date: Tue, 28 May 2019 17:11:22 +0200 Message-ID: References: <20190525191039.14136.23307@vcs0.savannah.gnu.org> <20190525191040.CCD6C207F5@vcs0.savannah.gnu.org> <83zhn726mr.fsf@gnu.org> <83ftoz1f0l.fsf@gnu.org> <8336ky1v6s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="48475"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 28 17:12:36 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 1hVdmF-000CVR-Sz for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 17:12:36 +0200 Original-Received: from localhost ([127.0.0.1]:36538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdmE-0002e5-PW for ged-emacs-devel@m.gmane.org; Tue, 28 May 2019 11:12:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVdlJ-0002cy-Nm for emacs-devel@gnu.org; Tue, 28 May 2019 11:11:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVdlH-0000Hp-Me for emacs-devel@gnu.org; Tue, 28 May 2019 11:11:37 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:41115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVdlF-0000AQ-Pr; Tue, 28 May 2019 11:11:35 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id m4so32268407edd.8; Tue, 28 May 2019 08:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=mkS0OizGayk4WmbkbTQYJFTsFBmTLXG/2f22bZfXzQQ=; b=MOZIQ7MSYE1oUelTtIKRMWjVvj+lMKVWETy65VEuNLpMlBQwsDYCf0JlAQ9j9li50L 2AGOJTAP2Nf9us1Agend4kYbYQB/zoZYM2JsDr6lzwQrUh/gbLKrXAhYY/UGNfP7yuHI X4bPpBCgTSExNk3j/h2Ijxomp1E+jSu3EPaIGPmwSaRik70KyUCnLZkrYkeBqj6k4YYU jgTyAMy42d8NaYerxuRphvHKC9cZe0otIG9z5xa+q2VNSDMXBmIJDmRR604GrIYv7di7 /XbSzffqdBtGQwScomJfykC7YP7OIy5cl4hqNYovi3u2FzkcTGsojKb2/pY9+CMRN8+q 3MTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=mkS0OizGayk4WmbkbTQYJFTsFBmTLXG/2f22bZfXzQQ=; b=Obmb1GsgnWHJSQcj+Wnz9uWfktM1DRuAtYu9DqzybINUKDcsq5PZuiYaZEt5BO+5Eo 9O4Whse3+jWROorXYq3nsGs/rAL4MNqiFon/uPWxG0LSjpjqQHnK6G3HIQYP1yupyEs9 dWKiiC8NMWDyuhX1WlvQ7tMZWa1KC8ytttlK8FIG9gw/MjSKEKJDQrrsuakgrKEBqfSf kTSmx5Hh7gkSfPAQx0WVJd+T289jjRVhLNFdJmZzIvMfDtVKjv3EWneZcMXzak/ZkKWc nEJKWgQwjFdT49HCpYYOc/nZF5TBYpq90RvyUZxJtGwxXGDXqxJ4awG9Pvk0iTjcG4/D 2DKA== X-Gm-Message-State: APjAAAWYq1e5ySDrFGV2RghSAUkiCm1PUbgE1BDzkvhg+KghfCWpbk9q 5UFW6b7JH+omr9Saghj+AqSDJU6r X-Google-Smtp-Source: APXvYqwiQl3dlCJCUdzAO8qtIFJ9MIVlZl2Mbk1AbCSizGylnvjKFfTg1h+sq1jRXFePGcR0Zs7xWA== X-Received: by 2002:a17:906:a307:: with SMTP id j7mr9363682ejz.288.1559056285002; Tue, 28 May 2019 08:11:25 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id s23sm4405841edb.12.2019.05.28.08.11.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 08:11:23 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <8336ky1v6s.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 May 2019 17:59:39 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::536 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:237106 Archived-At: >>>>> On Tue, 28 May 2019 17:59:39 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: rms@gnu.org, emacs-devel@gnu.org >> Date: Tue, 28 May 2019 09:06:37 +0200 >>=20 >> It=CA=BCs clear enough to me now. The only thing that trips me up is= this >> kind of phrase (from (info "(elisp)Coding System Basics") >>=20 >> When you use =E2=80=98raw-text=E2=80=99 to encode multibyte text, it= does perform >> one character code conversion: it converts eight-bit characters to >> their single-byte external representation. >>=20 >> because I always forget that eight-bit characters have a multi-byte >> representation in the emacs-internal coding system. Eli> So why does that trip you? It reminds you what you tend to forget= , so Eli> it's a good documentation, right? It=CA=BCs just a moment of cognitive dissonance: "why does it convert eight-bit characters? They're one byte in size! Oh actually they're not". So yes, in that sense it=CA=BCs good, it prevents the propagation of my misconception. Robert