summaryrefslogtreecommitdiff
path: root/lisp/mail/rmailedit.el
Commit message (Collapse)AuthorAgeFilesLines
* Remove come compat code from rmailedit.elLars Ingebrigtsen2020-08-181-3/+1
| | | | | * lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for mode-line-modified, which is always defined.
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Ensure Rmail summary is updated after editing a messageEli Zaretskii2019-11-191-4/+6
| | | | | * lisp/mail/rmailedit.el (rmail-cease-edit): If this mbox file has a summary, update the summary after editing. (Bug#38193)
* Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert2019-05-251-0/+1
| | | | | | Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is no special maintainer for a file. Although this wasn't documented it was common practice and removing the lines didn't have consensus.
* Fixes for "Maintainer:" and related linesPaul Eggert2019-05-191-1/+0
| | | | | | Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* ; Fix doc typos related to indefinite articlesGlenn Morris2018-02-161-1/+1
|
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Fix problems when editing raw undecoded message (Bug#28671)Ken Olum2017-10-091-9/+17
| | | | | | | * lisp/mail/rmailedit.el (rmail-cease-edit): If rmail-old-mime-state is set, meaning that we are editing the raw message, do not encode it again. Delete old body after, not before, inserting new, to avoid moving marker at beginning of next message.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Fix Rmail editing with reapplying encoding to message bodyKen Olum2017-09-081-20/+50
| | | | | | | | | | * lisp/mail/rmailedit.el (rmail-cease-edit): If no content-type in edited headers, look for one in original headers and add it to edited headers. (Bug #26918) Use a marker to track start of new body, so that content-transfer-encoding gets applied only to body. (Bug #27353). Ensure blank line at end of message after encoding, not before.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25John Wiegley2016-01-111-1/+1
|\ \ | |/ | | | | | | | | ef33bc7 Spelling and grammar fixes 9c3dbab Fix copyright years by hand 0e96320 Update copyright year to 2016
| * Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | | | | | Run admin/update-copyright.
* | rmail generate autoloads to non-versioned file.Phillip Lord2015-12-171-1/+1
|/ | | | | | | | | | * lisp/Makefile.in: Add rmail-loaddefs.el to autogenel. * lisp/mail/rmail.el: Remove autoloads, add require. * lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el, lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el, lisp/mail/rmailsort.el,lisp/mail/rmailsum.el, lisp/mail/undigest.el: Update file-local. * test/lisp/mail/rmail-tests.el:
* ; Comments.Glenn Morris2015-04-271-0/+2
|
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-091-1/+1
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-021-1/+1
|\
| * Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
| |
* | rmail-cease-edit fixes related to "^From " escapingGlenn Morris2012-12-071-4/+20
|/ | | | | | | | | * mail/rmail.el (rmail-mime-decoded): New permanent local. (rmail-show-message-1): Set rmail-mime-decoded when appropriate. * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format and rmail-mime-decoded. Fixes: debbugs:9841
* rmailedit commentGlenn Morris2012-09-181-0/+2
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Try to stop rmailedit destroying mime messages (bug#9840)Glenn Morris2011-11-151-2/+35
| | | | | | | | * lisp/mail/rmailedit.el: Require rmailmm when compiling. (rmail-old-mime-state): New declaration. (rmail-edit-current-message): If editing a mime message, edit the "raw" message from the mbox buffer. (rmail-cease-edit): Handle mime messages.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|/
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (rmail-cease-edit): Give an error if the end of the headers cannot beGlenn Morris2009-10-151-21/+19
| | | | | located. Simplify, subtracting superflous save-excursions. (See http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-10/msg00182.html)
* (rmail-cease-edit): If there is a Content-Type header we don'tGlenn Morris2009-10-061-28/+37
| | | | | understand, don't insert another. (Bug#4624) If changing mime charset, insert the new one in the right place.
* Put autoloads in rmail.el rather than loaddefs.el.Glenn Morris2009-09-101-0/+4
|
* * mail/rmailedit.el (rmail-edit-mode): Use auto-save-include-big-deletions.Chong Yidong2009-07-211-0/+4
| | | | | | * mail/rmail.el (rmail-variables): Use auto-save-include-big-deletions. * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 changes.
* * mail/rmailedit.el (rmail-edit-current-message):Richard M. Stallman2009-05-171-1/+1
| | | | | Call rmail-modify-format here. (rmail-cease-edit): Not here.
* * mail/rmailedit.el (rmail-cease-edit): Call rmail-modify-format.Richard M. Stallman2009-04-101-0/+1
|
* Comment.Glenn Morris2009-03-111-2/+3
|
* (rmail-edit-mode): Set write-region-annotate-functions. (Bug#2625)Glenn Morris2009-03-111-0/+3
|
* (rmail-cease-edit): Use rmail-ensure-blank-line.Glenn Morris2009-03-051-6/+3
|
* (rmail-edit-mode): Doc fix.Glenn Morris2009-03-041-9/+8
|
* (rmail-cease-edit): Notice changes in buffer's encoding during editing.Eli Zaretskii2009-02-211-1/+42
| | | | | Make sure to use encoding that can safely encode the message. Rewrite MIME charset= header if the new encoding is different from the old one.
* (rmail-edit-diff-headers): Delete spurious reference to OLD.Richard M. Stallman2009-02-151-3/+3
|
* Handle editing of header fields.Richard M. Stallman2009-02-141-6/+145
| | | | | | | | | (rmail-old-headers): New variable. (rmail-edit-current-message): Set it, recording current headers. (rmail-cease-edit): Compute new headers and diff against old ones. Update the mbox buffer with the changes that were made. (rmail-edit-headers-alist): New function. (rmail-edit-diff-headers, rmail-edit-update-headers): New functions.
* Just require rmail.Glenn Morris2009-02-101-47/+32
| | | | | | | | (rmail-old-pruned): Add doc string. (rmail-edit-current-message): Use rmail-msg-is-pruned. (rmail-cease-edit): Don't mangle the leading From line. Don't mark as edited if there were no changes. (Bug#2256) Correctly restore header state.
* (rmail-cease-edit): Look for the message's encoding, and itsEli Zaretskii2009-02-071-11/+19
| | | | | "content-transfer-encoding" and "content-type" headers only in the headers' portion. (Bug#2017)
* (rmail-cease-edit): narrow-to-region before extracting mail message headers.Eli Zaretskii2009-02-071-14/+14
| | | | | Use encode-coding-region instead of insert-buffer-substring for re-encoding edited message. Add qp/b64 encoding only after text was encoded.
* (rmail-edit-map): Move init into declaration.Stefan Monnier2009-02-011-15/+14
| | | | (rmail-edit-mode, rmail-cease-edit): Use with-current-buffer.
* (rmail-summary-disable): Fix declaration.Glenn Morris2009-01-291-1/+1
|