Mark Lillibridge
bb709253f3
Fix bug #9521 with forwarding MIME messages in Rmail.
...
lisp/mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
the undecoded text of the message being forwarded.
2012-12-29 10:50:27 +02:00
Glenn Morris
99a1e70110
Fix infloop in rmailmm on multipart messages with epilogues
...
* lisp/mail/rmailmm.el (rmail-mime-process-multipart):
Do not confuse a multipart message with an epilogue
with a "truncated" one; fixes 2011-06-27 change.
Fixes: debbugs:10101
2012-10-07 00:49:16 -07:00
Richard M. Stallman
0dee970c88
When toggling mime processing off, just don't do mime processing.
2012-09-17 07:49:10 -04:00
Kenichi Handa
2e51d4b5fb
mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and show a warning message without signalling an error (Bug#11282).
2012-05-03 14:47:24 +09:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
99d990817c
Spelling fixes.
2011-12-18 22:21:24 -08:00
Glenn Morris
c0bc0fd4ff
Make rmail-mime toggle headers of non-mime messages.
...
* lisp/mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
if called on a non-mime message just toggle the headers.
Fixes: debbugs:8006
2011-11-23 19:59:09 -08:00
Glenn Morris
394c65f1c1
Move rmailmm test functions to test/ directory.
...
* lisp/mail/rmailmm.el (test-rmail-mime-handler)
(test-rmail-mime-bulk-handler)
(test-rmail-mime-multipart-handler): Move tests to test/ directory.
* test/rmailmm.el: New file, split from lisp/mail/rmailmm.el.
2011-11-21 21:55:06 -05:00
Eli Zaretskii
49ae5b39fa
Fix bug #9520 with MIME display toggling.
...
lisp/mail/rmailmm.el (rmail-mime-display-header)
(rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
(rmail-mime-entity-segment, rmail-mime-toggle-raw)
(rmail-mime-toggle-hidden, rmail-mime-insert-text)
(rmail-mime-insert-bulk, rmail-mime-insert-multipart)
(rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
of a raw aref.
(rmail-mime-entity-segment): To get past the tagline, move forward
2 more lines, to account for the 2 empty lines that precede and
follow the line with the buttons.
(rmail-mime-update-tagline): Move one more line, to get past the
empty line that follows the buttons in the tagline.
2011-11-19 13:49:54 +02:00
Glenn Morris
d20faa20cf
Add optional arguments to rmailmm to force state, not just toggle.
...
* lisp/mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
which wasn't being used. Add optional arg to force given state.
(rmail-mime): Add optional arg to force given state.
2011-11-15 18:36:54 -05:00
Glenn Morris
45261b503c
Small rmail and rmailmm changes, many doc fixes.
...
* lisp/mail/rmail.el (rmail-file-coding-system): It's only ever used
in a boolean sense, so just make it a boolean, and fix the doc.
(rmail-show-mime-function, rmail-mime-feature)
(rmail-require-mime-maybe): Doc fixes.
(rmail-show-message-1): Check rmail-show-mime-function is non-nil.
* lisp/mail/rmailmm.el (rmail-show-mime): Doc fix.
2011-11-15 00:23:03 -08:00
Glenn Morris
672b871d98
rmailmm doc fixes.
...
* lisp/mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
(rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
(rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
(rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
(rmail-mime, rmail-show-mime): Doc fixes.
2011-11-14 23:45:45 -08:00
Juanma Barranquero
0b381c7eb8
Fix typos.
2011-11-14 22:00:24 +01:00
Paul Eggert
8350f087ef
Spelling fixes.
2011-11-14 12:23:26 -08:00
Eli Zaretskii
a3cf097fd0
Fix display by Rmail of bidirectional text in MIME email messages.
...
lisp/mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
newline before and after the tag line, so it doesn't interfere
with determining the paragraph direction of bidirectional text.
2011-09-03 11:44:16 +03:00
Richard M. Stallman
354cf0ba0b
Rmail mime: Use markers for positions in entities.
2011-07-06 18:43:46 -04:00
Richard M. Stallman
a9a936b988
Fix rmail mime search bug when entity is a string.
2011-07-06 12:48:37 -04:00
Richard M. Stallman
aa8a705c16
rmailmm.el: record truncated mime entities.
2011-07-06 12:44:33 -04:00
Richard M. Stallman
d31fd9acf0
rmailmm: Handle truncated messages.
2011-06-27 04:01:30 -04:00
Richard M. Stallman
7a70468fb1
Fix bug: Rmail f copied the entire Rmail file into *mail*.
2011-06-22 19:35:21 -04:00
Glenn Morris
cce7d53002
Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org.
2011-02-22 20:19:28 -08:00
Kenichi Handa
c1449bffe2
mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found.
2011-02-23 11:32:35 +09:00
Glenn Morris
67ab0163d6
Merge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca
2011-02-19 11:40:59 -08:00
Kenichi Handa
16bc9688d8
Fix setting of buffer-file-coding-system for MIME message.
2011-02-19 18:22:24 +09:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Glenn Morris
d52969e8af
Merge from emacs-23 branch, up to 2010-05-20T21:33:58Z!juri@jurta.org.
...
Note:
emacs-23 2010-05-20T01:32:08Z!lekktu@gmail.com is rendered unnecessary by pre-existing 2010-05-20
trunk change.
2011-01-15 12:38:27 -08:00
Glenn Morris
362b9d483c
Merge from emacs-23 branch.
2011-01-15 12:03:38 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Kenichi Handa
1a6a03e4a3
Fix setting of buffer-file-coding-system of RMAIL buffer.
2011-01-14 13:04:10 +09:00
Kenichi Handa
e7ca0062a4
Another improvement of MIME handling in rmail.
2011-01-12 15:08:55 +09:00
Kenichi Handa
8434f23924
Fix handling of unknown MIME type (bug#7651).
2011-01-04 16:09:46 +09:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba
Merge changes from emacs-23 branch
2011-01-02 15:31:19 -05:00
Kenichi Handa
8258ae3f5a
Fix error handling of MIME parsing.
2010-12-24 23:00:14 +09:00
Kenichi Handa
186f7f0b7f
Enable display mode of MIME message in rmail.
2010-12-24 13:38:22 +09:00
Stefan Monnier
f49d1f52b2
Merge from emacs-23
2010-12-13 10:27:36 -05:00
Kenichi Handa
7e116860bb
Implement rmail-search-mime-message-function.
2010-11-29 21:22:39 +09:00
Chong Yidong
07976ae3b8
Merge changes from emacs-23 branch
2010-11-27 15:04:57 -05:00
Kenichi Handa
afde451abe
mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual.
2010-11-26 21:58:41 +09:00
Kenichi Handa
d1be4ec274
Improve rmail's MIME handling.
2010-11-26 13:06:59 +09:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Eli Zaretskii
134a027f69
mail/rmailmm.el (rmail-mime-save): Make the temp buffer unibyte,
...
so compressed attachments are not compressed again.
See http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00599.html
2010-07-16 12:59:37 +03:00
Stefan Monnier
c893016b07
* mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
...
just because we see "encoding: 8bit".
* mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
2010-01-22 11:43:54 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
0c9ff2c516
(rmail-mime-handle): Doc fix.
...
(rmail-mime-show): Downcase the encoding. (Bug#5070)
2009-12-01 03:13:03 +00:00
Glenn Morris
d73a0317a0
(rmail-mime): Decode in fundamental-mode. (Bug#4993)
2009-11-21 02:36:54 +00:00
Glenn Morris
a92cdd49b1
(rmail-mime-show-images, rmail-mime-bulk-handler):
...
Add option to only show images below a certain size.
(rmail-mime-multipart-handler): Remove unnecessary save-match-data and
save-excursion calls.
2009-09-26 19:20:48 +00:00
Glenn Morris
692208828e
(rmail-mime-bulk-handler): Print the size of attachments.
2009-09-25 06:15:01 +00:00
Glenn Morris
e8652dd9c5
(rmail-mime): New custom group.
...
Move all defcustoms in this file into this group.
(rmail-mime-media-type-handlers-alist): Revert previous change.
(rmail-mime-show-images): New option.
(rmail-mime-total-number-of-bulk-attachments): Remove variable and all
references to it, since it wasn't actually used for anything.
(rmail-mime-insert-image): New function.
(rmail-mime-image): Use rmail-mime-insert-image.
(rmail-mime-bulk-handler): Remove optional `image' argument, instead
obey the value of `rmail-mime-show-images' option.
2009-09-25 03:39:04 +00:00