[gnus git] branch master updated: m0-7-217-gf7b8d64 =1= Exclude iso-2022-jp-2 and shift_jis from the default value set to mm-coding-system-priorities for Japanese users

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f7b8d64fd643558163383c9432d625a706310e5f (commit)
      from  baf05b14d1562dbcef68a2e409e7053a58c11273 (commit)


- Log -----------------------------------------------------------------
commit f7b8d64fd643558163383c9432d625a706310e5f
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Aug 19 05:10:17 2013 +0000

    Exclude iso-2022-jp-2 and shift_jis from the default value set to mm-coding-system-priorities for Japanese users

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d26a2cb..ab5882a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-19  Katsumi Yamaoka  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type.
diff --git a/lisp/mm-util.el b/lisp/mm-util.el
index 209c294..9c2f0df 100644
--- a/lisp/mm-util.el
+++ b/lisp/mm-util.el
@@ -845,17 +845,17 @@ Valid elements include:
 	   (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)
 
diff --git a/texi/ChangeLog b/texi/ChangeLog
index a1ff118..cb28714 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,9 @@
+2013-08-19  Katsumi Yamaoka  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* epa.texi (Encrypting/decrypting gpg files):
diff --git a/texi/emacs-mime.texi b/texi/emacs-mime.texi
index e68137b..55cfec9 100644
--- a/texi/emacs-mime.texi
+++ b/texi/emacs-mime.texi
@@ -871,15 +871,15 @@ by using the @code{encoding} @acronym{MML} tag (@pxref{MML Definition}).
 @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
-@code{(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
-@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}).
+@code{(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 @@ Here's an example:
           (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))))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog       |    5 +++++
 lisp/mm-util.el      |   10 +++++-----
 texi/ChangeLog       |    6 ++++++
 texi/emacs-mime.texi |   20 ++++++++++----------
 4 files changed, 26 insertions(+), 15 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.