Revision: miles@gnu.org--gnu-2004/gnus--devo--0--patch-137
authorMiles Bader <miles@gnu.org>
Wed, 6 Oct 2004 15:53:15 +0000 (15:53 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 6 Oct 2004 15:53:15 +0000 (15:53 +0000)
Merge from gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-575
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-577
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-580
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-585
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-589
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-595
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-39
   Merge from emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-40
 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-42
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-43
   Merge from emacs--cvs-trunk--0

lisp/ChangeLog
lisp/gnus-group.el
lisp/gnus-msg.el
lisp/gnus-sum.el
lisp/message.el

index df5d95f..6ba3696 100644 (file)
@@ -1,3 +1,11 @@
+2004-10-05  Juri Linkov  <juri@jurta.org>
+
+       * gnus-group.el (gnus-update-group-mark-positions):
+       * gnus-sum.el (gnus-update-summary-mark-positions):
+       * message.el (message-check-news-body-syntax):
+       * gnus-msg.el (gnus-debug): Use `string-as-multibyte' to convert
+       8-bit unibyte values to a multibyte string for search functions.
+
 2004-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mm-uu.el (mm-uu-dissect): Allow optional arg.
index 8aabdff..25ffac2 100644 (file)
@@ -1067,7 +1067,8 @@ The following commands are available:
       (gnus-group-insert-group-line "dummy.group" 0 nil 0 nil)
       (goto-char (point-min))
       (setq gnus-group-mark-positions
-           (list (cons 'process (and (search-forward "\200" nil t)
+           (list (cons 'process (and (search-forward
+                                      (string-as-multibyte "\200") nil t)
                                      (- (point) 2))))))))
 
 (defun gnus-mouse-pick-group (e)
index 7906db8..e9cee2c 100644 (file)
@@ -1532,7 +1532,8 @@ The source file has to be in the Emacs load path."
     ;; Remove any control chars - they seem to cause trouble for some
     ;; mailers.  (Byte-compiled output from the stuff above.)
     (goto-char point)
-    (while (re-search-forward "[\000-\010\013-\037\200-\237]" nil t)
+    (while (re-search-forward (string-as-multibyte
+                              "[\000-\010\013-\037\200-\237]") nil t)
       (replace-match (format "\\%03o" (string-to-char (match-string 0)))
                     t t))))
 
index 5fdb056..423d142 100644 (file)
@@ -3295,20 +3295,24 @@ buffer that was in action when the last article was fetched."
           [0 "" "" "05 Apr 2001 23:33:09 +0400" "" "" 0 0 "" nil]
           0 nil t 128 t nil "" nil 1)
          (goto-char (point-min))
-         (setq pos (list (cons 'unread (and (search-forward "\200" nil t)
-                                            (- (point) (point-min) 1)))))
+         (setq pos (list (cons 'unread
+                               (and (search-forward
+                                     (string-as-multibyte "\200") nil t)
+                                    (- (point) (point-min) 1)))))
          (goto-char (point-min))
-         (push (cons 'replied (and (search-forward "\201" nil t)
+         (push (cons 'replied (and (search-forward
+                                    (string-as-multibyte "\201") nil t)
                                    (- (point) (point-min) 1)))
                pos)
          (goto-char (point-min))
-         (push (cons 'score (and (search-forward "\202" nil t)
+         (push (cons 'score (and (search-forward
+                                  (string-as-multibyte "\202") nil t)
                                  (- (point) (point-min) 1)))
                pos)
          (goto-char (point-min))
-         (push (cons 'download
-                     (and (search-forward "\203" nil t)
-                          (- (point) (point-min) 1)))
+         (push (cons 'download (and (search-forward
+                                     (string-as-multibyte "\203") nil t)
+                                    (- (point) (point-min) 1)))
                pos)))
       (setq gnus-summary-mark-positions pos))))
 
index 48d163f..be9564e 100644 (file)
@@ -4451,7 +4451,9 @@ Otherwise, generate and save a value for `canlock-password' first."
             nil))))
    ;; Check for control characters.
    (message-check 'control-chars
-     (if (re-search-forward "[\000-\007\013\015-\032\034-\037\200-\237]" nil t)
+     (if (re-search-forward
+         (string-as-multibyte "[\000-\007\013\015-\032\034-\037\200-\237]")
+         nil t)
         (y-or-n-p
          "The article contains control characters.  Really post? ")
        t))