]> code.delx.au - gnu-emacs/blobdiff - lisp/international/mule-conf.el
(locale-language-names): Use "French" for "fr".
[gnu-emacs] / lisp / international / mule-conf.el
index 0f626720623ca0a9ef5968563bb356979caadae4..456f74a2089ce595bad3b5228a73c5d5937813ff 100644 (file)
   [2 94 2 0 ?O 0 "JISX0213-1" "JISX0213-1" "JISX0213 Plane 1 (Japanese)"])
 (define-charset 152 'chinese-big5-1
   [2 94 2 0 ?0 0 "Big5 (Level-1)" "Big5 (Level-1) A141-C67F"
-     "Frequentry used part (A141-C67F) of Big5 (Chinese traditional)"])
+     "Frequently used part (A141-C67F) of Big5 (Chinese traditional)"])
 (define-charset 153 'chinese-big5-2
   [2 94 2 0 ?1 0 "Big5 (Level-2)" "Big5 (Level-2) C940-FEFE"
-     "Less frequentry used part (C940-FEFE) of Big5 (Chinese traditional)"])
+     "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"])
 
 ;; Additional (private) character sets.  These character sets are
 ;; treated less space-efficiently in the buffer.
 (define-charset 167 'lao
   [1 94 1 0 ?1 0 "Lao" "Lao" "Lao characters (ISO10646 0E80..0EDF)"])
 
-;; Mac Roman.  Mac Roman uses all upper 128 characters.  Emacs can
-;; handle it by using two characters sets: mac-roman-lower for code
-;; points 128 to 159 and mac-roman-upper for code points 160 to 255.
-(define-charset 168 'mac-roman-lower
-  [1 96 1 0 ?3 1 "Mac Roman lower" "Mac Roman lower" "Mac Roman lower"])
-
-(define-charset 169 'mac-roman-upper
-  [1 96 1 0 ?4 1 "Mac Roman upper" "Mac Roman upper" "Mac Roman upper"])
-
-;; CHARSET-IDs 170..223 are not used.
+;; CHARSET-IDs 168..223 are not used.
 
 ;; 1-byte 2-column charsets.  Valid range of CHARSET-ID is 224..239.
 
 ;; `make-coding-system'.
 
 (put 'no-conversion 'coding-system
-     (vector nil ?= "Do no conversion"
+     (vector nil ?= "Do no conversion.
+
+When you visit a file with this coding, the file is read into a
+unibyte buffer as is, thus each byte of a file is treated as a
+character."
             (list 'coding-category 'coding-category-binary
                   'alias-coding-systems '(no-conversion))
             nil))
 
 (make-coding-system
  'emacs-mule 0 ?=
- "Emacs internal format used in buffer and string"
+ "Emacs internal format used in buffer and string.
+
+Encoding text with this coding system produces the actual byte
+sequence of the text in buffers and strings.  An exception is made for
+eight-bit-control characters.  Each of them is encoded into a single
+byte."
  nil
  '((safe-charsets . t)))
 
 (make-coding-system
  'raw-text 5 ?t
- "Raw text, which means text contains random 8-bit codes."
+ "Raw text, which means text contains random 8-bit codes.
+Encoding text with this coding system produces the actual byte
+sequence of the text in buffers and strings.  An exception is made for
+eight-bit-control characters.  Each of them is encoded into a single
+byte.
+
+When you visit a file with this coding, the file is read into a
+unibyte buffer as is (except for EOL format), thus each byte of a file
+is treated as a character."
  nil
  '((safe-charsets . t)))
 
 
 (setq file-coding-system-alist
       '(("\\.elc\\'" . (emacs-mule . emacs-mule))
-       ("\\(\\`\\|/\\)loaddefs.el\\'" . (no-conversion . no-conversion))
+       ;; We use raw-text for reading loaddefs.el so that if it
+       ;; happens to have DOS or Mac EOLs, they are converted to
+       ;; newlines.  This is required to make the special treatment
+       ;; of the "\ newline" combination in loaddefs.el, which marks
+       ;; the beginning of a doc string, work.
+       ("\\(\\`\\|/\\)loaddefs.el\\'" . (raw-text . raw-text-unix))
        ("\\.tar\\'" . (no-conversion . no-conversion))
        ("" . (undecided . nil))))
 
       coding-category-iso-7-else       'iso-2022-7bit-lock
       coding-category-iso-8-else       'iso-2022-8bit-ss2
       coding-category-ccl              nil
-      coding-category-utf-8             nil
+      coding-category-utf-8            'mule-utf-8
       coding-category-utf-16-be         nil
       coding-category-utf-16-le         nil
       coding-category-big5             'chinese-big5
    coding-category-big5
    coding-category-ccl
    coding-category-binary
+   coding-category-utf-8
    coding-category-utf-16-be
-   coding-category-utf-16-le
-   coding-category-utf-8))
+   coding-category-utf-16-le))
 
 \f
 ;;; Miscellaneous settings.
 (aset latin-extra-code-table ?\222 t)
+(aset latin-extra-code-table ?\223 t)
+(aset latin-extra-code-table ?\224 t)
 
 (update-coding-systems-internal)