163
|
1 ;;; DO NOT MODIFY THIS FILE
|
|
2 (if (not (featurep 'tm-autoloads))
|
|
3 (progn
|
|
4
|
|
5 ;;;### (autoloads (mime/editor-mode) "tm-edit" "tm/tm-edit.el")
|
|
6
|
|
7 (autoload 'mime/editor-mode "tm-edit" "\
|
|
8 MIME minor mode for editing the tagged MIME message.
|
|
9
|
|
10 In this mode, basically, the message is composed in the tagged MIME
|
|
11 format. The message tag looks like:
|
|
12
|
|
13 --[[text/plain; charset=ISO-2022-JP][7bit]]
|
|
14
|
|
15 The tag specifies the MIME content type, subtype, optional parameters
|
|
16 and transfer encoding of the message following the tag. Messages
|
|
17 without any tag are treated as `text/plain' by default. Charset and
|
|
18 transfer encoding are automatically defined unless explicitly
|
|
19 specified. Binary messages such as audio and image are usually hidden.
|
|
20 The messages in the tagged MIME format are automatically translated
|
|
21 into a MIME compliant message when exiting this mode.
|
|
22
|
|
23 Available charsets depend on Emacs version being used. The following
|
|
24 lists the available charsets of each emacs.
|
|
25
|
|
26 EMACS 18: US-ASCII is only available.
|
|
27 NEmacs: US-ASCII and ISO-2022-JP are available.
|
|
28 EMACS 19: US-ASCII and ISO-8859-1 (or other charset) are available.
|
|
29 XEmacs 19: US-ASCII and ISO-8859-1 (or other charset) are available.
|
|
30 Mule: US-ASCII, ISO-8859-* (except for ISO-8859-5), KOI8-R,
|
|
31 ISO-2022-JP, ISO-2022-JP-2, ISO-2022-KR, BIG5 and
|
|
32 ISO-2022-INT-1 are available.
|
|
33
|
|
34 ISO-2022-JP-2 and ISO-2022-INT-1 charsets used in mule is expected to
|
|
35 be used to represent multilingual text in intermixed manner. Any
|
|
36 languages that has no registered charset are represented as either
|
|
37 ISO-2022-JP-2 or ISO-2022-INT-1 in mule.
|
|
38
|
|
39 If you want to use non-ISO-8859-1 charset in EMACS 19 or XEmacs 19,
|
|
40 please set variable `default-mime-charset'. This variable must be
|
|
41 symbol of which name is a MIME charset.
|
|
42
|
|
43 If you want to add more charsets in mule, please set variable
|
|
44 `charsets-mime-charset-alist'. This variable must be alist of which
|
|
45 key is list of leading-char/charset and value is symbol of MIME
|
|
46 charset. (leading-char is a term of MULE 1.* and 2.*. charset is a
|
|
47 term of XEmacs/mule, mule merged EMACS and MULE 3.*) If name of
|
|
48 coding-system is different as MIME charset, please set variable
|
|
49 `mime-charset-coding-system-alist'. This variable must be alist of
|
|
50 which key is MIME charset and value is coding-system.
|
|
51
|
|
52 Following commands are available in addition to major mode commands:
|
|
53
|
|
54 [make single part]
|
|
55 \\[mime-editor/insert-text] insert a text message.
|
|
56 \\[mime-editor/insert-file] insert a (binary) file.
|
|
57 \\[mime-editor/insert-external] insert a reference to external body.
|
|
58 \\[mime-editor/insert-voice] insert a voice message.
|
|
59 \\[mime-editor/insert-message] insert a mail or news message.
|
|
60 \\[mime-editor/insert-mail] insert a mail message.
|
|
61 \\[mime-editor/insert-signature] insert a signature file at end.
|
|
62 \\[mime-editor/insert-key] insert PGP public key.
|
|
63 \\[mime-editor/insert-tag] insert a new MIME tag.
|
|
64
|
|
65 [make enclosure (maybe multipart)]
|
|
66 \\[mime-editor/enclose-alternative-region] enclose as multipart/alternative.
|
|
67 \\[mime-editor/enclose-parallel-region] enclose as multipart/parallel.
|
|
68 \\[mime-editor/enclose-mixed-region] enclose as multipart/mixed.
|
|
69 \\[mime-editor/enclose-digest-region] enclose as multipart/digest.
|
|
70 \\[mime-editor/enclose-signed-region] enclose as PGP signed.
|
|
71 \\[mime-editor/enclose-encrypted-region] enclose as PGP encrypted.
|
|
72 \\[mime-editor/enclose-quote-region] enclose as verbose mode (to avoid to expand tags)
|
|
73
|
|
74 [other commands]
|
|
75 \\[mime-editor/set-transfer-level-7bit] set transfer-level as 7.
|
|
76 \\[mime-editor/set-transfer-level-8bit] set transfer-level as 8.
|
|
77 \\[mime-editor/set-split] set message splitting mode.
|
|
78 \\[mime-editor/set-sign] set PGP-sign mode.
|
|
79 \\[mime-editor/set-encrypt] set PGP-encryption mode.
|
|
80 \\[mime-editor/preview-message] preview editing MIME message.
|
|
81 \\[mime-editor/exit] exit and translate into a MIME compliant message.
|
|
82 \\[mime-editor/help] show this help.
|
|
83 \\[mime-editor/maybe-translate] exit and translate if in MIME mode, then split.
|
|
84
|
|
85 Additional commands are available in some major modes:
|
|
86 C-c C-c exit, translate and run the original command.
|
|
87 C-c C-s exit, translate and run the original command.
|
|
88
|
|
89 The following is a message example written in the tagged MIME format.
|
|
90 TABs at the beginning of the line are not a part of the message:
|
|
91
|
|
92 This is a conventional plain text. It should be translated
|
|
93 into text/plain.
|
|
94 --[[text/plain]]
|
|
95 This is also a plain text. But, it is explicitly specified as
|
|
96 is.
|
|
97 --[[text/plain; charset=ISO-8859-1]]
|
|
98 This is also a plain text. But charset is specified as
|
|
99 iso-8859-1.
|
|
100
|
|
101 ¡Hola! Buenos días. ¿Cómo está usted?
|
|
102 --[[text/enriched]]
|
|
103 This is a <bold>enriched text</bold>.
|
|
104 --[[image/gif][base64]]...image encoded in base64 here...
|
|
105 --[[audio/basic][base64]]...audio encoded in base64 here...
|
|
106
|
|
107 User customizable variables (not documented all of them):
|
|
108 mime-prefix
|
|
109 Specifies a key prefix for MIME minor mode commands.
|
|
110
|
|
111 mime-ignore-preceding-spaces
|
|
112 Preceding white spaces in a message body are ignored if non-nil.
|
|
113
|
|
114 mime-ignore-trailing-spaces
|
|
115 Trailing white spaces in a message body are ignored if non-nil.
|
|
116
|
|
117 mime-auto-hide-body
|
|
118 Hide a non-textual body message encoded in base64 after insertion
|
|
119 if non-nil.
|
|
120
|
|
121 mime-editor/transfer-level
|
|
122 A number of network transfer level. It should be bigger than 7.
|
|
123 If you are in 8bit-through environment, please set 8.
|
|
124
|
|
125 mime-editor/voice-recorder
|
|
126 Specifies a function to record a voice message and encode it.
|
|
127 The function `mime-editor/voice-recorder-for-sun' is for Sun
|
|
128 SparcStations.
|
|
129
|
|
130 mime/editor-mode-hook
|
|
131 Turning on MIME mode calls the value of mime/editor-mode-hook, if
|
|
132 it is non-nil.
|
|
133
|
|
134 mime-editor/translate-hook
|
|
135 The value of mime-editor/translate-hook is called just before translating
|
|
136 the tagged MIME format into a MIME compliant message if it is
|
|
137 non-nil. If the hook call the function mime-editor/insert-signature,
|
|
138 the signature file will be inserted automatically.
|
|
139
|
|
140 mime-editor/exit-hook
|
|
141 Turning off MIME mode calls the value of mime-editor/exit-hook, if it is
|
|
142 non-nil." t nil)
|
|
143
|
|
144 (defalias 'edit-mime 'mime/editor-mode)
|
|
145
|
|
146 ;;;***
|
|
147
|
|
148 (provide 'tm-autoloads)
|
|
149 ))
|