From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25645: 26.0.50; message.el: Fcc+handler results in write coding issues in emacs 26 Date: Tue, 07 Feb 2017 19:19:55 +0200 Message-ID: <83lgth6hqc.fsf@gnu.org> References: <871svax7fy.fsf@wavexx.thregr.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486488161 3463 195.159.176.226 (7 Feb 2017 17:22:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2017 17:22:41 +0000 (UTC) Cc: 25645@debbugs.gnu.org To: Yuri D'Elia Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 18:22:32 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cb9TK-0000Oj-EF for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 18:22:30 +0100 Original-Received: from localhost ([::1]:55594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb9TQ-0001jT-4D for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 12:22:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb9Rz-0000aV-Pr for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 12:21:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb9Ru-0001is-FU for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 12:21:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32785) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb9Ru-0001im-Cr for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 12:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cb9Ru-0004e6-87 for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 12:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2017 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25645 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25645-submit@debbugs.gnu.org id=B25645.148648800717770 (code B ref 25645); Tue, 07 Feb 2017 17:21:02 +0000 Original-Received: (at 25645) by debbugs.gnu.org; 7 Feb 2017 17:20:07 +0000 Original-Received: from localhost ([127.0.0.1]:59217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb9R1-0004cY-Jj for submit@debbugs.gnu.org; Tue, 07 Feb 2017 12:20:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb9R0-0004bt-FS for 25645@debbugs.gnu.org; Tue, 07 Feb 2017 12:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb9Qs-0000aF-14 for 25645@debbugs.gnu.org; Tue, 07 Feb 2017 12:20:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb9Qr-0000aB-Tk; Tue, 07 Feb 2017 12:19:57 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1892 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cb9Qq-0006Xl-I7; Tue, 07 Feb 2017 12:19:57 -0500 In-reply-to: <871svax7fy.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Tue, 07 Feb 2017 18:00:01 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129086 Archived-At: > From: Yuri D'Elia > Date: Tue, 07 Feb 2017 18:00:01 +0100 > > Somehow when the mail is encoded in quoted printable with an utf-8 > charset, the buffer seem to contain raw bytes as if the buffer has > an incorrect buffer-file-coding-system. Buffer contents is entirely unrelated to the value of buffer-file-coding-system. The latter only determines how to encode the buffer contents when writing it to a file or sending it to another process or network connection. If you get raw bytes in the buffer, the culprit is in the code which inserted those bytes, or read them from some file. > When 'write-file is issued, emacs prompts for a coding system, which is > unexpected. This is expected when there are raw bytes in the buffer. The problem is elsewhere.