From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 97934ff: Attach text files correctly in Message Date: Fri, 27 Jan 2017 12:32:01 +0100 Message-ID: <87d1f8wxfy.fsf@mouse> References: <20170125162832.21457.64236@vcs.savannah.gnu.org> <20170125162832.648B4220158@vcs.savannah.gnu.org> <83tw8l0wav.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485516818 26567 195.159.176.226 (27 Jan 2017 11:33:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2017 11:33:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Katsumi Yamaoka , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 12:33:34 2017 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 1cX4mX-00067h-Om for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 12:33:29 +0100 Original-Received: from localhost ([::1]:44558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX4mc-0004Nn-N3 for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 06:33:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX4lP-0004Lk-Ug for emacs-devel@gnu.org; Fri, 27 Jan 2017 06:32:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX4lL-0003km-Ot for emacs-devel@gnu.org; Fri, 27 Jan 2017 06:32:19 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cX4lL-0003k8-JH; Fri, 27 Jan 2017 06:32:15 -0500 Original-Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cX4lD-00048u-G7; Fri, 27 Jan 2017 12:32:11 +0100 In-Reply-To: <83tw8l0wav.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Jan 2017 09:57:44 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 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:211635 Archived-At: Eli Zaretskii writes: > When I read those changes, I actually wondered why it was necessary to > set the buffer unibyte. It shouldn't be needed with the current Emacs > codebase, inserting unibyte text into a multibyte buffer and then > decoding it should "just work". We want neither encoding nor decoding of octets from files in that part of the code, so unibyte buffers are the right thing to do in the "file" part of that code. Text from other buffers should be handled otherwise, though... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no