aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-12-01 15:47:46 +0000
committerEli Zaretskii2000-12-01 15:47:46 +0000
commit7c94ccf681a78df1ca380dd85da49bfc51801e24 (patch)
treec874912747ed059dfcf3d40fbcda752012fb8caf
parent68875f0e7b0b8a883dcbcbc9ce18e9bb3dc63cee (diff)
downloademacs-7c94ccf681a78df1ca380dd85da49bfc51801e24.tar.gz
emacs-7c94ccf681a78df1ca380dd85da49bfc51801e24.zip
Explain why `no-conversion' is no longer appropriate for reading
files with MULE internal representation, such as auto-save files.
-rw-r--r--etc/NEWS17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 853fc9dea6a..35313740c89 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2002,6 +2002,23 @@ make a difference to some code.
2002** The new treatment of the minibuffer prompt might affect code which 2002** The new treatment of the minibuffer prompt might affect code which
2003operates on the minibuffer. 2003operates on the minibuffer.
2004 2004
2005** The new character sets `eight-bit-control' and `eight-bit-graphic'
2006cause `no-conversion' and `emacs-mule-unix' coding systems to produce
2007different results when reading files with non-ASCII characters
2008(previously, both coding systems would produce the same results).
2009Specifically, `no-conversion' interprets each 8-bit byte as a separate
2010character. This makes `no-conversion' inappropriate for reading
2011multibyte text, e.g. buffers written to disk in their internal MULE
2012encoding (auto-saving does that, for example). If a Lisp program
2013reads such files with `no-conversion', each byte of the multibyte
2014sequence, including the MULE leading codes such as \201, is treated as
2015a separate character, which prevents them from being interpreted in
2016the buffer as multibyte characters.
2017
2018Therefore, Lisp programs that read files which contain the internal
2019MULE encoding should use `emacs-mule-unix'. `no-conversion' is only
2020appropriate for reading truly binary files.
2021
2005 2022
2006* Lisp changes made after edition 2.6 of the Emacs Lisp Manual, 2023* Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
2007(Display-related features are described in a page of their own below.) 2024(Display-related features are described in a page of their own below.)