From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4782 Path: main.gmane.org!not-for-mail From: Loren Schall Newsgroups: gmane.emacs.gnus.general Subject: 0.27 problems score "lines" and score-adaptive Date: Wed, 17 Jan 1996 14:50:48 -0700 Message-ID: <199601172152.OAA28287@saifr00.ateng.az.honeywell.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035145481 30788 80.91.224.250 (20 Oct 2002 20:24:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:24:41 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.7.3/8.6.9) with SMTP id OAA08100 for ; Wed, 17 Jan 1996 14:35:56 -0800 Original-Received: from saifr00.ateng.az.honeywell.com (saifr00.ateng.az.Honeywell.COM [129.239.166.12]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 17 Jan 1996 22:52:28 +0100 Original-Received: from saifr00.ateng.az.honeywell.com (swtech09.ateng.az.Honeywell.COM [129.239.1.79]) by saifr00.ateng.az.honeywell.com (8.6.10/8.6.4) with ESMTP id OAA28287 for ; Wed, 17 Jan 1996 14:52:04 -0700 X-Mailer: exmh version 1.6.5 12/11/95 Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:4782 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4782 Hi, I had a couple of problem starting up sgnus-0.27. Patches appended. `gnus-score-check-syntax' doesn't like "lines" scoring directives. It insists the match item must be a string. "lines" and "date" are numeric. `gnus-score-adaptive' builds "gnus-header-" function calls. In 0.26 these were defined to be the same as "mail-header-" functions. In 0.27 the "gnus-header-" function have been removed. I changed the reference to "gnus-header-" to "mail-header-". I also see the same problem Kai saw with gnus-article-hide-boring-headers. My fix looks a lot like his, so I won't repeat it here. Loren Schall voice: +1 602 436 5994 FAX: +1 602 436 5151 schall@saifr00.ateng.az.honeywell.com *** gnus-score.el.orig Tue Jan 16 13:38:15 1996 --- gnus-score.el Tue Jan 16 22:24:46 1996 *************** (defun gnus-score-check-syntax (alist fi *** 892,898 **** (setq err (cond ! ((not (stringp (car s))) (format "Illegal match %s in %s" (car s) file)) ((and (cadr s) (not (integerp (cadr s)))) (format "Non-integer score %s in %s" (cadr s) file)) --- 892,898 ---- (setq err (cond ! ((not (or (stringp (car s)) (numberp (car s)))) (format "Illegal match %s in %s" (car s) file)) ((and (cadr s) (not (integerp (cadr s)))) (format "Non-integer score %s in %s" (cadr s) file)) *************** (defun gnus-score-adaptive () *** 1696,1702 **** (setcar (car elem) `(lambda (h) (,(intern ! (concat "gnus-header-" (if (eq (car (car elem)) 'followup) "message-id" (downcase (symbol-name (car (car elem))))))) --- 1696,1702 ---- (setcar (car elem) `(lambda (h) (,(intern ! (concat "mail-header-" (if (eq (car (car elem)) 'followup) "message-id" (downcase (symbol-name (car (car elem)))))))