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