emacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-commit] emacs/lisp/mh-e mh-comp.el ChangeLog


From: Bill Wohler
Subject: [Emacs-commit] emacs/lisp/mh-e mh-comp.el ChangeLog
Date: Fri, 16 Jun 2006 00:48:04 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Bill Wohler <wohler>    06/06/16 00:48:04

Modified files:
        lisp/mh-e      : mh-comp.el ChangeLog 

Log message:
        (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).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mh-e/mh-comp.el?cvsroot=emacs&r1=1.53&r2=1.54
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/mh-e/ChangeLog?cvsroot=emacs&r1=1.218&r2=1.219

Patches:
Index: mh-comp.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/mh-e/mh-comp.el,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- mh-comp.el  18 Apr 2006 01:55:54 -0000      1.53
+++ mh-comp.el  16 Jun 2006 00:48:04 -0000      1.54
@@ -53,6 +53,15 @@
   "Name of the MH send program.
 Some sites need to change this because of a name conflict.")
 
+(defvar mh-send-uses-spost-flag nil
+  "Non-nil means \"send\" uses \"spost\" to submit messages.
+
+If the value of \"postproc:\" is \"spost\", you may need to set
+this variable to t to tell MH-E to avoid using features of
+\"post\" that are not supported by \"spost\". You'll know that
+you'll need to do this if sending mail fails with an error of
+\"spost: -msgid unknown\".")
+
 (defvar mh-redist-background nil
   "If non-nil redist will be done in background like send.
 This allows transaction log to be visible if -watch, -verbose or
@@ -267,6 +276,8 @@
                (and (boundp 'default-buffer-file-coding-system )
                     default-buffer-file-coding-system)
                'iso-latin-1))))
+    ;; Older versions of spost do not support -msgid and -mime.
+    (unless mh-send-uses-spost-flag
     ;; Adding a Message-ID field looks good, makes it easier to search for
     ;; message in your +outbox, and best of all doesn't break threading for
     ;; the recipient if you reply to a message in your +outbox.
@@ -276,7 +287,7 @@
     (if (and (mh-variant-p 'nmh)
              (mh-goto-header-field "Bcc:")
              (mh-goto-header-field "Content-Type:"))
-        (setq mh-send-args (concat "-mime " mh-send-args)))
+          (setq mh-send-args (concat "-mime " mh-send-args))))
     (cond (arg
            (pop-to-buffer mh-mail-delivery-buffer)
            (erase-buffer)

Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/mh-e/ChangeLog,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -b -r1.218 -r1.219
--- ChangeLog   6 May 2006 15:48:34 -0000       1.218
+++ ChangeLog   16 Jun 2006 00:48:04 -0000      1.219
@@ -1,3 +1,9 @@
+2006-06-05  Jacob Morzinski  <address@hidden>  (tiny change)
+
+       * mh-comp.el (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).
+
 2006-05-06  Bill Wohler  <address@hidden>
 
        Release MH-E version 8.0.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]