2003-03-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Mar 2003 14:21:56 +0000 (14:21 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Mar 2003 14:21:56 +0000 (14:21 +0000)
* nnmail.el (nnmail-process-mmdf-mail-format): Indent.

2003-03-28  Vasily Korytov  <deskpot@myrealbox.com>

* message.el (message-make-in-reply-to): Use
mail-extract-address-components to dentermine sender's
name/address.

2003-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

* nndoc.el (nndoc-type-alist): Move mime-parts further ahead.

lisp/ChangeLog
lisp/message.el
lisp/nndoc.el
lisp/nnmail.el

index ce09824..c2b703e 100644 (file)
@@ -7,6 +7,18 @@
 
 2003-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnmail.el (nnmail-process-mmdf-mail-format): Indent.
+
+2003-03-28  Vasily Korytov  <deskpot@myrealbox.com>
+
+       * message.el (message-make-in-reply-to): Use
+       mail-extract-address-components to dentermine sender's
+       name/address.
+
+2003-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nndoc.el (nndoc-type-alist): Move mime-parts further ahead. 
+
        * gnus-registry.el (gnus-registry-translate-to-alist): Make a
        valid lambda.
        (gnus-registry-translate-from-alist): Ditto.
index 3835412..378b588 100644 (file)
@@ -4425,12 +4425,10 @@ If NOW, use that time instead."
          (date (mail-header-date message-reply-headers))
          (msg-id (mail-header-message-id message-reply-headers)))
       (when from
-       (let ((stop-pos
-              (string-match "  *at \\|  *@ \\| *(\\| *<" from)))
+       (let ((name (mail-extract-address-components from)))
          (concat msg-id (if msg-id " (")
-                 (if (and stop-pos
-                          (not (zerop stop-pos)))
-                     (substring from 0 stop-pos) from)
+                 (or (car name)
+                     (nth 1 name))
                  "'s message of \""
                  (if (or (not date) (string= date ""))
                      "(unknown date)" date)
index 4d940c2..5688c92 100644 (file)
@@ -58,6 +58,9 @@ from the document.")
   `((mmdf
      (article-begin .  "^\^A\^A\^A\^A\n")
      (body-end .  "^\^A\^A\^A\^A\n"))
+    (mime-parts
+     (generate-head-function . nndoc-generate-mime-parts-head)
+     (article-transform-function . nndoc-transform-mime-parts))
     (nsmail
      (article-begin .  "^From - "))
     (news
@@ -98,9 +101,6 @@ from the document.")
      (body-end . "")
      (file-end . "")
      (subtype digest guess))
-    (mime-parts
-     (generate-head-function . nndoc-generate-mime-parts-head)
-     (article-transform-function . nndoc-transform-mime-parts))
     (standard-digest
      (first-article . ,(concat "^" (make-string 70 ?-) "\n *\n+"))
      (article-begin . ,(concat "^\n" (make-string 30 ?-) "\n *\n+"))
index 6abe9e6..e350cda 100644 (file)
@@ -889,8 +889,8 @@ If SOURCE is a directory spec, try to return the group name component."
         start
         (if (search-forward "\n\n" nil t)
             (1- (point))
-        ;; This will never happen, but just to be on the safe side --
-      ;; if there is no head-body delimiter, we search a bit manually.
+          ;; This will never happen, but just to be on the safe side --
+          ;; if there is no head-body delimiter, we search a bit manually.
           (while (and (looking-at "From \\|[^ \t]+:")
                       (not (eobp)))
             (forward-line 1))