emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

default coding system when saving


From: Alex Schroeder
Subject: default coding system when saving
Date: Sat, 22 Mar 2003 02:11:29 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50

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: ' '
    The first problematic character is at point in the displayed buffer,
    and C-u C-x = will give information about it.

    Select one of the following safe coding systems, or edit the buffer:
      iso-8859-15 iso-8859-14 utf-8 mule-utf-16-be mule-utf-16-le
    Or specify any other coding system
    on your risk of losing the problematic characters.

This makes no sense, the space character cannot be at fault.
When I choose iso-8859-15 and save the buffer, the modeline indicates
this with a 0.  When I use find-alternate-file to find the file
again, the file is opened as Latin-1 again (this makes sense, it is
my preferred coding system).

How can I debug such a problem in the future?

Alex.




In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-03-16 on confusibombus
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.ISO-8859-1
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Recent input:
<C-up> <C-up> <return> <return> <up> ; ; ; S-SPC D 
<S-backspace> C <backspace> <backspace> C o d i n g 
S y s t e m s <return> <return> ( p r e f e r - c o 
d i n g <M-tab> SPC ' i s o - <C-tab> ) C-x C-e C-x 
C-s C-x C-b <down> <down> <return> SPC <backspace> 
<backspace> C-x C-s i s o <tab> 8 8 <tab> 1 <return> 
SPC <backspace> C-x C-s C-g q <escape> x r e p o r 
t - e m a c s - b u g <return>

Recent messages:
Mark saved where search started
Mark set
Loading dabbrev...done
(iso-latin-1 . iso-latin-1)
Saving file /home/alex/init/.emacs...
Wrote /home/alex/init/.emacs
Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.
Wrote /home/alex/.w3m/w3mtmp513-0
Quit
Loading emacsbug...done





reply via email to

[Prev in Thread] Current Thread [Next in Thread]