From: Jan Vroonhof <vroonhof@math.ethz.ch>
Cc: ding@ifi.uio.no
Subject: Re: Red Gnus v0.6 is released
Date: 05 Aug 1996 20:18:03 +0200 [thread overview]
Message-ID: <bypw55r8ys.fsf@riesz.math.ethz.ch> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of Mon, 5 Aug 1996 02:26:50 +0200
Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
>
> Date: 05 Aug 1996 02:26:49 +0200
This is what you get for working late:
*** ChangeLog.orig Mon Aug 5 02:13:31 1996
--- ChangeLog Mon Aug 5 19:55:14 1996
***************
*** 1,3 ****
--- 1,8 ----
+ Mon Aug 5 19:53:59 1996 Jan Vroonhof <vroonhof@math.ethz.ch (Jan Vroonhof)>
+
+ * gnus-score.el (gnus-score-string): fuzzy and word matching
+ entries were saved wrong. Overzealous copying corrected
+
Mon Aug 5 01:12:24 1996 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
* nntp.el (nntp-request-type): Defined again.
*** gnus-score.el.orig Mon Aug 5 01:08:19 1996
--- gnus-score.el Mon Aug 5 19:52:48 1996
***************
*** 1668,1674 ****
id 's score (current-time-string) nil t)))))
(defun gnus-score-string (score-list header now expire &optional trace)
! ;; Score ARTICLES according to HEADER in SCORE-LIST.
;; Update matching entries to NOW and remove unmatched entries older
;; than EXPIRE.
--- 1668,1674 ----
id 's score (current-time-string) nil t)))))
(defun gnus-score-string (score-list header now expire &optional trace)
! ;; Score ARTICLES auccording to HEADER in SCORE-LIST.
;; Update matching entries to NOW and remove unmatched entries older
;; than EXPIRE.
***************
*** 1730,1739 ****
(cond
;; Fuzzy matches. We save these for later.
((= dmt ?f)
! (push entries fuzzies))
;; Word matches. Save these for even later.
((= dmt ?w)
! (push entries words))
;; Exact matches.
((= dmt ?e)
;; Do exact matching.
--- 1730,1739 ----
(cond
;; Fuzzy matches. We save these for later.
((= dmt ?f)
! (push kill fuzzies))
;; Word matches. Save these for even later.
((= dmt ?w)
! (push kill words))
;; Exact matches.
((= dmt ?e)
;; Do exact matching.
***************
*** 1804,1810 ****
(when fuzzies
;; Simplify the entire buffer for easy matching.
(gnus-simplify-buffer-fuzzy)
! (while (setq kill (cadr fuzzies))
(let* ((match (nth 0 kill))
(type (nth 3 kill))
(score (or (nth 1 kill) gnus-score-interactive-default-score))
--- 1804,1810 ----
(when fuzzies
;; Simplify the entire buffer for easy matching.
(gnus-simplify-buffer-fuzzy)
! (while (setq kill (car fuzzies))
(let* ((match (nth 0 kill))
(type (nth 3 kill))
(score (or (nth 1 kill) gnus-score-interactive-default-score))
***************
*** 1830,1836 ****
(forward-line 1))
;; Update expiry date
(if trace
! (setq entries (cdr entries))
(cond
;; Permanent.
((null date)
--- 1830,1836 ----
(forward-line 1))
;; Update expiry date
(if trace
! (setq fuzzies (cdr fuzzies))
(cond
;; Permanent.
((null date)
***************
*** 1852,1858 ****
(let ((hashtb (gnus-make-hashtable
(* 10 (count-lines (point-min) (point-max))))))
(gnus-enter-score-words-into-hashtb hashtb)
! (while (setq kill (cadr words))
(let* ((score (or (nth 1 kill) gnus-score-interactive-default-score))
(date (nth 2 kill))
found)
--- 1852,1858 ----
(let ((hashtb (gnus-make-hashtable
(* 10 (count-lines (point-min) (point-max))))))
(gnus-enter-score-words-into-hashtb hashtb)
! (while (setq kill (car words))
(let* ((score (or (nth 1 kill) gnus-score-interactive-default-score))
(date (nth 2 kill))
found)
***************
*** 1868,1875 ****
(while (setq art (pop arts))
(setcdr art (+ score (cdr art))))))
;; Update expiry date
! (if trace
! (setq entries (cdr entries))
(cond
;; Permanent.
((null date)
--- 1868,1875 ----
(while (setq art (pop arts))
(setcdr art (+ score (cdr art))))))
;; Update expiry date
! (if trace
! (setq words (cdr words))
(cond
;; Permanent.
((null date)
next prev parent reply other threads:[~1996-08-05 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-05 0:26 Lars Magne Ingebrigtsen
1996-08-05 15:29 ` rgnus 0.6, spastic mouse-highlight C. R. Oldham
1996-08-05 17:36 ` Lars Magne Ingebrigtsen
1996-08-05 18:18 ` Jan Vroonhof [this message]
1996-08-05 19:09 ` score-mode.el (new patch version) Jan Vroonhof
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bypw55r8ys.fsf@riesz.math.ethz.ch \
--to=vroonhof@math.ethz.ch \
--cc=ding@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).