From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43381 Path: main.gmane.org!not-for-mail From: Reiner Steib <4uce.02.r.steib@gmx.net> Newsgroups: gmane.emacs.gnus.general Subject: non-ascii characters in score file (emacs 21.1 vs. emacs 20.7) Date: Sat, 02 Mar 2002 18:14:02 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035178483 17292 80.91.224.250 (21 Oct 2002 05:34:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:34:43 +0000 (UTC) Return-Path: Original-Received: (qmail 14102 invoked from network); 2 Mar 2002 17:15:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Mar 2002 17:15:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16hD5v-0005jB-00; Sat, 02 Mar 2002 11:14:51 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 02 Mar 2002 11:14:52 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA12088 for ; Sat, 2 Mar 2002 11:14:40 -0600 (CST) Original-Received: (qmail 14086 invoked by alias); 2 Mar 2002 17:14:34 -0000 Original-Received: (qmail 14081 invoked from network); 2 Mar 2002 17:14:34 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 2 Mar 2002 17:14:34 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16hDAi-0005K9-00 for ; Sat, 02 Mar 2002 18:19:48 +0100 Original-To: ding@gnus.org Original-Path: theotp5.physik.uni-ulm.de!nobody Original-Newsgroups: gnus.ding Original-Lines: 54 Original-NNTP-Posting-Host: theotp5.physik.uni-ulm.de Original-X-Trace: quimby2.netfonds.no 1015089588 20468 134.60.10.145 (2 Mar 2002 17:19:48 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 2 Mar 2002 17:19:48 GMT X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i586-pc-linux-gnu) Cancel-Lock: sha1:n8Gb8spVBoJHu1exiXgBriZlJKs= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43381 Hi, normally I use Gnus (from CVS, last update on Feb 24) with Emacs 21.1. Sometimes I use Emacs 20.7 with the same installation of Gnus. For both, I have `(set-language-environment "Latin-1")'. With Emacs 21.1 I added a the following score entry (using "10Last" in the summary buffer): | ("from" | ("die Gei\216ßel der Galaxis" -10 730911 s) ^^^^ a single character AFAICS, the original From-line was encoded correctly: `=?ISO-8859-1?Q?Gei=DFel?='. But, when I use Gnus with Emacs 20.7, I get: ,----[ *Messages* ] | Loading gnus-score...done | Problem with score file /home/dept/ste/News/score/all.SCORE | Scoring... `---- ... and other entries from the score file are ignored. I didn't get a backtrace, but the error comes from gnus-score.el: ,----[ gnus-score.el ] | ;; Only do the loading if the score file isn't empty. | (when (save-excursion (re-search-forward "[()0-9a-zA-Z]" nil t)) | (setq alist | (condition-case () | (read (current-buffer)) | (error | (gnus-error 3.2 "Problem with score file %s" file)))))) `---- So I did (read (current-buffer)) manually and I get a backtrace: ,---- | Signaling: (error "Invalid character: 07537, 3935, 0xf5f") | read(#) | eval((read (current-buffer))) | eval-expression((read (current-buffer)) nil) | call-interactively(eval-expression) `---- Is there some variable I should set? Is it necessary to specify the coding system in the score files? Shouldn't this happen automatically because it may also happen in files from adaptive scoring? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/