changeset 43552:52e76230bc9c

(compound-text): Renamed back from compound-text-no-extensions. (ctext-no-compositions): Remove the mime-charset property. (compound-text-with-extensions): Renamed from compound-text. (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 26 Feb 2002 15:57:42 +0000
parents 836406067ef1
children 587cb64bfa86
files lisp/international/mule-conf.el
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-conf.el	Tue Feb 26 12:13:35 2002 +0000
+++ b/lisp/international/mule-conf.el	Tue Feb 26 15:57:42 2002 +0000
@@ -410,7 +410,7 @@
    (composition . t)))
 
 (make-coding-system
- 'compound-text-no-extensions 2 ?x
+ 'compound-text 2 ?x
  "Compound text based generic encoding for decoding unknown messages.
 
 This coding system does not support ICCCM Extended Segments."
@@ -421,28 +421,26 @@
    (mime-charset . x-ctext)
    (composition . t)))
 
-(define-coding-system-alias
-  'x-ctext-no-extensions 'compound-text-no-extensions)
-(define-coding-system-alias
-  'ctext-no-extensions 'compound-text-no-extensions)
+(define-coding-system-alias  'x-ctext 'compound-text)
+(define-coding-system-alias  'ctext 'compound-text)
 
-;; Same as compound-text-no-extensions, but doesn't produce composition
-;; escape sequences.  Used in post-read and pre-write conversions of
-;; compound-text, see mule.el.
+;; Same as compound-text, but doesn't produce composition escape
+;; sequences.  Used in post-read and pre-write conversions of
+;; compound-text-with-extensions, see mule.el.  Note that this should
+;; not have a mime-charset property, to prevent it from showing up
+;; close to the beginning of coding systems ordered by priority.
 (make-coding-system
  'ctext-no-compositions 2 ?x
  "Compound text based generic encoding for decoding unknown messages.
 
-Like `compound-text-no-extensions', but does not produce escape sequences
-for compositions."
+Like `compound-text', but does not produce escape sequences for compositions."
  '((ascii t) (latin-iso8859-1 katakana-jisx0201 t) t t
    nil ascii-eol ascii-cntl nil locking-shift single-shift nil nil nil
    init-bol nil nil)
- '((safe-charsets . t)
-   (mime-charset . x-ctext)))
+ '((safe-charsets . t)))
 
 (make-coding-system
- 'compound-text 5 ?x
+ 'compound-text-with-extensions 5 ?x
  "Compound text encoding with ICCCM Extended Segment extensions.
 
 This coding system should be used only for X selections.  It is inappropriate
@@ -451,8 +449,10 @@
  '((post-read-conversion . ctext-post-read-conversion)
    (pre-write-conversion . ctext-pre-write-conversion)))
 
-(define-coding-system-alias 'x-ctext 'compound-text)
-(define-coding-system-alias 'ctext 'compound-text)
+(define-coding-system-alias
+  'x-ctext-with-extensions 'compound-text-with-extensions)
+(define-coding-system-alias
+  'ctext-with-extensions 'compound-text-with-extensions)
 
 (make-coding-system
  'iso-safe 2 ?-