2 @c{-*-tm-gnus manual-*-}
3 @setfilename tm-gnus_en.info
4 @settitle{tm-gnus manual}
8 @author{MORIOKA Tomohiko}
9 @code{$Id: tm-gnus_en.texi,v 1.1 1995/09/02 01:51:58 morioka Exp $}
13 @node Top, Components, (tm_en.info)tm-MUA, (tm_en.info)tm-MUA
14 @comment node-name, next, previous, up
18 tm-gnus is a GNUS extender to use tm. It supports GNUS 3.*, GNUS 4.*,
19 (ding) GNUS and GNUS 5.*.
22 * Components:: modules of tm-gnus
23 * Features:: Features of tm-gnus
24 * Customize:: Customize of tm-gnus
31 @node Components, Features, Top, Top
32 @comment node-name, next, previous, up
33 @section{modules of tm-gnus}
36 tm-gnus has following modules:
39 @item @strong{tm-gnus}: setting module for GNUS.
40 @item @strong{tm-gnus3}: setting module for GNUS 3.*.
41 @item @strong{tm-gnus4}: setting module for GNUS 4.*.
42 @item @strong{tm-ognus}: common part for tm-gnus3 and tm-gnus4.
43 @item @strong{tm-dgnus}: setting module for (ding) GNUS.
44 @item @strong{tm-gnus5}: setting module for GNUS 5.*.
48 @node Features, , Components, Top
49 @comment node-name, next, previous, up
50 @section{Features of tm-gnus}
53 tm-gnus expands following features to GNUS.
56 * Summary buffer:: Summary buffer decoding
57 * Summary mode:: Extension to summary mode.
58 * Automatic MIME Preview:: Automatic MIME Preview
62 @node Summary buffer, Summary mode, Features, Features
63 @comment node-name, next, previous, up
64 @subsection{Summary buffer decoding}
67 @cindex{summary buffer}
69 tm-gnus decodes MIME encoded-word in summary buffer using tiny-mime
70 (@inforef{Top, , tm-eword_en}) functions. However if an encoded-word
71 has unsupported charset, it is not decoded.
74 * (tm-eword_en.info)Charsets:: supported charsets
78 @node Summary mode, Automatic MIME Preview, Summary buffer, Features
79 @comment node-name, next, previous, up
80 @subsection{Extension to Summary mode}
85 In automatic MIME preview support version GNUS, it is the toggle
86 whether to do automatic MIME preview or not. Otherwise it is the
87 toggle for decoding mode of RFC 1522 MIME encoded-word.
89 Enter @code{mime/viewer-mode} to view a message.
92 mime/viewer-mode is a mode to view MIME messages. You can move in a
93 message, or play each contents included in a message.
96 * (tm-view_en.info)Commands:: Commands of mime/viewer-mode.
100 @node Automatic MIME Preview, , Summary mode, Features
101 @comment node-name, next, previous, up
102 @subsection{Automatic MIME Preview}
103 @cindex{automatic MIME preview}
105 ``Automatic MIME preview'' feature is available to apply ``with tm
106 patch'' for (ding) GNUS and GNUS 5.*. This patch is in
107 ftp.jaist.ac.jp:/pub/GNU/elisp/dgnus/, current version is
108 dgnus-0.99.23-tm.diff (as of 2 September 1995).
110 If this feature is available, when reading an article in summary mode,
111 tm-gnus displays preview buffer processed by tm-view (@inforef{Top, ,
112 tm-view_en.info}) instead of raw article buffer.
114 Therefore if an article is encoded by Quoted-Printable or Base64,
115 decoded article is displays. In addition, if using tm-rich, rich text
116 article is automatic formated. Of course, multipart article is dealt
119 Different from using metamail, speaker does not roar just then read an
120 article includes audio content, video player does not play just then
121 read an article includes video content, it does not do anonymous ftp
122 or send mail when read an article includes external-message. These
123 contents are played when you do decoding command in preview buffer.
125 However if you use a slow machine, or are just really impatient, you
126 can stop automatic MIME preview.
129 @defvar tm-gnus/decode-all
131 If it is t, tm-gnus is in automatic MIME preview mode.
135 @deffn{Command} tm-gnus/toggle-mime arg
137 It switches normal mode and automatic MIME preview mode. Namely, it
138 switches value of the variable @code{tm-gnus/decode-all}.
140 If @var{arg} is @code{t}, it set the variable
141 @code{tm-gnus/decode-all} to @code{t}.
145 If ``withd tm patch'' is applied, semantics of variable
146 @code{gnus-article-buffer} is changed, its semantics is divided into
147 following two variables.
150 @defvar gnus-article-buffer
152 It indicates the buffer to display. In automatic MIME preview mode, it
153 indicates preview buffer processed by tm-view. In normal mode, it
154 indicates raw article buffer. In this case, it is equal to variable
155 @code{gnus-clean-article-buffer}.
159 @defvar gnus-clean-article-buffer
161 It indicates raw article buffer even if tm-gnus is in automatic MIME
166 @node Customize, Concept Index, Features, Top
167 @comment node-name, next, previous, up
168 @subsection{Customize of tm-gnus}
171 @defvar tm-gnus/original-article-display-hook
173 tm-gnus uses @code{gnus-article-display-hook}, forbids to use for
174 users customize. Therefore tm-gnus has this variable instead of
175 @code{gnus-article-display-hook}.
177 Notice: it is available after tm-gnus is loaded. Therefore you had
178 better to set in @code{call-after-loaded} like following:
185 (add-hook 'tm-gnus/original-article-display-hook
191 In addition, you can customize preview buffer to set tm-view
192 setting. For instance, following is a example to add faces using
197 (let* ((header-patterns '(("^Subject:.*$" nil msg-subject)
198 ("^From:.*$" nil msg-from)
199 ("^--text follows this line--$"
201 ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header)
203 (body-patterns '(("^\\(In article\\|[ \t]*\\w*[]<>}|]\\).*$"
205 (message-patterns (append header-patterns body-patterns))
207 (hilit-set-mode-patterns 'msg-header header-patterns)
208 (hilit-set-mode-patterns 'msg-body body-patterns)
209 (hilit-set-mode-patterns 'mime/viewer-mode
211 'hilit-rehighlight-message)
213 (add-hook 'mime-viewer/content-header-filter-hook
214 (function hilit-rehighlight-buffer-quietly))
215 (add-hook 'mime-viewer/plain-text-preview-hook
216 (function hilit-rehighlight-buffer-quietly))
221 * (tm-view_en.info):: tm-view
225 @node Concept Index, Command Index, Features, Top
226 @section{Concept Index}
227 @unnumbered Concept Index
232 @node Command Index, Variable Index, Concept Index, Top
233 @section{Command and Function Index}
234 @unnumbered Command and Function Index
239 @node Variable Index, , Command Index, Top
240 @section{Variable Index}
241 @unnumbered Variable Index