annotate man/tm/gnus-mime_en.texi @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 \input texinfo.tex
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2 @setfilename gnus-mime_en.info
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 @titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 @title{gnus-mime 0.8}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 @author{MORIOKA Tomohiko}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 @end titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 @node Top, Introduction, (dir), (dir)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 * Introduction:: What is gnus-mime?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 * Automatic MIME Preview:: Inline display for MIME message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 * mule:: Internationalization
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 * MIME-Edit:: Composing MIME messages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 * Concept Index::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 * Command Index::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 * Variable Index::
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 @node Introduction, Automatic MIME Preview, Top, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 @chapter What is gnus-mime?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 tm-gnus is a MIME extender for Gnus using tm.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 Note: gnus-mime is for only Gnus. Please use tm-gnus for GNUS.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 (@pxref{(tm-gnus_en.info)})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 gnus-mime supports automatic MIME preview in *Article* buffer using
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 tm-view. In particular, with XEmacs, it decodes images as same as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 text.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 In addition, gnus-mime supports multilingual/internationalization
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34 feature for mule such as MULE, XEmacs/mule and mule merged Emacs. It
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 supports code-conversion by MIME charset or depended default MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 charset of newsgroups.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 For RFC 1522, original Gnus supports only Q-encoded iso-8859-1 encoded
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 words. So gnus-mime supports more MIME charsets, such as iso-8859-2,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 iso-8859-3, ..., iso-2022-jp, euc-kr, iso-2022-kr, gb2312, big5, and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 B-encoding. In addition, original Gnus does not support unfolding or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 space elimination rule of RFC 1522. gnus-mime is more rightful.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 @node Automatic MIME Preview, mule, Introduction, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 @chapter Inline display for MIME message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 ``Automatic MIME preview'' feature is available for gnus-mime. In
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 automatic MIME preview mode, when reading an article in summary mode,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 gnus-mime displays preview buffer processed by tm-view instead of raw
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 article buffer. (@pxref{(tm_en.info)tm-view})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 Therefore if an article is encoded by Quoted-Printable or Base64, a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 decoded article is displayed. Or rich text article is automatic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55 formated. Of course, multipart article is dealt with correctly.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 Different from using metamail, speaker does not roar just then read an
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 article includes audio content, video player does not play just then
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 read an article includes video content, it does not do anonymous ftp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 or send mail when read an article includes external-message. These
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 contents are played when you do decoding command in preview buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 In addition, in XEmacs, images are displayed in preview buffer as same
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 as text.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66 However if you use a slow machine, or are just really impatient, you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 can stop automatic MIME preview.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 @menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 * MIME processing:: How to process MIME in Article Buffer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72 * Two buffers for an article:: Mechanism of Automatic MIME preview
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 @end menu
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75 @node MIME processing, Two buffers for an article, Automatic MIME Preview, Automatic MIME Preview
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 @section How to process MIME in Article Buffer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 When @code{gnus-show-mime} is not @code{nil} and an article has
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 Mime-Version field in its message header, namely it is a MIME message,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 Gnus calls @code{gnus-show-mime-method} to process MIME.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 When @code{gnus-strict-mime} is @code{nil} and @code{gnus-show-mime}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 is not @code{nil}, Gnus calls @code{gnus-show-mime-method} even if an
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 message does not have Mime-Version field in its message header.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 Gnus 5.2 or later calls @code{gnus-show-mime-method} when
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 @code{gnus-strict-mime} is not @code{nil} and an article does not have
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 Mime-Version field. Notice that old Gnus does not have it, so it may
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 be better to set @code{gnus-strict-mime} to @code{nil}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 @defvar gnus-show-mime
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94 If it is not @code{nil}, Gnus do automatic MIME preview.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 Default value is @code{t}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 It is a variable of Gnus, so if gnus is loaded before
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 gnus-mime is loaded, default value is not guaranteed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99 (@pxref{(gnus)Using MIME})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103 @defvar gnus-show-mime-method
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 Gnus calls function bound by it to process MIME. Default
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106 value is @code{gnus-article-preview-mime-message}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 It is a variable of Gnus, so if gnus is loaded before
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 gnus-mime is loaded, default value is not guaranteed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110 (@pxref{(gnus)Using MIME})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 @defvar gnus-decode-encoded-word-method
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 Gnus calls function bound by it to decode encoded-words.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 Default value is @code{gnus-article-decode-encoded-word}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 It is a variable of Gnus, so if gnus is loaded before
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 gnus-mime is loaded, default value is not guaranteed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121 (@pxref{(gnus)Using MIME})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123 In addition, it is not available at Gnus 5.0.* or Gnus 5.1.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 @subsection Notice
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 gnus-mime uses some variables of Gnus and defines different default
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 values by @code{defvar}. For example, gnus-mime's default value of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 @code{gnus-show-mime} is @code{t} instead of @code{nil}. Or its
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 default value of @code{gnus-show-mime-method} is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 @code{gnus-article-preview-mime-message} instead of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 @code{metamail-buffer}. (@pxref{(gnus)Using MIME})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 gnus-mime uses @code{defvar} instead of @code{setq}, because of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138 respect user's setting before gnus-mime is loaded. But it has a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 problem. If gnus is loaded before gnus-mime is loaded, features of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 gnus-mime is not available in default even if gnus-mime is loaded.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 Therefore there is serious problem to load gnus before gnus-mime is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 loaded. In other words, setting in @file{~/.gnus}, such as to load
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143 @file{gnus-mime} or @file{mime-setup}, is not good way.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 @node Two buffers for an article, , MIME processing, Automatic MIME Preview
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147 @section Mechanism of Automatic MIME preview
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 Gnus 5.2 or later has two buffers for an article,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 @code{gnus-original-article-buffer} (@code{" *Original Article*"}) and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 @code{gnus-article-buffer} (@code{"*Article*"}). The former is called
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 ``raw article buffer'', the latter is called ``preview buffer''.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 Content of ``raw article buffer'' is non-processed ``raw message''.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 In particular, for emacs variants includes mule features, message is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 not code-converted in it.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158 Content of ``preview buffer'' is MIME processed message to display for
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 user. In particular, for emacs variants includes mule features,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160 non-ASCII message is code-converted in it by MIME charset or default
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 MIME charset for selected newsgroup.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163 Gnus 5.0.* and Gnus 5.1 don't have distinction between ``raw article
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 buffer'' and ``preview buffer''. So gnus-mime emulate ``raw article
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165 buffer''. It may be better to use Gnus 5.2 or later.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 @node mule, MIME-Edit, Automatic MIME Preview, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 @chapter Internationalization
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 For emacs variants includes mule feature, such as MULE, XEmacs/mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 and mule merged Emacs (*1), gnus-mime supports code-conversion by MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 charset or default MIME charset of selected newsgroup.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175 (*1) It means next generation of Emacs includes mule features. Now
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 (October 1996), HANDA Ken'ichi and RMS are developing it.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 Detail of code conversion is following:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 (1) If a newsgroup is selected, MIME charset for the newsgroup is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182 searched from @code{gnus-newsgroup-default-charset-alist}. If it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 is found, it is set to buffer local variable
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184 @code{default-mime-charset} of Summary Buffer. If not found,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 global value of @code{default-mime-charset} is used.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187 (2) Non-ASCII characters in Summary Buffer are code-converted by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188 @code{default-mime-charset} in Summary Buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190 (3) encoded-words are code-converted by their specified charsets.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 (4) Code-conversion of articles are following:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194 (a) If a part of a MIME message has charset parameter of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 Content-Type field, it is code-converted by the MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196 charset.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
197
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
198 (b) When there are no specified MIME charset, such as message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
199 header or non-MIME message, they are code-converted by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
200 @code{default-mime-charset} in Summary Buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
201
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
202
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
203 @defvar gnus-newsgroup-default-charset-alist
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
204
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
205 Alist regexp for newsgroup vs. symbol for default MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
206 charset.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
207
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
208 Default setting are following:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
209
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
210 @code{hz}: alt.chinese.*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
211
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
212 @code{big5}: alt.chinese.text.big5,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
213 hk.*, hkstar.* and tw.*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
214
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
215 @code{iso-2022-jp-2}: fj.*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
216
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
217 @code{euc-kr}: han.*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
218
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
219 @code{koi8-r}: relcom.*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
220
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
221 If there is no MIME charsets for a newsgroup,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
222 @code{default-mime-charset} is used as default MIME charset.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
224 @end defvar
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
225
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
226 @deffn{Function} gnus-set-newsgroup-default-charset NEWSGROUP CHARSET
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
227
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
228 Set default MIME CHARSET of NEWSGROUP to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
229 @code{gnus-newsgroup-default-charset-alist}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
230
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
231 NEWSGROUP is string of newsgroup name or category, for example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
232 "gnu.emacs.gnus", "gnu.emacs", "gnu".
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
233
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
234 CHARSET is symbol of MIME charset, for example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
235 @code{iso-8859-1}, @code{iso-2022-jp}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
236
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
237
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
238 @end deffn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
239
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
240 @node MIME-Edit, Concept Index, mule, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
241 @chapter Composing MIME messages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
242
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
243 If using mime-setup (@pxref{(tm_en.info)Setting}), you can edit MIME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
244 message in mh-letter-mode using tm-edit. (@pxref{(tm_en.info)tm-edit})
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
245
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
246 Note: Default setting of mime-setup avoids automatic inserting
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
247 signature when sending a message. Its reason is described at
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
248 @pxref{(tm_en.info)mime-setup}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
249
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
250 gnus-mime does not have implementation for @kbd{C-c C-x C-m}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
251 (@code{mime-editor/insert-mail}). Because gnus-mime does not know
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
252 which mail-reader should be used. In addition, @kbd{C-c C-x C-y}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
253 (@code{mime-editor/insert-message}) is enough to insert mail (namely
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
254 to select a mail group and select a message to insert, then it is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
255 available to insert the mail message).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
256
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
257 However you can use @kbd{C-c C-x C-m} to specify an implementation of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
258 message-mode to @code{mime-editor/mail-inserter-alist}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
259
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
260 Example: same as @kbd{C-c C-x C-m}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
261
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
262 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
263 (set-alist 'mime-editor/mail-inserter-alist
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
264 'message-mode (function message-mime-insert-article))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
265 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
266
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
267
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
268 Example: including from MH folder
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
269
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
270 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
271 (autoload 'tm-mh-e/insert-mail "tm-mh-e")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
272
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
273 (set-alist 'mime-editor/mail-inserter-alist
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
274 'message-mode (function tm-mh-e/insert-mail))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
275 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
276
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
277 @node Concept Index, Command Index, MIME-Edit, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
278 @chapter Concept Index
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
279
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
280 @printindex cp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
281
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
282
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
283 @node Command Index, Variable Index, Concept Index, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
284 @chapter Command Index
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
285
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
286 @printindex fn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
287
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
288
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
289 @node Variable Index, , Command Index, Top
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
290 @chapter Variable Index
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
291
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
292 @printindex vr
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
293
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
294 @summarycontents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
295 @contents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
296
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
297 @bye