comparison man/tm/tm-edit-en.sgml @ 10:49a24b4fd526 r19-15b6

Import from CVS: tag r19-15b6
author cvs
date Mon, 13 Aug 2007 08:47:52 +0200
parents 4b173ad71786
children
comparison
equal deleted inserted replaced
9:6f2bbbbbe05a 10:49a24b4fd526
1 <!doctype sinfo system> 1 <!doctype sinfo system>
2 <!-- $Id: tm-edit-en.sgml,v 1.1 1996/12/22 00:09:32 steve Exp $ --> 2 <!-- $Id: tm-edit-en.sgml,v 1.2 1996/12/29 00:15:29 steve Exp $ -->
3 <head> 3 <head>
4 <title>tm-edit 7.90 Reference Manual (English Version) 4 <title>tm-edit 7.100 Reference Manual (English Version)
5 <author>MORIOKA Tomohiko <mail>morioka@jaist.ac.jp</mail> 5 <author>MORIOKA Tomohiko <mail>morioka@jaist.ac.jp</mail>
6 <date>1996/10/11 6 <date>1996/12/25
7 7
8 <toc> 8 <toc>
9 </head> 9 </head>
10 10
11 <body> 11 <body>
107 <kd> 107 <kd>
108 Insert single-part tag indicates text part. 108 Insert single-part tag indicates text part.
109 </kd> 109 </kd>
110 <kt>C-c C-x C-i 110 <kt>C-c C-x C-i
111 <kd> 111 <kd>
112 Insert file as a MIME attachment. 112 Insert file as a MIME attachment. If <kbd>C-u</kbd> is followed by
113 it, it asks media-type, subtype or encoding even if their default
114 values are specified. <cf node="tag specification for inserted file">
113 </kd> 115 </kd>
114 <kt>C-c C-x C-e 116 <kt>C-c C-x C-e
115 <kd> 117 <kd>
116 Insert external part. 118 Insert external part.
117 </kd> 119 </kd>
223 </kd> 225 </kd>
224 <kt>C-c C-x h 226 <kt>C-c C-x h
225 <kd> 227 <kd>
226 Set current editing message to encrypt or not. <cf node="PGP"> 228 Set current editing message to encrypt or not. <cf node="PGP">
227 </kl> 229 </kl>
230
231
232 <h1> Default media-type or encoding for inserted file
233 <node> tag specification for inserted file
234 <p>
235 When <kbd>C-c C-x C-i</kbd> (<code>mime-editor/insert-file</code>) is
236 pressed, tag parameters for inserted file, such as media-type or
237 encoding, are detected by variable <code>mime-file-types</code>.
238 <p>
239 When <kbd>C-u</kbd> is followed by it or parameter is not found from
240 the variable, it asks from user. (When <kbd>C-u</kbd> is followed by
241 it, detected value is used as default value)
242 <p>
243 If you want to change default value for file names, please change
244 variable <code>mime-file-types</code>.
245
246
247 <defvar name="mime-file-types">
248 <p>
249 Specification of default value of tag for file name of inserted file.
250 <p>
251 It is a list of following list:
252
253 <lisp>
254 (FILE_PAT TYPE SUBTYPE PARAMS ENCODING
255 DISPOSITION_TYPE DISPOSITION_PARAMS)
256 </lisp>
257
258 Each elements of the list are following:
259
260 <dl>
261 <dt>FILE_PAT
262 <dd>regular expression of file name
263 <dt>TYPE
264 <dd>media type
265 <dt>SUBTYPE
266 <dd>media subtype
267 <dt>PARAMS
268 <dd>parameters of Content-Type field
269 <dt>ENCODING
270 <dd>Content-Transfer-Encoding
271 <dt>DISPOSITION_TYPE
272 <dd>disposition-type
273 <dt>DISPOSITION_PARAMS
274 <dd>parameters of Content-Disposition field
275 </dl>
276
277 <noindent>
278 Example: Specify application/rtf as default media type for
279 <file>*.rtf</file>
280
281 <lisp>
282 (call-after-loaded
283 'tm-edit
284 (lambda ()
285 (set-alist 'mime-file-types
286 "\\.rtf$"
287 '("application" "rtf" nil nil
288 "attachment" (("filename" . file)))
289 )))
290 </lisp>
291 </defvar>
228 292
229 293
230 <h1> transfer level 294 <h1> transfer level
231 <node> transfer level 295 <node> transfer level
232 <p> 296 <p>
426 <p> 490 <p>
427 Default value is <code>nil</code>. 491 Default value is <code>nil</code>.
428 </defvar> 492 </defvar>
429 493
430 494
495 <h1> Acknowledgments
496 <node> Acknowledgments
497 <p>
498 First of all, I thank UMEDA Masanobu for his work of
499 <file>mime.el</file>, which is the origin of tm-edit, and permission
500 to rewrite his work as tm-edit.
501 <p>
502 I thank members of two tm mailing lists, Japanese and English version.
503
504
431 <h1> Concept Index 505 <h1> Concept Index
432 <node> Concept Index 506 <node> Concept Index
433 507
434 <cindex> 508 <cindex>
435 509