Gnus development mailing list
 help / color / mirror / Atom feed
* Scoring on From: with non-ascii chars
@ 2000-06-20 14:57 Pavel Janík ml.
  2000-06-21  7:37 ` Holger Sparr
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Pavel Janík ml. @ 2000-06-20 14:57 UTC (permalink / raw)


Hi,

I have just increased the score on the From: on Kai's letter in
gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
file contains five lines with Kai's name and full address. However, Gnus do
not score Kai's articles higher, because he uses sharp S in his name. Can
anyone test it?
-- 
Pavel Janík ml.
Pavel.Janik@linux.cz



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
@ 2000-06-21  7:37 ` Holger Sparr
  2000-06-21 15:02   ` temporarily scoring (was: Scoring on From: with non-ascii chars) Andreas Fuchs
  2000-06-21 16:57   ` Scoring on From: with non-ascii chars Pavel Janík ml.
  2000-06-21  9:53 ` Norbert Koch
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 12+ messages in thread
From: Holger Sparr @ 2000-06-21  7:37 UTC (permalink / raw)
  Cc: GNUS mailing list

Pavel.Janik@linux.cz (Pavel Janík ml.) writes:

> Hi,
> 
> I have just increased the score on the From: on Kai's letter in
> gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
> file contains five lines with Kai's name and full address. However, Gnus do
> not score Kai's articles higher, because he uses sharp S in his name. Can
> anyone test it?

You should use a numerical argument like (2 0 0 I a e p) or use (I A)
which scores with the default of 1000. Scoring with (I A) results in
a temporary score entry, though.

Holger

--




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
  2000-06-21  7:37 ` Holger Sparr
@ 2000-06-21  9:53 ` Norbert Koch
  2000-06-21 10:35 ` Holger Sparr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Norbert Koch @ 2000-06-21  9:53 UTC (permalink / raw)
  Cc: GNUS mailing list

Pavel.Janik@linux.cz (Pavel Janík ml.) writes:

> I have just increased the score on the From: on Kai's letter in
> gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
> file contains five lines with Kai's name and full address. However, Gnus do
> not score Kai's articles higher, because he uses sharp S in his name. Can
> anyone test it?

Not quite what you need, but you can increase the score either on a
regular expression in which you replace the special character(s) with
a wildcard or by using a substring which is reduced to the
mail-address only. This would be sufficient and doesn't contain
non-ascii characters.

norbert
-- 
Is this going to involve RAW human ecstasy?




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
  2000-06-21  7:37 ` Holger Sparr
  2000-06-21  9:53 ` Norbert Koch
@ 2000-06-21 10:35 ` Holger Sparr
  2000-06-21 11:49 ` Mike Fabian
  2000-06-27 13:19 ` Dave Love
  4 siblings, 0 replies; 12+ messages in thread
From: Holger Sparr @ 2000-06-21 10:35 UTC (permalink / raw)


Pavel.Janik@linux.cz (Pavel Janík ml.) writes:

> Hi,
> 
> I have just increased the score on the From: on Kai's letter in
> gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
> file contains five lines with Kai's name and full address. However, Gnus do
> not score Kai's articles higher, because he uses sharp S in his name. Can
> anyone test it?

I cannot confirm the behavior you described. Try using a numerical
argument for increasing the score like this:

2 0 0 I a e p 

Another way is using `I A' which produces a default score of 1000. The
created score entry is temporary, though.

Holger

-- 
Using Gnus 5.8.3 with Emacs 20.3.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
                   ` (2 preceding siblings ...)
  2000-06-21 10:35 ` Holger Sparr
@ 2000-06-21 11:49 ` Mike Fabian
  2000-06-27 13:19 ` Dave Love
  4 siblings, 0 replies; 12+ messages in thread
From: Mike Fabian @ 2000-06-21 11:49 UTC (permalink / raw)
  Cc: GNUS mailing list

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Pavel.Janik@linux.cz (Pavel Janík ml.) writes:

> I have just increased the score on the From: on Kai's letter in
> gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
> file contains five lines with Kai's name and full address. However, Gnus do
> not score Kai's articles higher, because he uses sharp S in his name. Can
> anyone test it?

It works for me. Gnus does score Kai's articles higher, after I used
`I A'. If I look into the contents of the score file, I can't see
the sharp S correctly though, I only see a small circle


[-- Attachment #2: nnml:ding.SCORE --]
[-- Type: application/octet-stream, Size: 106 bytes --]

[-- Attachment #3: Type: text/plain, Size: 482 bytes --]


But the scoring works nevertheless.

I thought it might work for me because I have 

    (setq score-mode-coding-system mm-auto-save-coding-system)

in my .gnus.el file. I added this because of Shenghuo ZHU's message
Message-ID: <5bk8g55os3.fsf@heart.cs.rochester.edu> in this mailing list.
For being able to score Japanese subjects this line seems to be necessary.

But scoring Kai's messages works for me even if I remove this line again.

-- 
Mike Fabian   <mike.fabian@gmx.de>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* temporarily scoring (was: Scoring on From: with non-ascii chars)
  2000-06-21  7:37 ` Holger Sparr
@ 2000-06-21 15:02   ` Andreas Fuchs
  2000-06-21 22:53     ` Mike Fabian
  2000-06-21 16:57   ` Scoring on From: with non-ascii chars Pavel Janík ml.
  1 sibling, 1 reply; 12+ messages in thread
From: Andreas Fuchs @ 2000-06-21 15:02 UTC (permalink / raw)



Today, Holger Sparr <sparr+ding@mfkrs1.mw.tu-dresden.de> wrote:
> You should use a numerical argument like (2 0 0 I a e p) or use (I A)
> which scores with the default of 1000. Scoring with (I A) results in
> a temporary score entry, though.

How temporary is "temporary", then?

<cite source=info-gnus-scoring>
   There are two sorts of scoring entries: Permanent and temporary.
Temporary score entries are self-expiring entries.  Any entries that are
temporary and have not been used for, say, a week, will be removed
silently to help keep the sizes of the score files down.
</cite>

Which variable, then, determines how long entries will be kept in the
score file if they are "temporary"?
Do the temp entries go away only after they have been unused for, say,
a week?

Questions onna stick, get your question onna stick!

> Holger

thanks for answering and goodbye,
-- 
Andreas Stefan Fuchs                             in Real Life aka
asf@acm.org, asfuchs@gmx.at, asf@ycom.at         in NNTP and SMTP,
antifuchs                                        in IRCNet and
Relf Herbstfresser, Male 1/2 Elf Priest          in AD&D



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-21  7:37 ` Holger Sparr
  2000-06-21 15:02   ` temporarily scoring (was: Scoring on From: with non-ascii chars) Andreas Fuchs
@ 2000-06-21 16:57   ` Pavel Janík ml.
  1 sibling, 0 replies; 12+ messages in thread
From: Pavel Janík ml. @ 2000-06-21 16:57 UTC (permalink / raw)
  Cc: GNUS mailing list

   From: Holger Sparr <sparr+ding@mfkrs1.mw.tu-dresden.de>
   Date: 21 Jun 2000 09:37:23 +0200

Hi,

   > You should use a numerical argument like (2 0 0 I a e p) or use (I A)
   > which scores with the default of 1000. Scoring with (I A) results in
   > a temporary score entry, though.

hmm, probably I did not wrote it clearly. When I do Iaep it scores Kai's
mails. Ok. Just Tick (!) one of them and close the current summary buffer
(q). Enter the same group again. Kai's mails are NOT scored higher even I
have his name in the score file, because the score file entry does not
match the From:header, because he has ISO-8859-1 letter in this header. Is
it the same for you who told me that I can not score letters? :-) I use
scoring very heavily by almost every header you can find and have no
problems except this one :-(
-- 
Pavel Janík ml.
Pavel.Janik@linux.cz



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: temporarily scoring (was: Scoring on From: with non-ascii chars)
  2000-06-21 15:02   ` temporarily scoring (was: Scoring on From: with non-ascii chars) Andreas Fuchs
@ 2000-06-21 22:53     ` Mike Fabian
  0 siblings, 0 replies; 12+ messages in thread
From: Mike Fabian @ 2000-06-21 22:53 UTC (permalink / raw)
  Cc: ding

Andreas Fuchs <asf@acm.org> writes:

> How temporary is "temporary", then?
> 
> <cite source=info-gnus-scoring>
>    There are two sorts of scoring entries: Permanent and temporary.
> Temporary score entries are self-expiring entries.  Any entries that are
> temporary and have not been used for, say, a week, will be removed
> silently to help keep the sizes of the score files down.
> </cite>
> 
> Which variable, then, determines how long entries will be kept in the
> score file if they are "temporary"?

`gnus-score-expiry-days' is a variable declared in Lisp.
  -- loaded from "gnus-score"

Value: 30   <- default is 7

Documentation:
*Number of days before unused score file entries are expired.
If this variable is nil, no score file entries will be expired.

-- 
Mike Fabian   <mike.fabian@gmx.de>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
                   ` (3 preceding siblings ...)
  2000-06-21 11:49 ` Mike Fabian
@ 2000-06-27 13:19 ` Dave Love
  2000-06-27 22:54   ` Shenghuo ZHU
  4 siblings, 1 reply; 12+ messages in thread
From: Dave Love @ 2000-06-27 13:19 UTC (permalink / raw)
  Cc: bugs

>>>>> "PJm" == Pavel Janík ml <Pavel.Janik@linux.cz> writes:

or, rather, (Pavel =?iso-8859-2?q?Jan=EDk?= ml.) does:

 PJm> Hi,
 PJm> I have just increased the score on the From: on Kai's letter in
 PJm> gnu.emacs.help. I did the same thing (I a e p) fourth time and my score
 PJm> file contains five lines with Kai's name and full address. However, Gnus do
 PJm> not score Kai's articles higher, because he uses sharp S in his name. Can
 PJm> anyone test it?

It will work in a Latin-1 or unibyte session, as will scoring on a
Latin-2 `í'.

Clearly score files need to use emacs-mule coding or, rather, whatever
the Gnus variable is that abstracts this over Emacs and XEmacs.  At
least in Emacs, an entry for score files in `file-coding-system-alist'
ought to do the trick.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-27 13:19 ` Dave Love
@ 2000-06-27 22:54   ` Shenghuo ZHU
  2000-06-28 17:08     ` Dave Love
  0 siblings, 1 reply; 12+ messages in thread
From: Shenghuo ZHU @ 2000-06-27 22:54 UTC (permalink / raw)


Dave Love <d.love@dl.ac.uk> writes:

> It will work in a Latin-1 or unibyte session, as will scoring on a
> Latin-2 `í'.
> 
> Clearly score files need to use emacs-mule coding or, rather,
> whatever the Gnus variable is that abstracts this over Emacs and
> XEmacs.  At least in Emacs, an entry for score files in
> `file-coding-system-alist' ought to do the trick.

Maybe not. When writing a SCORE file, Gnus binds
coding-system-for-write to score-mode-coding-system (which is binary).

Shenghuo



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-27 22:54   ` Shenghuo ZHU
@ 2000-06-28 17:08     ` Dave Love
  2000-06-28 17:45       ` Shenghuo ZHU
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Love @ 2000-06-28 17:08 UTC (permalink / raw)


>>>>> "ZSH" == Shenghuo ZHU <zsh@cs.rochester.edu> writes:

 ZSH> Maybe not. When writing a SCORE file, Gnus binds
 ZSH> coding-system-for-write to score-mode-coding-system (which is binary).

Thanks for the correction.  How about this?

2000-06-28  Dave Love  <fx@gnu.org>

	* score-mode.el: Don't require easymenu (autoloaded).  Require
	mm-util.
	(score-mode-coding-system): Default to mm-auto-save-coding-system.

Index: score-mode.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/score-mode.el,v
retrieving revision 5.4
diff -u -p -c -r5.4 score-mode.el
cvs server: conflicting specifications of output style
*** score-mode.el	1998/10/19 22:25:10	5.4
--- score-mode.el	2000/06/27 17:05:14
***************
*** 25,32 ****
  
  ;;; Code:
  
- (require 'easymenu)
  (eval-when-compile (require 'cl))
  
  (defvar gnus-score-mode-hook nil
    "*Hook run in score mode buffers.")
--- 25,32 ----
  
  ;;; Code:
  
  (eval-when-compile (require 'cl))
+ (require 'mm-util)			; for mm-auto-save-coding-system
  
  (defvar gnus-score-mode-hook nil
    "*Hook run in score mode buffers.")
***************
*** 51,57 ****
      table)
    "Syntax table used in score-mode buffers.")
  
! (defvar score-mode-coding-system 'binary)
  
  ;;;###autoload
  (defun gnus-score-mode ()
--- 51,57 ----
      table)
    "Syntax table used in score-mode buffers.")
  
! (defvar score-mode-coding-system mm-auto-save-coding-system)
  
  ;;;###autoload
  (defun gnus-score-mode ()



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Scoring on From: with non-ascii chars
  2000-06-28 17:08     ` Dave Love
@ 2000-06-28 17:45       ` Shenghuo ZHU
  0 siblings, 0 replies; 12+ messages in thread
From: Shenghuo ZHU @ 2000-06-28 17:45 UTC (permalink / raw)


Dave Love <d.love@dl.ac.uk> writes:

> >>>>> "ZSH" == Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> 
>  ZSH> Maybe not. When writing a SCORE file, Gnus binds
>  ZSH> coding-system-for-write to score-mode-coding-system (which is binary).
> 
> Thanks for the correction.  How about this?
> 
> 2000-06-28  Dave Love  <fx@gnu.org>
> 
> 	* score-mode.el: Don't require easymenu (autoloaded).  Require
> 	mm-util.
> 	(score-mode-coding-system): Default to mm-auto-save-coding-system.

I think it is OK.

Shenghuo



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-06-28 17:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20 14:57 Scoring on From: with non-ascii chars Pavel Janík ml.
2000-06-21  7:37 ` Holger Sparr
2000-06-21 15:02   ` temporarily scoring (was: Scoring on From: with non-ascii chars) Andreas Fuchs
2000-06-21 22:53     ` Mike Fabian
2000-06-21 16:57   ` Scoring on From: with non-ascii chars Pavel Janík ml.
2000-06-21  9:53 ` Norbert Koch
2000-06-21 10:35 ` Holger Sparr
2000-06-21 11:49 ` Mike Fabian
2000-06-27 13:19 ` Dave Love
2000-06-27 22:54   ` Shenghuo ZHU
2000-06-28 17:08     ` Dave Love
2000-06-28 17:45       ` Shenghuo ZHU

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).