From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: Changes to message-mode and encoding in Emacs26 Date: Mon, 02 Oct 2017 09:36:07 +0100 Message-ID: <87a81alzew.fsf@linaro.org> References: <87tvzpcvsg.fsf@linaro.org> <8360c18wz3.fsf@gnu.org> <87k20h7fw9.fsf@gmail.com> <838tgx75yh.fsf@gnu.org> <87ing16i56.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506933406 29222 195.159.176.226 (2 Oct 2017 08:36:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 08:36:46 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.60 Cc: help-gnu-emacs@gnu.org To: Alexis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 02 10:36:42 2017 Return-path: Envelope-to: geh-help-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 1dywDQ-00078d-Mp for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 10:36:40 +0200 Original-Received: from localhost ([::1]:51176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dywDX-0003SF-Uq for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Oct 2017 04:36:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dywD1-0003Qu-UI for help-gnu-emacs@gnu.org; Mon, 02 Oct 2017 04:36:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dywCy-0004Jz-Ia for help-gnu-emacs@gnu.org; Mon, 02 Oct 2017 04:36:15 -0400 Original-Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:51523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dywCy-0004I9-CJ for help-gnu-emacs@gnu.org; Mon, 02 Oct 2017 04:36:12 -0400 Original-Received: by mail-wm0-x236.google.com with SMTP id f4so867725wme.0 for ; Mon, 02 Oct 2017 01:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=tWCtw2Ht8hGFKoxx0dtGJNNF+aKTmZiMvYZ2WbFKuBI=; b=CX7VsdvXy7Vlanor4uYXehsVDlUbSy4MjB2mxGqWIv9gTydVp1wTbjC6c1CuXPDrw0 GsMNe/jD992adBtZSQ+pSf8PxX29xEFTzF0LVX28e9L15uN8wAU1LmHhdG7QIkic35nv hDQN61pSgYHSCi9E+xbiy6n8yCiGeQIMfCcp8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=tWCtw2Ht8hGFKoxx0dtGJNNF+aKTmZiMvYZ2WbFKuBI=; b=S5woTFxjFa/ule7pVA5amhgIdq8PrU8yv/2Ln34DkpeP1Fakld6LplnA/LRPo1Dph2 o2ES8MohkzAAVmjnl3TX4x1Irexd3OfMYU3/yVHJ6pGWt1F9g641zkqvay1xWu1uPKNK cxdjigWFSsOQ21MRkVMzwo+1iUPqa+7xtw2oGthPZrTzq3zbuefm1TLW5GHrvR3vTROS ZxFV6/wu9nVVHIDYFNAck0ZqtJmP3bl8fQh51B+kcRfXlpX4PQXV+k69iU8Ys/ruug+D VAVjyr8GH+wl9Oh9s6XXN5F8kH8AGDuI6eBnSQr7BETACT9yJNz4+jG+aQbi0hWFOs9D GoYQ== X-Gm-Message-State: AHPjjUgvI4qsC+SHgfY09sbFRHLY12cGFer0HX3ceEBcdW55eSZR8j/p UrlqEG9B0YC1xTyxlsZ2NSwPYg== X-Google-Smtp-Source: AOwi7QDlpuLqfA9bnKFzf8zKdsFQVo5C2oLoSmTP+JkGvd06VbMX8QwndZnWq7QCTSTpiSGn0qow6A== X-Received: by 10.28.185.195 with SMTP id j186mr9716279wmf.97.1506933369084; Mon, 02 Oct 2017 01:36:09 -0700 (PDT) Original-Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i50sm10175840wrf.84.2017.10.02.01.36.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 01:36:08 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTPS id 8FD3A3E02A9; Mon, 2 Oct 2017 09:36:07 +0100 (BST) In-reply-to: <87ing16i56.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114497 Archived-At: Alexis writes: > Eli Zaretskii writes: > >> I'm confused: are you using mu4e or are you using Rmail? These are >> two different packages, and AFAIK they don't share any code. >> >> Also, bug#28266 explicitly says that the issue happens when >> sendmail.el is used as the MUA, which means it's not about >> message.el, >> a completely different MUA. >> >> So I think these are probably two different issues, although the >> result is similar. There are many ways to get raw bytes in Emacs >> when >> you want non-ASCII characters, and not all of them are due to the >> same >> bug... > > i use mu4e, not Rmail; i was addressing your earlier remark: > >> we have no similar issues reported by people who use the bundled MUA >> packages > > i thought that the fact that both an mu4e user (me) and an Rmail user > (Charles) are experiencing the same issue ("The encoding issue I > mentioned seems to only apply to the saving of the mail buffer into > the > file specified in the FCC header") /even though/ mu4e uses message.el > and Rmail doesn't, might indicate a common cause lying deeper in > Emacs' > internals. > > But if you think that this is just a coincidence of results, and that > there are actually two different issues in play, i'll certainly defer > to > your knowledge and experience. Hopefully next time the issue appears > for > me, i'll be able to narrow it down to a minimal working example. I haven't narrowed it down yet but is certainly during message-do-fcc. It's hard to tell because the work takes place in a temporary buffer but I'm currently looking at the code that does: (when file (with-temp-buffer (insert-buffer-substring buf) (message-clone-locals buf) (message-encode-message-body) And wondering how that might of changed. Any idea how to examine the current with-temp-buffer while stepping through in edebug? > > > Alexis. -- Alex Bennée