+ 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * mh-acros.el (mh-do-at-event-location): Use point-marker.
+ * mh-search.el (mh-index-create-imenu-index): Likewise.
+ * mh-xface.el (mh-x-image-url-display): Likewise.
+
+2012-12-10 Jeffrey C Honig <jch@honig.net>
+
+ * mh-folder.el (mh-inc-folder): Revert SF #2321115, SF bugs/250
+ which processed pending deletes and refiles. Call to
+ mh-process-or-undo-commands to insure that pending changes are
+ properly tagged after including new mail. (Closes SF bugs/271).
+
+2012-12-08 Jeffrey C Honig <jch@honig.net>
+
+ * mh-comp.el: Insure that mail-header-separator is set before
+ invoking any mml functions. (closes SF #270).
+
+2012-11-25 Bill Wohler <wohler@newt.com>
+
+ * mh-e.el (mh-version): Add +bzr to version.
+
2012-11-25 Bill Wohler <wohler@newt.com>
Release MH-E version 8.4.
* ChangeLog.1: New file. Contains old ChangeLog.
- Copyright (C) 2005-2012 Free Software Foundation, Inc.
+ Copyright (C) 2005-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
;;; mh-comp.el --- MH-E functions for composing and sending messages
- ;; Copyright (C) 1993, 1995, 1997, 2000-2012 Free Software Foundation, Inc.
+ ;; Copyright (C) 1993, 1995, 1997, 2000-2013 Free Software Foundation,
+ ;; Inc.
;; Author: Bill Wohler <wohler@newt.com>
;; Maintainer: Bill Wohler <wohler@newt.com>
(mh-forwarded-letter-subject orig-from orig-subject)))
(mh-insert-fields "Subject:" forw-subject)
(goto-char (point-min))
+ ;; Set the local value of mh-mail-header-separator according to what is
+ ;; present in the buffer...
+ (set (make-local-variable 'mh-mail-header-separator)
+ (save-excursion
+ (goto-char (mh-mail-header-end))
+ (buffer-substring-no-properties (point) (mh-line-end-position))))
+ (set (make-local-variable 'mail-header-separator) mh-mail-header-separator) ;override sendmail.el
;; If using MML, translate MH-style directive
(if (equal mh-compose-insertion 'mml)
(save-excursion
;;; mh-e.el --- GNU Emacs interface to the MH mail system
- ;; Copyright (C) 1985-1988, 1990, 1992-1995, 1997, 1999-2012
- ;; Free Software Foundation, Inc.
+ ;; Copyright (C) 1985-1988, 1990, 1992-1995, 1997, 1999-2013 Free
+ ;; Software Foundation, Inc.
;; Author: Bill Wohler <wohler@newt.com>
;; Maintainer: Bill Wohler <wohler@newt.com>
-;; Version: 8.4
+;; Version: 8.4+bzr
;; Keywords: mail
;; This file is part of GNU Emacs.
;; Try to keep variables local to a single file. Provide accessors if
;; variables are shared. Use this section as a last resort.
-(defconst mh-version "8.4" "Version number of MH-E.")
+(defconst mh-version "8.4+bzr" "Version number of MH-E.")
;; Variants
;;; mh-folder.el --- MH-Folder mode
- ;; Copyright (C) 2002-2003, 2005-2012 Free Software Foundation, Inc.
+ ;; Copyright (C) 2002-2003, 2005-2013 Free Software Foundation, Inc.
;; Author: Bill Wohler <wohler@newt.com>
;; Maintainer: Bill Wohler <wohler@newt.com>
return-value))
;;;###mh-autoload
-(defun mh-inc-folder (&optional file folder dont-exec-pending)
+(defun mh-inc-folder (&optional file folder)
"Incorporate new mail into a folder.
You can incorporate mail from any file into the current folder by
mail.
Do not call this function from outside MH-E; use \\[mh-rmail]
-instead.
-
-In a program, the processing of outstanding commands is not performed
-if DONT-EXEC-PENDING is non-nil."
+instead."
(interactive (list (if current-prefix-arg
(expand-file-name
(read-file-name "inc mail from file: "
(mh-prompt-for-folder "inc mail into" mh-inbox t))))
(if (not folder)
(setq folder mh-inbox))
- (unless dont-exec-pending
- (mh-process-or-undo-commands folder))
(let ((threading-needed-flag nil))
(let ((config (current-window-configuration)))
(when (and mh-show-buffer (get-buffer mh-show-buffer))
nil))))
(mh-toggle-threads))
(beginning-of-line)
+ (when (mh-outstanding-commands-p)
+ (mh-notate-deleted-and-refiled))
(if (and mh-showing-mode (looking-at mh-scan-valid-regexp)) (mh-show))
(run-hooks 'mh-inc-folder-hook)))