|
From: | Peter Dyballa |
Subject: | Re: Coding system of file not recognised correctly |
Date: | Wed, 4 Oct 2006 15:30:32 +0200 |
Am 04.10.2006 um 14:11 schrieb Kenichi Handa:
In article <address@hidden>, Peter Dyballa <address@hidden> writes:I'm confused with your wording. What do you mean by "(when second file)" and "The next file" in the first paragraph. And, it's quite strange that some file is detected as some Japanese coding system in you locale. Please show me all the files you used in the above test, and show me what you actually typed (e.g. "C-x C-f SOME_FILE_NAME RET") along time line.
From outside $HOME: C-x C-f C-a <right> <right> C-k I S O - <tab> u t f 8 . <tab> <return> C-x C-f u t f 8 _ <tab> <return><escape> x v i e w - l o <tab> <return> => ~/ISO-Tests/utf8.txt + ~/ ISO-Tests/utf8_txt
C-x C-f C-a <right> <right> C-k I S O - <tab> u t f 8 _ <tab> <return> C-x C-f u t f 8 . <tab> <return><escape> x v i e w - l o <tab> <return> => ~/ISO-Tests/utf8_txt + ~/ ISO-Tests/utf8.txt
From $HOME: <down-mouse-1> <mouse-1> C-x C-f I S O - T <tab> u t f 8 _ <tab> <return> C-x C-f u t f 8 . <tab> <return><escape> x v i e w - l o <tab> <return> => ~/ISO-Tests/utf8_txt + ~/ ISO-Tests/utf8.txt
<down-mouse-1> <mouse-1> C-x C-f I S O - T <tab> u t f 8 <help-echo> . <tab> <return> C-x C-f u t f 8 _ <tab> <return> <escape> x v i e w - l o <tab> <r eturn> => ~/ISO-Tests/utf8.txt + ~/ISO-Tests/utf8_txtIn all these cases first file had -E and second file had -u as start of mode-line. It's the same behaviour when I launch GNU Emacs 22.0.50 from Apple Terminal or from *shell* buffers in GNU Emacsen 22.0.50 or 23.0.0.
The behaviour *is* different (it behaves correctly) when I launch the test Emacs from Carbon Emacs 22.0.50 (Japanese Carbon Emacs Package): here all two files open correctly with -u in the mode-line. The reason can be that Carbon Emacs' *shell* buffer has some extra environment variables set:
pete 125 /\ diff env.22 env.Carbon 8c9,12 < EMACS=/usr/local/bin/emacs-22.0.50 --- > EMACS=/Applications/EmacsJCVS.app/Contents/MacOS/Emacs > EMACSDATA=/Applications/EmacsJCVS.app/Contents/Resources/etc > EMACSDOC=/Applications/EmacsJCVS.app/Contents/Resources/etc> EMACSLOADPATH=/Applications/EmacsJCVS.app/Contents/Resources/lisp:/ Applications/EmacsJCVS.app/Contents/Resources/leim:/Applications/ EmacsJCVS.app/Contents/Resources/site-lisp
9a14> EMACSPATH=/Applications/EmacsJCVS.app/Contents/MacOS/libexec:/ Applications/EmacsJCVS.app/Contents/MacOS/bin
Here are my (as)sorted environments:
env.22
Description: Binary data
env.23
Description: Binary data
env.Carbon
Description: Binary data
env.Term
Description: Binary data
-- Greetings Pete The problem with the French is that they don't have a word for «entrepreneur». - George W. Bush
[Prev in Thread] | Current Thread | [Next in Thread] |