aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2000-12-22 14:19:33 +0000
committerShengHuo ZHU2000-12-22 14:19:33 +0000
commit4481aa9880e18109f080dca5591962f13e03fe99 (patch)
tree5def33c8bd335a586c61b634756c41bdc48582c3
parent856ff7a7eda39dcc5b03bb8bcf019fe3a4e468c0 (diff)
downloademacs-4481aa9880e18109f080dca5591962f13e03fe99.tar.gz
emacs-4481aa9880e18109f080dca5591962f13e03fe99.zip
* gnus-art.el (gnus-article-check-hidden-text): Return t.
* gnus-util.el (gnus-remove-text-properties-when): Return t. * mm-decode.el (mm-dissect-multipart): Avoid errors owing to malformatted messages.
-rw-r--r--lisp/gnus/ChangeLog9
-rw-r--r--lisp/gnus/gnus-art.el7
-rw-r--r--lisp/gnus/gnus-util.el3
-rw-r--r--lisp/gnus/mm-decode.el4
4 files changed, 18 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ba5f53662c3..f6f9229794b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,12 @@
12000-12-22 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * gnus-art.el (gnus-article-check-hidden-text): Return t.
4
5 * gnus-util.el (gnus-remove-text-properties-when): Return t.
6
7 * mm-decode.el (mm-dissect-multipart): Avoid errors owing to
8 malformatted messages.
9
12000-12-21 Katsumi Yamaoka <yamaoka@jpl.org> 102000-12-21 Katsumi Yamaoka <yamaoka@jpl.org>
2 11
3 * gnus-art.el (article-treat-dumbquotes): Quote \. 12 * gnus-art.el (article-treat-dumbquotes): Quote \.
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 2666bcffb58..52c6b3bd63e 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1968,10 +1968,13 @@ means show, 0 means toggle."
1968 (> arg 0)) 1968 (> arg 0))
1969 nil) 1969 nil)
1970 ((< arg 0) 1970 ((< arg 0)
1971 (gnus-article-show-hidden-text type)) 1971 (gnus-article-show-hidden-text type)
1972 t)
1972 (t 1973 (t
1973 (if (eq hide 'hidden) 1974 (if (eq hide 'hidden)
1974 (gnus-article-show-hidden-text type) 1975 (progn
1976 (gnus-article-show-hidden-text type)
1977 t)
1975 nil))))))) 1978 nil)))))))
1976 1979
1977(defun gnus-article-hidden-text-p (type) 1980(defun gnus-article-hidden-text-p (type)
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 8fa0068b085..4a30d1da0be 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -994,7 +994,8 @@ Entries without port tokens default to DEFAULTPORT."
994 (remove-text-properties start point properties object) 994 (remove-text-properties start point properties object)
995 (setq start (text-property-any point end property value))) 995 (setq start (text-property-any point end property value)))
996 (if start 996 (if start
997 (remove-text-properties start end properties object)))) 997 (remove-text-properties start end properties object))
998 t))
998 999
999(provide 'gnus-util) 1000(provide 'gnus-util)
1000 1001
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index d9537d64423..a44f6e5756c 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -310,7 +310,7 @@ to:
310 (match-beginning 0) 310 (match-beginning 0)
311 (point-max))))) 311 (point-max)))))
312 (setq boundary (concat (regexp-quote boundary) "[ \t]*$")) 312 (setq boundary (concat (regexp-quote boundary) "[ \t]*$"))
313 (while (re-search-forward boundary end t) 313 (while (and (< (point) end) (re-search-forward boundary end t))
314 (goto-char (match-beginning 0)) 314 (goto-char (match-beginning 0))
315 (when start 315 (when start
316 (save-excursion 316 (save-excursion
@@ -319,7 +319,7 @@ to:
319 (setq parts (nconc (list (mm-dissect-buffer t)) parts))))) 319 (setq parts (nconc (list (mm-dissect-buffer t)) parts)))))
320 (forward-line 2) 320 (forward-line 2)
321 (setq start (point))) 321 (setq start (point)))
322 (when start 322 (when (and start (< start end))
323 (save-excursion 323 (save-excursion
324 (save-restriction 324 (save-restriction
325 (narrow-to-region start end) 325 (narrow-to-region start end)