GNU bug report logs - #25645
26.0.50; message.el: Fcc+handler results in write coding issues in emacs 26

Previous Next

Package: emacs;

Reported by: Yuri D'Elia <wavexx <at> thregr.org>

Date: Tue, 7 Feb 2017 17:01:01 UTC

Severity: normal

Tags: unreproducible

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuri D'Elia <wavexx <at> thregr.org>
Cc: 25645 <at> debbugs.gnu.org
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
> From: Yuri D'Elia <wavexx <at> thregr.org>
> 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.




This bug report was last modified 7 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.