[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default coding system when saving
From: |
Kenichi Handa |
Subject: |
Re: default coding system when saving |
Date: |
Sat, 22 Mar 2003 10:21:54 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Alex Schroeder <address@hidden> writes:
> I am using a CVS Emacs a few days old.
> I use Latin-1 in my LANG.
> I edit a Latin-1 file.
> I save it.
> Sometimes, Emacs complains:
> These default coding systems were tried to encode text
> in the buffer `w3mtmp513-0':
> iso-8859-1-unix
> However, each of them encountered these problematic characters:
> iso-8859-1-unix: ' '
It seems that I made some mistake when I installed this change.
2003-03-18 Kenichi Handa <address@hidden>
* coding.c (Vchar_coding_system_table): Remove this variable.
(Vcoding_system_safe_chars): New variable.
(intersection): Remove this function.
(find_safe_codings): Don't use Vchar_coding_system_table, but try
all codings in SAFE_CODINGS.
(Ffind_coding_systems_region_internal): Adjusted for the change of
find_safe_codings. Get generic coding systems from
Vcoding_system_safe_chars.
(Fdefine_coding_system_internal): New function.
(syms_of_coding): Defsubr Sdefine_coding_system_internal.
Initialize and staticpro Vcoding_system_safe_chars.
Please send me the file (in base64 or uuencode) that causes
the above problem. I'll debug it.
---
Ken'ichi HANDA
address@hidden