[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Warning and iso 8859-1 default?]
From: |
Eli Zaretskii |
Subject: |
Re: [Warning and iso 8859-1 default?] |
Date: |
Sat, 20 Jul 2019 19:46:02 +0300 |
> From: Uwe Brauer <address@hidden>
> Cc: Uwe Brauer <address@hidden>, address@hidden
> Date: Sat, 20 Jul 2019 19:17:36 +0300
>
> > set-coding-system-priority (but you really should learn to read the
> > manual, so you could answer these questions yourself).
>
> This is what I thought but it is not an interactive function. I thought
> I could do it via customize, but I cannot.
> This is the documentation
> ,----
> |
> | set-coding-system-priority is a built-in function in ‘C source code’.
> |
> | (set-coding-system-priority &rest coding-systems)
> |
> | Assign higher priority to the coding systems given as arguments.
> | If multiple coding systems belong to the same category,
> | all but the first one are ignored.
> `----
>
> And this
> (set-coding-system-priority (utf-8 iso-2022-7bit iso-latin-1
> iso-2022-7bit-lock iso-2022-8bit-ss2 emacs-mule raw-text iso-2022-jp
> in-is13194-devanagari chinese-iso-8bit utf-8-auto utf-8-with-signature))
>
> (set-coding-system-priority '(utf-8 iso-2022-7bit iso-latin-1
> iso-2022-7bit-lock iso-2022-8bit-ss2 emacs-mule raw-text iso-2022-jp
> in-is13194-devanagari chinese-iso-8bit utf-8-auto utf-8-with-signature))
The docs says
(set-coding-system-priority &rest coding-systems)
Assign higher priority to the coding systems given as arguments.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So you should call the function with coding-systems, not with a list
of coding-systems:
(set-coding-system-priority 'utf-8 'iso-2022-7bit 'iso-latin-1
'iso-2022-7bit-lock 'iso-2022-8bit-ss2 'emacs-mule 'raw-text 'iso-2022-jp
'in-is13194-devanagari 'chinese-iso-8bit 'utf-8-auto 'utf-8-with-signature)
And be sure to read this part:
If multiple coding systems belong to the same category,
all but the first one are ignored.
- Re: problem with old hebrew latex files in iso 8859-8 coding, (continued)
- Re: problem with old hebrew latex files in iso 8859-8 coding, Uwe Brauer, 2019/07/18
- Re: problem with old hebrew latex files in iso 8859-8 coding, Eli Zaretskii, 2019/07/18
- Re: problem with old hebrew latex files in iso 8859-8 coding, Eli Zaretskii, 2019/07/18
- [Warning and iso 8859-1 default?] (was: problem with old hebrew latex files in iso 8859-8 coding), Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?] (was: problem with old hebrew latex files in iso 8859-8 coding), Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?],
Eli Zaretskii <=
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Stefan Monnier, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Stefan Monnier, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Uwe Brauer, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Stefan Monnier, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Stefan Monnier, 2019/07/20
- Re: [Warning and iso 8859-1 default?], Eli Zaretskii, 2019/07/20