annotate man/tm/gnus-mime-en.sgml @ 74:54cc21c15cbb r20-0b32

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