+2001-02-21 01:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * smiley.el (gnus-smiley-display): Don't do widening.
+
+ * smiley-ems.el (gnus-smiley-display): Don't do widening. Smiley
+ within body.
+
+ * gnus-msg.el (gnus-inews-do-gcc): Activate group anyway.
+
+ * gnus-art.el (gnus-mime-display-multipart-alternative-as-mixed):
+ New.
+ (gnus-mime-display-multipart-related-as-mixed): New.
+ (gnus-mime-display-part): Use them.
+
2001-02-20 16:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-start.el (gnus-setup-news): Allow gnus-group-line-format to be
(gnus-treat-article 'head))))))))
(defvar gnus-mime-display-multipart-as-mixed nil)
+(defvar gnus-mime-display-multipart-alternative-as-mixed nil)
+(defvar gnus-mime-display-multipart-related-as-mixed nil)
(defun gnus-mime-display-part (handle)
(cond
handle))
;; multipart/alternative
((and (equal (car handle) "multipart/alternative")
- (not gnus-mime-display-multipart-as-mixed))
+ (not (or gnus-mime-display-multipart-as-mixed
+ gnus-mime-display-multipart-alternative-as-mixed)))
(let ((id (1+ (length gnus-article-mime-handle-alist))))
(push (cons id handle) gnus-article-mime-handle-alist)
(gnus-mime-display-alternative (cdr handle) nil nil id)))
;; multipart/related
((and (equal (car handle) "multipart/related")
- (not gnus-mime-display-multipart-as-mixed))
+ (not (or gnus-mime-display-multipart-as-mixed
+ gnus-mime-display-multipart-related-as-mixed)))
;;;!!!We should find the start part, but we just default
;;;!!!to the first part.
;;(gnus-mime-display-part (cadr handle))
group (gnus-status-message method))
(sit-for 2))
(when (and group-art gnus-inews-mark-gcc-as-read)
- (let ((active (gnus-active group)))
- (if active
- (if (< (cdr active) (cdr group-art))
- (gnus-set-active group (cons (car active)
- (cdr group-art))))
- (gnus-activate-group group)))
+ (gnus-activate-group group)
(let ((buffer (gnus-summary-buffer-name group))
(mark gnus-read-mark)
(article (cdr group-art)))
With arg, turn displaying on if and only if arg is positive."
(interactive "P")
(save-excursion
- (set-buffer gnus-article-buffer)
- (save-restriction
- (widen)
- (article-goto-body)
- (smiley-region (point-min) (point-max))
- (if (and (numberp arg) (<= arg 0))
- (smiley-toggle-buffer arg)))))
+ (article-goto-body)
+ (smiley-region (point) (point-max))
+ (if (and (numberp arg) (<= arg 0))
+ (smiley-toggle-buffer arg))))
(provide 'smiley)
With arg, turn displaying on if and only if arg is positive."
(interactive "P")
(save-excursion
- (set-buffer gnus-article-buffer)
- (save-restriction
- (widen)
- (article-goto-body)
- (let (buffer-read-only)
- (smiley-toggle-buffer arg (current-buffer) (point) (point-max))))))
+ (article-goto-body)
+ (let (buffer-read-only)
+ (smiley-toggle-buffer arg (current-buffer) (point) (point-max)))))
(provide 'smiley)