]> code.delx.au - gnu-emacs/commitdiff
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-139
authorMiles Bader <miles@gnu.org>
Mon, 6 Mar 2006 10:27:26 +0000 (10:27 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 6 Mar 2006 10:27:26 +0000 (10:27 +0000)
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 49-51)

   - Merge from emacs--devo--0
   - Update from CVS

etc/GNUS-NEWS
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el
lisp/gnus/mm-util.el
lisp/gnus/mm-view.el
man/ChangeLog
man/gnus.texi

index d5fbfe781060660e4f202905e2651e9f92162e9d..4032558b0236c22c5ca7ad691845b77c757a6aa7 100644 (file)
@@ -355,6 +355,10 @@ in the Agent, it won't get downloaded once more.  Customize
 On composing messages, it is enabled by `use-hard-newlines'.  Decoding
 format=flowed was present but not documented in earlier versions.
 
+** The option `mm-fill-flowed' can be used to disable treatment of
+format=flowed messages.  Also, flowed text is disabled when sending
+inline PGP signed messages.  (New in Gnus 5.10.7)
+
 ** Gnus supports the generation of RFC 2298 Disposition Notification requests.
 
 This is invoked with the C-c M-n key binding from message mode.
index dce2a5ae07f1897b49f3b84c58b6c1aa070bcbb6..43bfc71eb5e225c32aac262b767326dabe5f31aa 100644 (file)
@@ -1,3 +1,17 @@
+2006-03-06  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-view.el (mm-w3m-cid-retrieve-1): Check carefully whether
+       handle is multipart when calling it recursively.
+       (mm-w3m-cid-retrieve): Display warning if retrieving fails.
+
+2006-03-03  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * mm-util.el (mm-with-unibyte-current-buffer): Change "Emacs 23"
+       to "Emacs 23 (unicode)" in doc string.
+
+       * gnus-sum.el (gnus-summary-set-display-table): Change "Emacs 23" to
+       "Emacs 23 (unicode)" in comment.
+
 2006-03-03  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mm-decode.el (mm-get-part): Don't use
index 226a9bd50f1bf4274f298a3f0795de980514b5e3..e4ca47f1ea28fcacc6d2613bebb03301e72beda1 100644 (file)
@@ -3099,7 +3099,7 @@ display only a single character."
     ;; We keep TAB as well.
     (aset table ?\t nil)
     ;; We nix out any glyphs 127 through 255, or 127 through 159 in
-    ;; Emacs 23, that are not set already.
+    ;; Emacs 23 (unicode), that are not set already.
     (let ((i (if (ignore-errors (= (make-char 'latin-iso8859-1 160) 160))
                 160
               256)))
index e4c87067872de3892a8f0bfc6e6db9873ca95846..a8c1f3a87a138eccb9c9908004ce7899aef5c224 100644 (file)
@@ -802,7 +802,8 @@ NOTE: Use this macro with caution in multibyte buffers (it is not
 worth using this macro in unibyte buffers of course).  Use of
 `(set-buffer-multibyte t)', which is run finally, is generally
 harmful since it is likely to modify existing data in the buffer.
-For instance, it converts \"\\300\\255\" into \"\\255\" in Emacs 23."
+For instance, it converts \"\\300\\255\" into \"\\255\" in
+Emacs 23 (unicode)."
   (let ((multibyte (make-symbol "multibyte"))
        (buffer (make-symbol "buffer")))
     `(if mm-emacs-mule
index c2b4e19f806edd7239dfb28a340ece090175fc8d..5972a0681a69962ba5fe1cde75af51b8d66fec06 100644 (file)
 
 (defun mm-w3m-cid-retrieve-1 (url handle)
   (dolist (elem handle)
-    (when (listp elem)
-      (if (equal url (mm-handle-id elem))
-         (progn
-           (mm-insert-part elem)
-           (throw 'found-handle (mm-handle-media-type elem))))
-      (if (equal "multipart" (mm-handle-media-supertype elem))
-         (mm-w3m-cid-retrieve-1 url elem)))))
+    (when (consp elem)
+      (when (equal url (mm-handle-id elem))
+       (mm-insert-part elem)
+       (throw 'found-handle (mm-handle-media-type elem)))
+      (when (and (stringp (car elem))
+                (equal "multipart" (mm-handle-media-supertype elem)))
+       (mm-w3m-cid-retrieve-1 url elem)))))
 
 (defun mm-w3m-cid-retrieve (url &rest args)
   "Insert a content pointed by URL if it has the cid: scheme."
   (when (string-match "\\`cid:" url)
-    (catch 'found-handle
-      (mm-w3m-cid-retrieve-1 (concat "<" (substring url (match-end 0)) ">")
-                            (with-current-buffer w3m-current-buffer
-                              gnus-article-mime-handles)))))
+    (or (catch 'found-handle
+         (mm-w3m-cid-retrieve-1
+          (setq url (concat "<" (substring url (match-end 0)) ">"))
+          (with-current-buffer w3m-current-buffer
+            gnus-article-mime-handles)))
+       (prog1
+           nil
+         (message "Failed to find \"Content-ID: %s\"" url)))))
 
 (defun mm-inline-text-html-render-with-w3m (handle)
   "Render a text/html part using emacs-w3m."
index 6b4127e35d7714ea1cb5bce9cc26bb6d62a0f5cd..a218f77a76edaa713c14c25f078152f62edcb939 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-03  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * gnus.texi (Oort Gnus): Add `mm-fill-flowed'.
+
 2006-03-01  Carsten Dominik  <dominik@science.uva.nl>
 
        * org.texi: (Interaction): Added item about `org-mouse.el' by
index bdfe5ab2194f3b87a4b025c5ea1c9af023c2ad20..3f60c3f603a903035084d1228c319f3be34abfe1 100644 (file)
@@ -26308,6 +26308,11 @@ composing messages, it is enabled by @code{use-hard-newlines}.
 Decoding format=flowed was present but not documented in earlier
 versions.
 
+@item
+The option @code{mm-fill-flowed} can be used to disable treatment of
+``format=flowed'' messages.  Also, flowed text is disabled when sending
+inline PGP signed messages.  (New in Gnus 5.10.7)
+
 @item
 Gnus supports the generation of RFC 2298 Disposition Notification requests.