[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Peter Dyballa] Re: Coding system of file not recognised correctly
From: |
Chong Yidong |
Subject: |
Re: [Peter Dyballa] Re: Coding system of file not recognised correctly |
Date: |
Thu, 12 Oct 2006 13:09:21 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> From what I understand, what he really says is that those files behave
> differently if they're not byte-compiled (e.g. if he copies the .el file
> earlier in his load-path, but not if he also copies the .elc file with it).
I think this patch fixes the problem. I'll commit it soon if there
are no objections.
*** emacs/lisp/international/utf-8.el.~1.50.~ 2005-10-13 01:39:31.000000000
-0400
--- emacs/lisp/international/utf-8.el 2006-10-12 13:07:22.000000000 -0400
***************
*** 309,315 ****
;; Here we bind coding-system-for-read to nil so that coding tags
;; in the files are respected even if the files are not yet
;; byte-compiled
! (let ((coding-system-for-read nil))
(cond ((string= "Korean" current-language-environment)
(load "subst-jis")
(load "subst-big5")
--- 309,318 ----
;; Here we bind coding-system-for-read to nil so that coding tags
;; in the files are respected even if the files are not yet
;; byte-compiled
! (let ((coding-system-for-read nil)
! ;; We must avoid clobbering this variable, in case the load
! ;; files below use different coding systems.
! (last-coding-system-used last-coding-system-used))
(cond ((string= "Korean" current-language-environment)
(load "subst-jis")
(load "subst-big5")
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, (continued)
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Jason Rumney, 2006/10/07
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/08
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Chong Yidong, 2006/10/09
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Richard Stallman, 2006/10/11
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/11
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Chong Yidong, 2006/10/11
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/11
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Richard Stallman, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Stefan Monnier, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Chong Yidong, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly,
Chong Yidong <=
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Kenichi Handa, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Chong Yidong, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Richard Stallman, 2006/10/12
- Re: [Peter Dyballa] Re: Coding system of file not recognised correctly, Peter Dyballa, 2006/10/12