aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-06-16 00:48:04 +0000
committerBill Wohler2006-06-16 00:48:04 +0000
commitfbf62741d6938592fa7fce7cfcd6e6bdcd28148b (patch)
treebaf3ca992c9f8a71ac214bfb111be0f4fb266104
parent2f182d8d513907a70ebd0d5042da0dbe0a4835dd (diff)
downloademacs-fbf62741d6938592fa7fce7cfcd6e6bdcd28148b.tar.gz
emacs-fbf62741d6938592fa7fce7cfcd6e6bdcd28148b.zip
(mh-send-uses-spost): New variable.
(mh-send-letter): Do not use -msgid and -mime if mh-send-uses-spost is t (closes SF #1486726).
-rw-r--r--lisp/mh-e/ChangeLog6
-rw-r--r--lisp/mh-e/mh-comp.el31
2 files changed, 27 insertions, 10 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 94632f8c38d..b9534ef9647 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,9 @@
12006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
2
3 * mh-comp.el (mh-send-uses-spost): New variable.
4 (mh-send-letter): Do not use -msgid and -mime if
5 mh-send-uses-spost is t (closes SF #1486726).
6
12006-05-06 Bill Wohler <wohler@newt.com> 72006-05-06 Bill Wohler <wohler@newt.com>
2 8
3 Release MH-E version 8.0. 9 Release MH-E version 8.0.
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index ad80e3be838..7156b0cf318 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -53,6 +53,15 @@
53 "Name of the MH send program. 53 "Name of the MH send program.
54Some sites need to change this because of a name conflict.") 54Some sites need to change this because of a name conflict.")
55 55
56(defvar mh-send-uses-spost-flag nil
57 "Non-nil means \"send\" uses \"spost\" to submit messages.
58
59If the value of \"postproc:\" is \"spost\", you may need to set
60this variable to t to tell MH-E to avoid using features of
61\"post\" that are not supported by \"spost\". You'll know that
62you'll need to do this if sending mail fails with an error of
63\"spost: -msgid unknown\".")
64
56(defvar mh-redist-background nil 65(defvar mh-redist-background nil
57 "If non-nil redist will be done in background like send. 66 "If non-nil redist will be done in background like send.
58This allows transaction log to be visible if -watch, -verbose or 67This allows transaction log to be visible if -watch, -verbose or
@@ -267,16 +276,18 @@ use `mh-send-prog' to tell MH-E the name."
267 (and (boundp 'default-buffer-file-coding-system ) 276 (and (boundp 'default-buffer-file-coding-system )
268 default-buffer-file-coding-system) 277 default-buffer-file-coding-system)
269 'iso-latin-1)))) 278 'iso-latin-1))))
270 ;; Adding a Message-ID field looks good, makes it easier to search for 279 ;; Older versions of spost do not support -msgid and -mime.
271 ;; message in your +outbox, and best of all doesn't break threading for 280 (unless mh-send-uses-spost-flag
272 ;; the recipient if you reply to a message in your +outbox. 281 ;; Adding a Message-ID field looks good, makes it easier to search for
273 (setq mh-send-args (concat "-msgid " mh-send-args)) 282 ;; message in your +outbox, and best of all doesn't break threading for
274 ;; The default BCC encapsulation will make a MIME message unreadable. 283 ;; the recipient if you reply to a message in your +outbox.
275 ;; With nmh use the -mime arg to prevent this. 284 (setq mh-send-args (concat "-msgid " mh-send-args))
276 (if (and (mh-variant-p 'nmh) 285 ;; The default BCC encapsulation will make a MIME message unreadable.
277 (mh-goto-header-field "Bcc:") 286 ;; With nmh use the -mime arg to prevent this.
278 (mh-goto-header-field "Content-Type:")) 287 (if (and (mh-variant-p 'nmh)
279 (setq mh-send-args (concat "-mime " mh-send-args))) 288 (mh-goto-header-field "Bcc:")
289 (mh-goto-header-field "Content-Type:"))
290 (setq mh-send-args (concat "-mime " mh-send-args))))
280 (cond (arg 291 (cond (arg
281 (pop-to-buffer mh-mail-delivery-buffer) 292 (pop-to-buffer mh-mail-delivery-buffer)
282 (erase-buffer) 293 (erase-buffer)