Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Possible bug in gnus-score-find-hierarchical
Date: 10 Jul 1997 20:27:56 +0200	[thread overview]
Message-ID: <m267uiyd77.fsf@proletcult.slip.ifi.uio.no> (raw)
In-Reply-To: Rajappa Iyer's message of 09 Jul 1997 13:04:25 -0400

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


      reply	other threads:[~1997-07-10 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-09 17:04 Rajappa Iyer
1997-07-10 18:27 ` Lars Magne Ingebrigtsen [this message]

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=m267uiyd77.fsf@proletcult.slip.ifi.uio.no \
    --to=larsi@gnus.org \
    /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).