This file documents gnus-mime, a MIME extension for Gnus.
gnus-mime is for only Gnus. Please use tm-gnus for GNUS.
gnus-mime supports automatic MIME preview in "*Article*"
buffer using tm-view. In particular, with
XEmacs, it decodes images as same as text.
In addition, gnus-mime supports multilingual/internationalization feature for mule such as MULE, XEmacs/mule and mule merged Emacs. It supports code-conversion by MIME charset or depended default MIME charset of newsgroups.
For RFC 1522, original Gnus supports only Q-encoded
Therefore if an article is encoded by
In addition, in
Different from using metamail, speaker does not roar just then read an
article includes audio content, video player does not play just then
read an article includes video content, it does not do anonymous
However if you use a slow machine, or are just really impatient, you
can stop automatic MIME preview.
When
When
Gnus 5.2 or later calls
If it is not
It is a variable of Gnus, so if gnus is loaded before gnus-mime is
loaded, default value is not guaranteed.
Gnus calls function bound by it to process MIME. Default value is
It is a variable of Gnus, so if gnus is loaded before gnus-mime is
loaded, default value is not guaranteed.
Gnus calls function bound by it to decode encoded-words. Default
value is
It is a variable of Gnus, so if gnus is loaded before gnus-mime is
loaded, default value is not guaranteed.
In addition, it is not available at Gnus 5.0.* or Gnus 5.1.
gnus-mime uses some variables of Gnus and defines different default
values by
gnus-mime uses
Gnus 5.2 or later has two buffers for an article,
Content of raw article buffer is non-processed ``raw message''. In
particular, for emacs variants includes
Content of preview buffer is MIME processed message to display for
user. In particular, for emacs variants includes mule features,
non-ASCII message is code-converted in it by MIME charset or default
Gnus 5.0.* and Gnus 5.1 don't have distinction between raw article
buffer and preview buffer. So gnus-mime emulate raw article buffer.
It is unnatural, so it may be better to use Gnus 5.2 or later, which
are designed for tm-view.
For emacs variants includes mule feature, such as
Detail of code conversion is following:
Association-list regexp for newsgroup vs. symbol for default MIME
charset.
Default setting are following:
If there is no MIME charsets for a newsgroup,
Set default MIME charset of newsgroup to
newsgroup is string of newsgroup name or category, for
charset is symbol of MIME charset, for example
If using
Default setting of mime-setup avoids automatic inserting signature
when sending a message.
gnus-mime does not have implementation for C-c C-x C-m
(
However you can use C-c C-x C-m to specify an
implementation of
How to process MIME in Article Buffer
gnus-show-mime
is not nil
and an
article has Mime-Version field in its message header, namely it is a
MIME message, Gnus calls gnus-show-mime-method
to process
MIME.
gnus-strict-mime
is nil
and
gnus-show-mime
is not nil
, Gnus calls
gnus-show-mime-method
even if an message does not have
Mime-Version field in its message header.
gnus-show-mime-method
when
gnus-strict-mime
is not nil
and an article
does not have Mime-Version field. Notice that old Gnus does not have
it, so it may be better to set gnus-strict-mime
to
nil
.
nil
, Gnus do automatic MIME preview.
Default value is t
.
gnus-article-preview-mime-message
.
gnus-article-decode-encoded-word
.
defvar
. For example, gnus-mime's default value
of gnus-show-mime
is t
instead of
nil
. Or its default value of
gnus-show-mime-method
is
gnus-article-preview-mime-message
instead of
metamail-buffer
.
defvar
instead of setq
,
because of respect user's setting before gnus-mime is loaded, such as
using gnus-show-mime
and gnus-show-mime-method
.
Mechanism of Automatic MIME preview
gnus-original-article-buffer
(" *Original
Article*"
) and gnus-article-buffer
("*Article*"
). The former is called Internationalization
default-mime-charset
of selected newsgroup.
gnus-newsgroup-default-charset-alist
. If
it is found, it is set to buffer local variable
default-mime-charset
of Summary Buffer. If not found,
global value of default-mime-charset
is used.
default-mime-charset
in Summary Buffer.
default-mime-charset
in Summary Buffer.
default-mime-charset
is used as default MIME charset.
gnus-newsgroup-default-charset-alist
.
"gnu.emacs.gnus"
, "gnu.emacs"
,
"gnu"
.
iso-8859-1
, iso-2022-jp
.
Composing MIME messages
mime-editor/insert-mail
). Because gnus-mime does not
know which mail-reader should be used. In addition, C-c C-x
C-y (mime-editor/insert-message
) is enough to
insert mail (namely to select a mail group and select a message to
insert, then it is available to insert the mail message).
message-mode
to
mime-editor/mail-inserter-alist
.
Example: same as C-c C-x C-m
Example: including from MH folder
Concept Index
Function Index
Variable Index