2 @setfilename tm-mh-e-en.info
3 @settitle tm-mh-e 7.71 Reference Manual (English Version)
5 * Tm-Mh-E-Ja:: MIME extension for MH-E mail reader
8 @title tm-mh-e 7.71 Reference Manual (English Version)
9 @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
12 @node Top, Introduction, (dir), (dir)
13 @top tm-mh-e 7.71 Reference Manual (English Version)
17 This file documents tm-mh-e, a MIME extension for MH-E.
21 * Introduction:: What is tm-mh-e?
22 * mh-folder-mode:: Extension for MH-Folder mode
23 * Automatic MIME Preview:: Inline display for MIME message
24 * mule:: Internationalization
25 * MIME-Edit:: Composing MIME message
30 @node Introduction, mh-folder-mode, Top, Top
31 @chapter What is tm-mh-e?
34 @strong{tm-mh-e} is a mh-e (@ref{(mh-e)}) extender to use MIME
35 (@ref{(tm-en)MIME}) feature using tm (@ref{(tm-en)tm-kernel}).@refill
37 tm-mh-e extends following features:
41 automatic MIME preview using tm-view (@ref{(tm-view-en)})
43 composing MIME message using tm-edit (@ref{(tm-edit-en)})
48 @node mh-folder-mode, Automatic MIME Preview, Introduction, Top
49 @chapter Extension for MH-Folder mode
53 Toggle whether to do automatic MIME preview or not.
56 Enter @code{mime/viewer-mode} to view a message.
59 Display current message.
62 Display current message with showing all fields.
65 Display current ``raw'' message.
70 mime/viewer-mode (@ref{(tm-view-en)mime/viewer-mode}) is a major-mode to
71 view and navigate MIME message. In this mode, you can move in a message
72 or play a content, interactively.
75 @node Automatic MIME Preview, mule, mh-folder-mode, Top
76 @chapter Inline display for MIME message
78 @cindex automatic MIME preview
80 @strong{automatic MIME preview} feature is available in tm-mh-e. In
81 automatic MIME preview mode, when reading an article in MH-Folder mode
82 (@ref{(mh-e)Reading Mail}), tm-mh-e displays preview buffer processed by
83 tm-view (@ref{(tm-view-en)}) instead of raw show buffer.@refill
85 Therefore if an article is encoded by Base64 (@ref{(tm-en)Base64}) or
86 Quoted-Printable (@ref{(tm-en)Quoted-Printable}), a decoded article is
87 displayed. Or rich text article, such as text/enriched
88 (@ref{(tm-en)text/enriched}) format, is automatic formated. Of course,
89 multipart (@ref{(tm-en)multipart}) article is dealt with
92 In addition, in @strong{XEmacs}, images are displayed in preview buffer
93 as same as text.@refill
95 Different from using metamail, speaker does not roar just then read an
96 article includes audio content, video player does not play just then
97 read an article includes video content, it does not do anonymous ftp
98 (@ref{(tm-en)ftp}) or send mail when read an article includes
99 external-message. These contents are played when you do decoding
100 command in preview buffer.@refill
102 However if you use a slow machine, or are just really impatient, you
103 can stop automatic MIME preview.
106 @defvar tm-mh-e/automatic-mime-preview
108 If it is not @code{nil}, tm-mh-e is in automatic MIME preview mode.
113 @node mule, MIME-Edit, Automatic MIME Preview, Top
114 @chapter Internationalization
116 For emacs variants includes mule feature, such as MULE
117 (@ref{(tm-en)MULE}), XEmacs/mule and Emacs/mule(*1), tm-mh-e supports
118 code-conversion by MIME charset (@ref{(tm-en)MIME charset}).
123 (*1) It means next generation of Emacs includes mule features. Now
124 (October 1996), HANDA Ken'ichi and RMS are developing it.
128 Detail of code conversion is following:
132 If a part of a MIME message has charset parameter of Content-Type field
133 (@ref{(tm-en)Content-Type field}), it is code-converted by the MIME
136 encoded-word (@ref{(tm-en)encoded-word}) are code-converted by their
137 specified MIME charset (@ref{(tm-en)MIME charset}).
139 When there are no specified MIME charset, such as message header
140 or non-MIME message, they are code-converted by
141 @code{default-mime-charset} in Summary Buffer.
147 * evil environment:: Don't use MIME charset
150 @node evil environment, , mule, mule
151 @section Don't use MIME charset
153 If MTA (@ref{(tm-en)MTA}) convert character encoding of messages from
154 network code to local code, such as EUC or Shift_JIS, MIME charset does
155 not work, so tm-mh-e can not display correct message. It is quite evil
156 environment. It does not break only MIME charset, but also electric
157 signature by PGP.@refill
159 If you can manage your environment, you should fix it. Otherwise you
160 should persuade the administration.@refill
162 Unfortunately you are in such environment and you can not it,
163 following descriptions may be available.
166 @subsection for non-MIME message or non-charset
168 For non-MIME message, please set the character encoding to variable
169 @code{default-mime-charset}. For example, if you use Japanese EUC:
172 (setq default-mime-charset 'euc-japan)
177 @subsection To disable MIME charset
179 If for a text part specified MIME charset (@ref{(tm-en)MIME charset}),
180 one way is to set variable @code{mime-charset-coding-system-alist} to
181 specify the coding-system corresponding the primary MIME charset. For
182 example, to specify @code{*sjis*} or @code{*euc-japan*} as
183 @code{iso-2022-jp}. However it breaks texts encoded by Base64 or
184 Quoted-Printable.@refill
186 So it is better to redefine function
187 @code{tm-mh-e/decode-charset-buffer}. For example, if your MTA
188 converts iso-2022-jp to Japanese EUC, following definition may work:
191 (defun tm-mh-e/decode-charset-buffer (charset &optional encoding)
192 (decode-mime-charset-region (point-min)(point-max) 'euc-japan)
198 @node MIME-Edit, Concept Index, mule, Top
199 @chapter Composing MIME message
201 If using mime-setup (@ref{(tm-en)mime-setup}), you can edit MIME message
202 in MH-Letter mode (@ref{(mh-e)Draft Editing}) using tm-edit
203 (@ref{(tm-edit-en)}).@refill
205 In addition, @kbd{f} is used for message/rfc822
206 (@ref{(tm-en)message/rfc822}) style forwarding instead of RFC 934
207 (@ref{(tm-en)RFC 934}) style forwarding.
210 @node Concept Index, Variable Index, MIME-Edit, Top
211 @chapter Concept Index
215 @node Variable Index, , Concept Index, Top
216 @chapter Variable Index