* 2010-01-29 11:53 (-0600), Ted Zlatanov wrote:
> On Thu, 21 Jan 2010 06:11:13 +0200 Teemu Likonen <[email protected]> wrote:
>> Gnus manual says in "(Gnus) Score File Format":
>> `eval'
>> The value of this entry will be `eval'el. This element will be
>> ignored when handling global score files.
>
>> Then what? What should the entry evaluate to? How does Gnus interpret
>> the result of evaluation? How can I use it with scoring?
>
> Nothing else in the score file is actually eval-ed, so you're limited
> to literal statements. It's like writing a function without macros.
> With an eval clause in the score file you can generate any of the
> other keys, including a string key which maps to a header. It's like
> an in-place macro.
Thanks, that's the kind of feature I'm looking for. So, if I understand
correctly, score file
((eval '("from"
("Author <...>" 1000 nil e))))
should be effectively equivalent with score file
(("from"
("Author <...>" 1000 nil e)))
But it's not. The score file which uses "eval" has no effect. Could you
(or someone) please give some simple example on how to use it?
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english