Synch to No Gnus 200603151322.
authoryamaoka <yamaoka>
Wed, 15 Mar 2006 14:23:54 +0000 (14:23 +0000)
committeryamaoka <yamaoka>
Wed, 15 Mar 2006 14:23:54 +0000 (14:23 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index 8647d7c..aca80a9 100644 (file)
@@ -1,3 +1,10 @@
+2006-03-15  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
+
+       * gnus-art.el (gnus-article-only-boring-p): Bind
+       inhibit-point-motion-hooks to avoid infinite loop when entering
+       intangible text.  Reported by Ralf Wachinger
+       <rwnewsmampfer@geekmail.de>.
+
 2006-03-14  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gmm-utils.el (gmm-image-load-path-for-library): Fix typo.  Use
index 455fa07..2f94550 100644 (file)
@@ -5903,14 +5903,15 @@ not have a face in `gnus-article-boring-faces'."
             (boundp 'gnus-article-boring-faces)
             (symbol-value 'gnus-article-boring-faces))
     (save-excursion
-      (catch 'only-boring
-       (while (re-search-forward "\\b\\w\\w" nil t)
-         (forward-char -1)
-         (when (not (gnus-intersection
-                     (gnus-faces-at (point))
-                     (symbol-value 'gnus-article-boring-faces)))
-           (throw 'only-boring nil)))
-       (throw 'only-boring t)))))
+      (let ((inhibit-point-motion-hooks t))
+       (catch 'only-boring
+         (while (re-search-forward "\\b\\w\\w" nil t)
+           (forward-char -1)
+           (when (not (gnus-intersection
+                       (gnus-faces-at (point))
+                       (symbol-value 'gnus-article-boring-faces)))
+             (throw 'only-boring nil)))
+         (throw 'only-boring t))))))
 
 (defun gnus-article-refer-article ()
   "Read article specified by message-id around point."