+Mon May 6 20:51:43 1996 Lars Magne Ingebrigtsen <larsi@ylfing.ifi.uio.no>
+
+ * gnus-cite.el (gnus-dissect-cited-text): Sift single empty
+ lines.
+
+ * gnus.el (gnus-id-to-article): Would bug out once in a while.
+
+ * gnus-cite.el (gnus-article-hide-citation-in-followups): Really
+ hide citations in un-root articles.
+ (gnus-article-hide-citation): Place [...] consistently.
+
+ * gnus.el (gnus-article-date-ut): Preserve faces.
+
+ * gnus-cite.el (gnus-article-hide-citation): Would mess up
+ headers.
+
Mon May 6 00:23:09 1996 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
+ * gnus.el: 0.81 is released.
+
* message-xmas.el (message-mode-menu): Moved to this file.
* message.el (message-make-organization): Use env var.
(setq omarks (cdr omarks)))
(when (car omarks)
(push (car omarks) marks))
- (nreverse marks)))))
+ (setq marks (setq m (nreverse marks)))
+ (while (cddr m)
+ (if (and (equal (cdadr m) "")
+ (equal (cdar m) (cdaddr m))
+ (goto-char (caadr m))
+ (forward-line 1)
+ (= (point) (caaddr m)))
+ (setcdr m (cdddr m))
+ (setq m (cdr m))))
+ marks))))
+
(defun gnus-article-fill-cited-article (&optional force)
"Do word wrapping in the current article."
(setq beg (point))))
(when (and beg end)
(add-text-properties beg end props)
- (goto-char (1- beg))
- (put-text-property beg end 'gnus-type 'cite)
+ (goto-char beg)
+ (unless (save-excursion (search-backward "\n\n" nil t))
+ (insert "\n"))
(gnus-article-add-button
(point)
(progn (eval gnus-cited-text-button-line-format-spec) (point))
- `gnus-article-toggle-cited-text (cons beg end))))))))
+ `gnus-article-toggle-cited-text (cons beg end))
+ (set-marker beg (point))))))))
(defun gnus-article-toggle-cited-text (region)
"Toggle hiding the text in REGION."
(let ((article (cdr gnus-article-current)))
(unless (save-excursion
(set-buffer gnus-summary-buffer)
- (gnus-root-id (mail-header-references
- (gnus-summary-article-header article))))
+ (gnus-article-displayed-root-p article))
(gnus-article-hide-citation)))))
;;; Internal functions:
"gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys)"
"The mail address of the Gnus maintainers.")
-(defconst gnus-version "September Gnus v0.81"
+(defconst gnus-version "September Gnus v0.82"
"Version number for this version of Gnus.")
(defvar gnus-info-nodes
(defun gnus-parent-id (references)
"Return the last Message-ID in REFERENCES."
(when (and references
- (string-match "\\(<[^<>]+>\\)[ \t\n]*\\'" references))
+ (string-match "\\(<[^\n<>]+>\\)[ \t\n]*\\'" references))
(substring references (match-beginning 1) (match-end 1))))
(defun gnus-split-references (references)
(defun gnus-id-to-article (id)
"Return the article number of ID."
(let ((thread (gnus-id-to-thread id)))
- (when thread
+ (when (and thread
+ (car thread))
(mail-header-number (car thread)))))
(defun gnus-id-to-header (id)
(defun gnus-article-displayed-root-p (article)
"Say whether ARTICLE is a root(ish) article."
(let ((level (gnus-summary-thread-level article))
+ (refs (mail-header-references (gnus-summary-article-header article)))
particle)
(cond
((null level) nil)
((zerop level) t)
+ ((null refs) t)
+ ((null(gnus-parent-id refs)) t)
((and (= 1 level)
(null (setq particle (gnus-id-to-article
- (gnus-parent-id
- (mail-header-references
- (gnus-summary-article-header article))))))
+ (gnus-parent-id refs))))
(null (gnus-summary-thread-level particle)))))))
(defun gnus-root-id (id)
(if (re-search-forward date-regexp nil t)
(progn
(setq bface (get-text-property (gnus-point-at-bol) 'face)
- eface (get-text-property (gnus-point-at-eol) 'face))
+ eface (get-text-property (1- (gnus-point-at-eol))
+ 'face))
(message-remove-header date-regexp t)
(beginning-of-line))
(goto-char (point-max)))
(t
(error "Unknown conversion type: %s" type)))))
;; Do highlighting.
- (beginning-of-line)
- (when (and highlight (gnus-visual-p 'article-highlight 'highlight)
- (looking-at "\\([^:]\\): *\\(.*\\)$"))
+ (forward-line -1)
+ (when (and (gnus-visual-p 'article-highlight 'highlight)
+ (looking-at "\\([^:]+\\): *\\(.*\\)$"))
(put-text-property (match-beginning 1) (match-end 1)
'face bface)
(put-text-property (match-beginning 2) (match-end 2)