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