-Sun Jul 30 00:00:26 1995 Lars Magne Ingebrigtsen <lingebri@sunsci4.cern.ch>
+Sun Jul 30 22:02:46 1995 Lars Magne Ingebrigtsen <lingebri@sunsci4.cern.ch>
+
+ * gnus-msg.el (gnus-debug): Remove null chars.
+
+ * nnfolder.el (nnfolder-active-number): Would return t instead of
+ the active number.
+
+Sun Jul 30 00:00:26 1995 Lars Magne Ingebrigtsen <lingebri@sunscipw.cern.ch>
+
+ * gnus.el: 0.99 is released.
* gnus.el (gnus-active-to-gnus-format): Ignore groups that have
flags that are not y, n or m.
(defun gnus-article-add-button (from to fun &optional data)
"Create a button between FROM and TO with callback FUN and data DATA."
(and gnus-article-button-face
- (overlay-put (make-overlay from to) 'face gnus-article-button-face))
+ (gnus-overlay-put (gnus-make-overlay from to) 'face gnus-article-button-face))
(add-text-properties from to
(append
(and gnus-article-mouse-face
(skip-chars-backward " \t")
(setq to (point))
(if (< from to)
- (overlay-put (make-overlay from to) 'face face)))))
+ (gnus-overlay-put (gnus-make-overlay from to) 'face face)))))
(defun gnus-max-width-function (el max-width)
(` (let* ((val (eval (, el)))
(prin1-to-string (symbol-value (car olist))) ")\n")
(insert ";; (makeunbound '" (symbol-name (car olist)) ")\n"))
(setq olist (cdr olist)))
- (insert "\n\n")))
+ (insert "\n\n")
+ ;; Remove any null chars - they seem to cause trouble for some
+ ;; mailers. (Byte-compiled output from the stuff above.)
+ (goto-char (point-min))
+ (while (re-search-forward "[\000\200]" nil t)
+ (replace-match "" t t))))
(gnus-ems-redefine)
(list ?S 'subject ?s)
(list ?s 'subject-or-nil ?s)
(list ?n 'name ?s)
- (list ?A '(car (cdr (funcall gnus-extract-address-components from))) ?s)
- (list ?a '(or (car (funcall gnus-extract-address-components from)) from) ?s)
+ (list ?A '(car (cdr (funcall gnus-extract-address-components from)))
+ ?s)
+ (list ?a '(or (car (funcall gnus-extract-address-components from))
+ from) ?s)
(list ?F 'from ?s)
(list ?x (macroexpand '(header-xref header)) ?s)
(list ?D (macroexpand '(header-date header)) ?s)
(defconst gnus-maintainer "gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys)"
"The mail address of the Gnus maintainers.")
-(defconst gnus-version "(ding) Gnus v0.99"
+(defconst gnus-version "(ding) Gnus v0.99.1"
"Version number for this version of Gnus.")
(defvar gnus-info-nodes
(let* ((number
(if (and (consp thread) (cdr thread)
(not (memq (header-number (car (car (cdr thread))))
- gnus-tmp-gathered)))
+ gnus-tmp-gathered))
+ )
(apply
'+ 1 (mapcar 'gnus-summary-number-of-articles-in-thread
(cdr thread)))
;; See whether the article is to be put in the cache.
(and gnus-use-cache
+ (vectorp (gnus-get-header-by-num article))
(save-excursion
(gnus-cache-possibly-enter-article
gnus-newsgroup-name article
;; See whether the article is to be put in the cache.
(and gnus-use-cache
(not (= mark gnus-canceled-mark))
+ (vectorp (gnus-get-header-by-num article))
(save-excursion
(gnus-cache-possibly-enter-article
gnus-newsgroup-name article
(setq gnus-have-all-headers
(or all-headers gnus-show-all-headers))
(and gnus-use-cache
+ (vectorp (gnus-get-header-by-number article))
(gnus-cache-possibly-enter-article
group article
(gnus-get-header-by-number article)
(setq nnfolder-active-timestamp timestamp)
(nnmail-activate 'nnfolder)))
(let* ((active (assoc group nnfolder-group-alist))
- (group (car active))
- (range (car (cdr active)))
- (minactive (car range))
- (maxactive (cdr range)))
+ (group (car active))
+ (range (car (cdr active)))
+ (minactive (car range))
+ (maxactive (cdr range)))
;; I've been getting stray 211 lines in my nnfolder active
;; file. So, let's make sure that doesn't happen. -SLB
(set-buffer nntp-server-buffer)
(or (assoc group nnfolder-group-alist)
(let (active)
(setq nnfolder-group-alist
- (cons (list group (setq active (cons 0 0)))
+ (cons (list group (setq active (cons 1 0)))
nnfolder-group-alist))
(nnfolder-possibly-change-group group)
(nnmail-save-active nnfolder-group-alist nnfolder-active-file)))
(defun nnfolder-active-number (group)
(save-excursion
;; Find the next article number in GROUP.
- (let ((active (car (cdr (assoc group nnfolder-group-alist)))))
- (if active
- (setcdr active (1+ (cdr active)))
- ;; This group is new, so we create a new entry for it.
- ;; This might be a bit naughty... creating groups on the drop of
- ;; a hat, but I don't know...
- (setq nnfolder-group-alist (cons (list group (setq active (cons 1 1)))
- nnfolder-group-alist)))
- (cdr active))
+ (prog1
+ (let ((active (car (cdr (assoc group nnfolder-group-alist)))))
+ (if active
+ (setcdr active (1+ (cdr active)))
+ ;; This group is new, so we create a new entry for it.
+ ;; This might be a bit naughty... creating groups on the drop of
+ ;; a hat, but I don't know...
+ (setq nnfolder-group-alist
+ (cons (list group (setq active (cons 1 1)))
+ nnfolder-group-alist)))
+ (cdr active)))
(nnfolder-possibly-activate-groups group)))