emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113944: Gnus: Exclude iso-2022-jp-2 and shift_jis f


From: Katsumi Yamaoka
Subject: [Emacs-diffs] trunk r113944: Gnus: Exclude iso-2022-jp-2 and shift_jis from the default value set to mm-coding-system-priorities for Japanese users
Date: Mon, 19 Aug 2013 05:10:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113944
revision-id: address@hidden
parent: address@hidden
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Mon 2013-08-19 05:10:33 +0000
message:
  Gnus: Exclude iso-2022-jp-2 and shift_jis from the default value set to 
mm-coding-system-priorities for Japanese users
modified:
  doc/misc/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-6331
  doc/misc/emacs-mime.texi       
emacsmime.texi-20091113204419-o5vbwnq5f7feedwu-6297
  lisp/gnus/ChangeLog            changelog-20091113204419-o5vbwnq5f7feedwu-1433
  lisp/gnus/mm-util.el           mmutil.el-20091113204419-o5vbwnq5f7feedwu-1974
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2013-08-13 07:02:00 +0000
+++ b/doc/misc/ChangeLog        2013-08-19 05:10:33 +0000
@@ -1,3 +1,9 @@
+2013-08-19  Katsumi Yamaoka  <address@hidden>
+
+       * emacs-mime.texi (Encoding Customization): Exclude iso-2022-jp-2 and
+       shift_jis from the default value set to mm-coding-system-priorities for
+       Japanese users.
+
 2013-08-13  Glenn Morris  <address@hidden>
 
        * reftex.texi (LaTeX xr Package, Options - Table of Contents)

=== modified file 'doc/misc/emacs-mime.texi'
--- a/doc/misc/emacs-mime.texi  2013-03-17 22:55:13 +0000
+++ b/doc/misc/emacs-mime.texi  2013-08-19 05:10:33 +0000
@@ -871,15 +871,15 @@
 @vindex mm-coding-system-priorities
 Prioritize coding systems to use for outgoing messages.  The default
 is @code{nil}, which means to use the defaults in Emacs, but is
address@hidden(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)} when
-running Emacs in the Japanese language environment.  It is a list of
-coding system symbols (aliases of coding systems are also allowed, use
address@hidden describe-coding-system} to make sure you are specifying correct
-coding system names).  For example, if you have configured Emacs
-to prefer UTF-8, but wish that outgoing messages should be sent in
-ISO-8859-1 if possible, you can set this variable to
address@hidden(iso-8859-1)}.  You can override this setting on a per-message
-basis by using the @code{charset} @acronym{MML} tag (@pxref{MML Definition}).
address@hidden(iso-8859-1 iso-2022-jp utf-8)} when running Emacs in the Japanese
+language environment.  It is a list of coding system symbols (aliases of
+coding systems are also allowed, use @kbd{M-x describe-coding-system} to
+make sure you are specifying correct coding system names).  For example,
+if you have configured Emacs to prefer UTF-8, but wish that outgoing
+messages should be sent in ISO-8859-1 if possible, you can set this
+variable to @code{(iso-8859-1)}.  You can override this setting on a
+per-message basis by using the @code{charset} @acronym{MML} tag
+(@pxref{MML Definition}).
 
 As different hierarchies prefer different charsets, you may want to set
 @code{mm-coding-system-priorities} according to the hierarchy in Gnus.
@@ -904,7 +904,7 @@
           (mm-coding-system-priorities '(iso-8859-15 iso-8859-1 utf-8)))
          ("^fj\\." ;; Japanese
           (mm-coding-system-priorities
-           '(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)))
+           '(iso-8859-1 iso-2022-jp utf-8)))
          ("^ru\\." ;; Cyrillic
           (mm-coding-system-priorities
            '(koi8-r iso-8859-5 iso-8859-1 utf-8))))

=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2013-08-13 07:22:05 +0000
+++ b/lisp/gnus/ChangeLog       2013-08-19 05:10:33 +0000
@@ -1,3 +1,8 @@
+2013-08-19  Katsumi Yamaoka  <address@hidden>
+
+       * mm-util.el (mm-coding-system-priorities): Exclude iso-2022-jp-2 and
+       shift_jis from the default value set for Japanese users.
+
 2013-08-13  Glenn Morris  <address@hidden>
 
        * gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type.

=== modified file 'lisp/gnus/mm-util.el'
--- a/lisp/gnus/mm-util.el      2013-05-23 05:05:27 +0000
+++ b/lisp/gnus/mm-util.el      2013-08-19 05:10:33 +0000
@@ -845,17 +845,17 @@
           (not lang) nil)
          ;; In XEmacs 21.5 it may be the one like "Japanese (UTF-8)".
          ((string-match "\\`Japanese" lang)
-          ;; Japanese users prefer iso-2022-jp to euc-japan or
-          ;; shift_jis, however iso-8859-1 should be used when
-          ;; there are only ASCII text and Latin-1 characters.
-          '(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8))))
+          ;; Japanese users prefer iso-2022-jp to others usually used
+          ;; for `buffer-file-coding-system', however iso-8859-1 should
+          ;; be used when there are only ASCII and Latin-1 characters.
+          '(iso-8859-1 iso-2022-jp utf-8))))
   "Preferred coding systems for encoding outgoing messages.
 
 More than one suitable coding system may be found for some text.
 By default, the coding system with the highest priority is used
 to encode outgoing messages (see `sort-coding-systems').  If this
 variable is set, it overrides the default priority."
-  :version "21.2"
+  :version "24.4"
   :type '(repeat (symbol :tag "Coding system"))
   :group 'mime)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]