aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
authorKatsumi Yamaoka2013-08-19 05:10:33 +0000
committerKatsumi Yamaoka2013-08-19 05:10:33 +0000
commitdab3a8d5fe0da1fafc0143e2c780e3c6e020b705 (patch)
tree6ca125fefdb2a0e561f19e14687afce7c72bc1b3 /lisp/gnus
parentdeb31e75f8042f6f15d78e6695e849991d2b9e05 (diff)
downloademacs-dab3a8d5fe0da1fafc0143e2c780e3c6e020b705.tar.gz
emacs-dab3a8d5fe0da1fafc0143e2c780e3c6e020b705.zip
Gnus: Exclude iso-2022-jp-2 and shift_jis from the default value set to mm-coding-system-priorities for Japanese users
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/mm-util.el10
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index bc56d942191..950b73666e2 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12013-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * mm-util.el (mm-coding-system-priorities): Exclude iso-2022-jp-2 and
4 shift_jis from the default value set for Japanese users.
5
12013-08-13 Glenn Morris <rgm@gnu.org> 62013-08-13 Glenn Morris <rgm@gnu.org>
2 7
3 * gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type. 8 * gnus-icalendar.el (gnus-icalendar-org-capture-file): Fix type.
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el
index 209c2949ea9..9c2f0df5f59 100644
--- a/lisp/gnus/mm-util.el
+++ b/lisp/gnus/mm-util.el
@@ -845,17 +845,17 @@ Valid elements include:
845 (not lang) nil) 845 (not lang) nil)
846 ;; In XEmacs 21.5 it may be the one like "Japanese (UTF-8)". 846 ;; In XEmacs 21.5 it may be the one like "Japanese (UTF-8)".
847 ((string-match "\\`Japanese" lang) 847 ((string-match "\\`Japanese" lang)
848 ;; Japanese users prefer iso-2022-jp to euc-japan or 848 ;; Japanese users prefer iso-2022-jp to others usually used
849 ;; shift_jis, however iso-8859-1 should be used when 849 ;; for `buffer-file-coding-system', however iso-8859-1 should
850 ;; there are only ASCII text and Latin-1 characters. 850 ;; be used when there are only ASCII and Latin-1 characters.
851 '(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)))) 851 '(iso-8859-1 iso-2022-jp utf-8))))
852 "Preferred coding systems for encoding outgoing messages. 852 "Preferred coding systems for encoding outgoing messages.
853 853
854More than one suitable coding system may be found for some text. 854More than one suitable coding system may be found for some text.
855By default, the coding system with the highest priority is used 855By default, the coding system with the highest priority is used
856to encode outgoing messages (see `sort-coding-systems'). If this 856to encode outgoing messages (see `sort-coding-systems'). If this
857variable is set, it overrides the default priority." 857variable is set, it overrides the default priority."
858 :version "21.2" 858 :version "24.4"
859 :type '(repeat (symbol :tag "Coding system")) 859 :type '(repeat (symbol :tag "Coding system"))
860 :group 'mime) 860 :group 'mime)
861 861