Gnus development mailing list
 help / color / mirror / Atom feed
* funny score file names
@ 2000-02-11 19:06 Arnd Kohrs
  2000-04-20 21:39 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Kohrs @ 2000-02-11 19:06 UTC (permalink / raw)



Dear All,

I have come about a problem with score file name resolution:

I use the following statement (shortened) to assign groups to score files:

(setq gnus-home-score-file 
      '(
	("\\.gnus\\|\\.emacs\\|\\.bbdb\\|\\.ding\\|\\.auc-tex\\.nnimap" "emacs.SCORE")
	("^mail\\." "mail.SCORE")
	))

Now this results in the following score file assignment:

nnml:list.ding --> /homes/kohrs/News/nnml:listemacs.SCORE
                                     ^^^^^^^^^
gnu.emacs.help --> /homes/kohrs/News/gnuemacs.SCORE.help
                                     ^^^            ^^^^

What's going on?  Why is there a funny prefix etc?

Have a good WE,
Arnd.
-- 
Arnd Kohrs   -   kohrs@acm.org  -  http://www.eurecom.fr/~kohrs
              
The Active WebMuseum: Your personalized access to art paintings.
 Visit now ->  http://www.eurecom.fr/~kohrs/museum.html



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

* Re: funny score file names
  2000-02-11 19:06 funny score file names Arnd Kohrs
@ 2000-04-20 21:39 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2000-04-20 21:39 UTC (permalink / raw)


Arnd Kohrs <kohrs@acm.org> writes:

> I use the following statement (shortened) to assign groups to score files:
> 
> (setq gnus-home-score-file 
>       '(
> 	("\\.gnus\\|\\.emacs\\|\\.bbdb\\|\\.ding\\|\\.auc-tex\\.nnimap" "emacs.SCORE")
> 	("^mail\\." "mail.SCORE")
> 	))
> 
> Now this results in the following score file assignment:
> 
> nnml:list.ding --> /homes/kohrs/News/nnml:listemacs.SCORE
>                                      ^^^^^^^^^
> gnu.emacs.help --> /homes/kohrs/News/gnuemacs.SCORE.help
>                                      ^^^            ^^^^

>From `gnus-home-score-file':

	     ;; Regexp-file cons.
	     ((consp elem)
	      (when (string-match (gnus-globalify-regexp (car elem)) group)
		(replace-match (cadr elem) t nil group))))))

Er -- is this right?  It leads to the behavior seen above, which is
more than a bit counter-intuitive, I would have thought.  I can
understand the rationale, but shurely there must be a better way to do 
this...

-- 
(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:[~2000-04-20 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-11 19:06 funny score file names Arnd Kohrs
2000-04-20 21:39 ` 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).