From: Kenichi Handa <handa@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 15535@debbugs.gnu.org, dgutov@yandex.ru
Subject: bug#15535: Acknowledgement (24.3.50; basic-save-buffer should update buffer-file-coding-system value if the contents were written using different coding system)
Date: Mon, 07 Oct 2013 23:59:25 +0900 [thread overview]
Message-ID: <87siwd9lf6.fsf@gnu.org> (raw)
In-Reply-To: <83vc1a5omh.fsf@gnu.org> (message from Eli Zaretskii on Sun, 06 Oct 2013 19:51:34 +0300)
In article <83vc1a5omh.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:
[...]
> You now have foo with `undecided' as its buffer-file-coding-system.
> Then:
> C-u C-\ cyrillic-translit RET
> abvgde
> C-\
> C-x C-s
> The file is saved (as UTF-8, as can be seen by examining it on disk),
> but without asking for encoding, and without changing
> buffer-file-coding-system to reflect the actual encoding.
> What happens is that `undecided' silently encodes the buffer in UTF-8,
> but never communicates that fact back to its callers. So write-region
> thinks it used `undecided', as does select-safe-coding-system. The
> latter is actually equipped to DTRT when the `prefer-utf-8' variant of
> `undecided' is used, but that is not the case here.
> Is this what was supposed to happen
No. I think the behavior of 24.3 is correct. So, some
change in trunk has a problem. But, as far as I remember I
have not touched any codes that relate to this misbehavior.
I'm now investigating what has been changed from 24.3.
---
Kenichi Handa
handa@gnu.org
next prev parent reply other threads:[~2013-10-07 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-05 22:44 bug#15535: 24.3.50; basic-save-buffer should update buffer-file-coding-system value if the contents were written using different coding system Dmitry Gutov
[not found] ` <handler.15535.B.138101307530740.ack@debbugs.gnu.org>
2013-10-05 23:09 ` bug#15535: Acknowledgement (24.3.50; basic-save-buffer should update buffer-file-coding-system value if the contents were written using different coding system) Dmitry Gutov
2013-10-06 16:51 ` Eli Zaretskii
2013-10-06 20:58 ` Dmitry Gutov
2013-10-07 2:52 ` Eli Zaretskii
2013-10-07 4:00 ` Dmitry Gutov
2013-10-07 14:59 ` Kenichi Handa [this message]
2013-10-13 12:06 ` Kenichi Handa
2013-10-13 16:48 ` Eli Zaretskii
2013-10-13 20:43 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87siwd9lf6.fsf@gnu.org \
--to=handa@gnu.org \
--cc=15535@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.