From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 97934ff: Attach text files correctly in Message Date: Fri, 27 Jan 2017 09:57:44 +0200 Message-ID: <83tw8l0wav.fsf@gnu.org> References: <20170125162832.21457.64236@vcs.savannah.gnu.org> <20170125162832.648B4220158@vcs.savannah.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1485503935 4990 195.159.176.226 (27 Jan 2017 07:58:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2017 07:58:55 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 08:58:50 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 1cX1QV-0007Yd-Kc for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 08:58:31 +0100 Original-Received: from localhost ([::1]:43259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1Qb-0003np-1S for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 02:58:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1Pz-0003nj-OM for emacs-devel@gnu.org; Fri, 27 Jan 2017 02:58:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX1Pw-00069Y-Pd for emacs-devel@gnu.org; Fri, 27 Jan 2017 02:57:59 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1Pw-00069R-Mc; Fri, 27 Jan 2017 02:57:56 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3961 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cX1Pv-0002Ck-Oh; Fri, 27 Jan 2017 02:57:56 -0500 In-reply-to: (message from Katsumi Yamaoka on Fri, 27 Jan 2017 11:48:30 +0900) 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:211633 Archived-At: > Date: Fri, 27 Jan 2017 11:48:30 +0900 > From: Katsumi Yamaoka > Cc: emacs-devel@gnu.org > > > --- a/lisp/gnus/mml.el > > +++ b/lisp/gnus/mml.el > [...] > > - (mm-with-multibyte-buffer > > + (with-temp-buffer > > + (set-buffer-multibyte nil) > > This breaks a message containing non-ASCII text to send; the > contents are inserted into that unibyte buffer. See the article > in the Emacs bug list (bug#25552). > Could you please fix it? 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".