Mercurial > emacs
annotate lisp/gnus/mm-encode.el @ 103635:11f316dfa4b5
* net/tramp.el (tramp-do-copy-or-rename-file-directly): Handle
also the 'rename case, when setting file modes. (Bug#3712)
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 30 Jun 2009 11:55:19 +0000 |
parents | a9dc0e7c3f2b |
children | 18c2aea5083c |
rev | line source |
---|---|
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
1 ;;; mm-encode.el --- Functions for encoding MIME things |
64754
fafd692d1e40
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64085
diff
changeset
|
2 |
fafd692d1e40
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64085
diff
changeset
|
3 ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
100908 | 4 ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
31717 | 5 |
6 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | |
7 ;; MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
8 ;; This file is part of GNU Emacs. | |
9 | |
94662
f42ef85caf91
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94369
diff
changeset
|
10 ;; GNU Emacs is free software: you can redistribute it and/or modify |
31717 | 11 ;; it under the terms of the GNU General Public License as published by |
94662
f42ef85caf91
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94369
diff
changeset
|
12 ;; the Free Software Foundation, either version 3 of the License, or |
f42ef85caf91
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94369
diff
changeset
|
13 ;; (at your option) any later version. |
31717 | 14 |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
94662
f42ef85caf91
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94369
diff
changeset
|
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
31717 | 18 ;; GNU General Public License for more details. |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
94662
f42ef85caf91
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94369
diff
changeset
|
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
31717 | 22 |
23 ;;; Commentary: | |
24 | |
25 ;;; Code: | |
26 | |
32223
1d234b7994c8
Require CL. At least, for `incf'.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31717
diff
changeset
|
27 (eval-when-compile (require 'cl)) |
31717 | 28 (require 'mail-parse) |
29 (require 'mailcap) | |
95820
645fb33380d6
Remove unnecessary eval-and-compile of autoloads.
Glenn Morris <rgm@gnu.org>
parents:
94662
diff
changeset
|
30 (autoload 'mm-body-7-or-8 "mm-bodies") |
645fb33380d6
Remove unnecessary eval-and-compile of autoloads.
Glenn Morris <rgm@gnu.org>
parents:
94662
diff
changeset
|
31 (autoload 'mm-long-lines-p "mm-bodies") |
31717 | 32 |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
33 (defcustom mm-content-transfer-encoding-defaults |
31717 | 34 '(("text/x-patch" 8bit) |
35 ("text/.*" qp-or-base64) | |
36 ("message/rfc822" 8bit) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
37 ("application/emacs-lisp" qp-or-base64) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
38 ("application/x-emacs-lisp" qp-or-base64) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
39 ("application/x-patch" qp-or-base64) |
43420
33c54ecf6602
* mm-encode.el (mm-content-transfer-encoding-defaults): Set
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
38413
diff
changeset
|
40 (".*" base64)) |
31717 | 41 "Alist of regexps that match MIME types and their encodings. |
42 If the encoding is `qp-or-base64', then either quoted-printable | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
43 or base64 will be used, depending on what is more efficient. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
44 |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
45 `qp-or-base64' has another effect. It will fold long lines so that |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
46 MIME parts may not be broken by MTA. So do `quoted-printable' and |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
47 `base64'. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
48 |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
49 Note: It affects body encoding only when a part is a raw forwarded |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
50 message (which will be made by `gnus-summary-mail-forward' with the |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
51 arg 2 for example) or is neither the text/* type nor the message/* |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
52 type. Even though in those cases, you can use the `encoding' MML tag |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
53 to specify encoding of non-ASCII MIME parts." |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
54 :type '(repeat (list (regexp :tag "MIME type") |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
55 (choice :tag "encoding" |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
56 (const 7bit) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
57 (const 8bit) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
58 (const qp-or-base64) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
59 (const quoted-printable) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
60 (const base64)))) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
61 :group 'mime) |
31717 | 62 |
63 (defvar mm-use-ultra-safe-encoding nil | |
64 "If non-nil, use encodings aimed at Procrustean bed survival. | |
65 | |
66 This means that textual parts are encoded as quoted-printable if they | |
67 contain lines longer than 76 characters or starting with \"From \" in | |
68 the body. Non-7bit encodings (8bit, binary) are generally disallowed. | |
69 This is to reduce the probability that a broken MTA or MDA changes the | |
70 message. | |
71 | |
72 This variable should never be set directly, but bound before a call to | |
73 `mml-generate-mime' or similar functions.") | |
74 | |
75 (defun mm-insert-rfc822-headers (charset encoding) | |
76 "Insert text/plain headers with CHARSET and ENCODING." | |
77 (insert "MIME-Version: 1.0\n") | |
78 (insert "Content-Type: text/plain; charset=" | |
79 (mail-quote-string (downcase (symbol-name charset))) "\n") | |
80 (insert "Content-Transfer-Encoding: " | |
81 (downcase (symbol-name encoding)) "\n")) | |
82 | |
83 (defun mm-insert-multipart-headers () | |
84 "Insert multipart/mixed headers." | |
85 (let ((boundary "=-=-=")) | |
86 (insert "MIME-Version: 1.0\n") | |
87 (insert "Content-Type: multipart/mixed; boundary=\"" boundary "\"\n") | |
88 boundary)) | |
89 | |
90 (defun mm-default-file-encoding (file) | |
91 "Return a default encoding for FILE." | |
92 (if (not (string-match "\\.[^.]+$" file)) | |
93 "application/octet-stream" | |
94 (mailcap-extension-to-mime (match-string 0 file)))) | |
95 | |
94369 | 96 (defun mm-safer-encoding (encoding &optional type) |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
97 "Return an encoding similar to ENCODING but safer than it." |
31717 | 98 (cond |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
99 ((eq encoding '7bit) '7bit) ;; 7bit is considered safe. |
94369 | 100 ((memq encoding '(8bit quoted-printable)) |
101 ;; According to RFC2046, 5.2.1, RFC822 Subtype, "quoted-printable" is not | |
102 ;; a valid encoding for message/rfc822: | |
103 ;; No encoding other than "7bit", "8bit", or "binary" is permitted for the | |
104 ;; body of a "message/rfc822" entity. | |
105 (if (string= type "message/rfc822") '8bit 'quoted-printable)) | |
48588 | 106 ;; The remaining encodings are binary and base64 (and perhaps some |
31717 | 107 ;; non-standard ones), which are both turned into base64. |
94369 | 108 (t (if (string= type "message/rfc822") 'binary 'base64)))) |
31717 | 109 |
110 (defun mm-encode-content-transfer-encoding (encoding &optional type) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
111 "Encode the current buffer with ENCODING for MIME type TYPE. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
112 ENCODING can be: nil (do nothing); one of `quoted-printable', `base64'; |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
113 `7bit', `8bit' or `binary' (all do nothing); a function to do the encoding." |
31717 | 114 (cond |
115 ((eq encoding 'quoted-printable) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
116 ;; This used to try to make a multibyte buffer unibyte. That's |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
117 ;; completely wrong, since you'd get QP-encoded emacs-mule. If |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
118 ;; this gets run on multibyte text it's an error that needs |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
119 ;; fixing, and the encoding function will signal an error. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
120 ;; Likewise base64 below. |
31717 | 121 (quoted-printable-encode-region (point-min) (point-max) t)) |
122 ((eq encoding 'base64) | |
65342
c71b1b2d2d04
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-530
Miles Bader <miles@gnu.org>
parents:
64754
diff
changeset
|
123 (when (string-match "\\`text/" type) |
31717 | 124 (goto-char (point-min)) |
125 (while (search-forward "\n" nil t) | |
126 (replace-match "\r\n" t t))) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
127 (base64-encode-region (point-min) (point-max))) |
31717 | 128 ((memq encoding '(7bit 8bit binary)) |
129 ;; Do nothing. | |
130 ) | |
131 ((null encoding) | |
132 ;; Do nothing. | |
133 ) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
134 ;; Fixme: Ignoring errors here looks bogus. |
31717 | 135 ((functionp encoding) |
136 (ignore-errors (funcall encoding (point-min) (point-max)))) | |
137 (t | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
138 (error "Unknown encoding %s" encoding)))) |
31717 | 139 |
140 (defun mm-encode-buffer (type) | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
141 "Encode the buffer which contains data of MIME type TYPE. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
142 TYPE is a string or a list of the components. |
31717 | 143 The encoding used is returned." |
144 (let* ((mime-type (if (stringp type) type (car type))) | |
145 (encoding | |
146 (or (and (listp type) | |
147 (cadr (assq 'encoding type))) | |
148 (mm-content-transfer-encoding mime-type))) | |
149 (bits (mm-body-7-or-8))) | |
150 ;; We force buffers that are 7bit to be unencoded, no matter | |
151 ;; what the preferred encoding is. | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
152 ;; Only if the buffers don't contain lone lines. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
153 (when (and (eq bits '7bit) (not (mm-long-lines-p 76))) |
31717 | 154 (setq encoding bits)) |
155 (mm-encode-content-transfer-encoding encoding mime-type) | |
156 encoding)) | |
157 | |
158 (defun mm-insert-headers (type encoding &optional file) | |
159 "Insert headers for TYPE." | |
160 (insert "Content-Type: " type) | |
161 (when file | |
162 (insert ";\n\tname=\"" (file-name-nondirectory file) "\"")) | |
163 (insert "\n") | |
164 (insert (format "Content-Transfer-Encoding: %s\n" encoding)) | |
165 (insert "Content-Disposition: inline") | |
166 (when file | |
167 (insert ";\n\tfilename=\"" (file-name-nondirectory file) "\"")) | |
168 (insert "\n") | |
169 (insert "\n")) | |
170 | |
171 (defun mm-content-transfer-encoding (type) | |
172 "Return a CTE suitable for TYPE to encode the current buffer." | |
173 (let ((rules mm-content-transfer-encoding-defaults)) | |
174 (catch 'found | |
175 (while rules | |
176 (when (string-match (caar rules) type) | |
177 (throw 'found | |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48588
diff
changeset
|
178 (let ((encoding |
31717 | 179 (if (eq (cadr (car rules)) 'qp-or-base64) |
180 (mm-qp-or-base64) | |
181 (cadr (car rules))))) | |
182 (if mm-use-ultra-safe-encoding | |
94369 | 183 (mm-safer-encoding encoding type) |
31717 | 184 encoding)))) |
185 (pop rules))))) | |
186 | |
187 (defun mm-qp-or-base64 () | |
56927
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
188 "Return the type with which to encode the buffer. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
189 This is either `base64' or `quoted-printable'." |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
190 (if (equal mm-use-ultra-safe-encoding '(sign . "pgp")) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
191 ;; perhaps not always accurate? |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
192 'quoted-printable |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
193 (save-excursion |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
194 (let ((limit (min (point-max) (+ 2000 (point-min)))) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
195 (n8bit 0)) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
196 (goto-char (point-min)) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
197 (skip-chars-forward "\x20-\x7f\r\n\t" limit) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
198 (while (< (point) limit) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
199 (incf n8bit) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
200 (forward-char 1) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
201 (skip-chars-forward "\x20-\x7f\r\n\t" limit)) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
202 (if (or (< (* 6 n8bit) (- limit (point-min))) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
203 ;; Don't base64, say, a short line with a single |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
204 ;; non-ASCII char when splitting parts by charset. |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
205 (= n8bit 1)) |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
206 'quoted-printable |
55fd4f77387a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
207 'base64))))) |
31717 | 208 |
209 (provide 'mm-encode) | |
210 | |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
79708
diff
changeset
|
211 ;; arch-tag: 7d01bba4-d469-4851-952b-dc863f84ed66 |
31717 | 212 ;;; mm-encode.el ends here |