From: Stefan <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: revert-buffer and changes in encoding
Date: Sat, 01 Jan 2005 16:28:55 -0500 [thread overview]
Message-ID: <m1pt0o4z9m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200412302352.IAA00037@etlken.m17n.org> (Kenichi Handa's message of "Fri, 31 Dec 2004 08:52:40 +0900 (JST)")
>> Is that right? Wouldn't that get automatically-chosen coding systems
>> as well as explicit user-specified coding systems?
> Yes. But, whatever coding system is used for writing a
> file, revert-buffer should read the file with the same
> coding system.
But then the name you chose is wrong. If the name is "foobar-explicit" it
should only be non-nil if foobar was set explicitly, not automatically.
Knowing when buffer-file-coding-system was set explicitly is important also
in select-safe-coding-system (where it should not try any other cs, including
the preferred cs).
Stefan
next prev parent reply other threads:[~2005-01-01 21:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Cgi5j-0007hF-AI@fencepost.gnu.org>
2004-12-30 12:44 ` revert-buffer and changes in encoding Kenichi Handa
2004-12-30 20:59 ` Richard Stallman
2004-12-30 23:52 ` Kenichi Handa
2005-01-01 5:24 ` Richard Stallman
2005-01-01 21:28 ` Stefan [this message]
2005-01-05 1:18 ` Kenichi Handa
2005-01-05 1:34 ` Miles Bader
2005-01-05 4:23 ` Kenichi Handa
2005-01-05 20:07 ` Richard Stallman
2004-11-29 6:12 Richard Stallman
2005-05-17 14:02 ` Evil Boris
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1pt0o4z9m.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=rms@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).