Gnus development mailing list
 help / color / mirror / Atom feed
* Possible bug in gnus-score-find-hierarchical
@ 1997-07-09 17:04 Rajappa Iyer
  1997-07-10 18:27 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Rajappa Iyer @ 1997-07-09 17:04 UTC (permalink / raw)


This refers to Gnus v5.4.62.

It seems that this function always finds the score files with the
gnus-adaptive-file-suffix. Is this by design? I'm using the following
patch so that it looks at SCORE, gnu.SCORE, gnu.emacs.SCORE etc. Is
this correct?

RCS file: /a/placebo/homes/placebo/rsi/src/master/gnus/lisp/gnus-score.el,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 gnus-score.el
2499c2499
<                    (gnus-score-file-name group gnus-adaptive-file-suffix))
---
>                    (gnus-score-file-name group))

-- 
Rajappa Iyer <rsi@lucent.com>		#include <std_disclaimer.h>
	They also surf who only stand on the waves.


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

* Re: Possible bug in gnus-score-find-hierarchical
  1997-07-09 17:04 Possible bug in gnus-score-find-hierarchical Rajappa Iyer
@ 1997-07-10 18:27 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-07-10 18:27 UTC (permalink / raw)


Rajappa Iyer <rsi@lucent.com> writes:

> It seems that this function always finds the score files with the
> gnus-adaptive-file-suffix. Is this by design? I'm using the following
> patch so that it looks at SCORE, gnu.SCORE, gnu.emacs.SCORE etc. Is
> this correct?
> 
> RCS file: /a/placebo/homes/placebo/rsi/src/master/gnus/lisp/gnus-score.el,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 gnus-score.el
> 2499c2499
> <                    (gnus-score-file-name group gnus-adaptive-file-suffix))
> ---
> >                    (gnus-score-file-name group))

I'm not quite sure what you're referring to here ("diff -c"!  "diff
-c"!  "diff -c"!), but it looks like this code:

    (setq all
	  (nconc
	   (mapcar (lambda (group)
		     (gnus-score-file-name group gnus-adaptive-file-suffix))
		   (setq all (nreverse all)))
	   (mapcar 'gnus-score-file-name all)))

The first mapcar uses the adaptive suffix, while the second doesn't.
Your version should give you each score file twice.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1997-07-10 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-09 17:04 Possible bug in gnus-score-find-hierarchical Rajappa Iyer
1997-07-10 18:27 ` Lars Magne Ingebrigtsen

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