* *.SCORE files being reformatted by gnus?
@ 1999-03-23 4:04 Dmitry Yaitskov
1999-03-23 17:55 ` Florian Weimer
0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Yaitskov @ 1999-03-23 4:04 UTC (permalink / raw)
Hi,
I noticed that my *.SCORE files are being reformatted by gnus, thus
not only chaning the indentation, but removing comments etc. Is this a
bug or a feature? If latter, can it be turned off? Thanks.
--
Cheers,
-Dima.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: *.SCORE files being reformatted by gnus?
1999-03-23 4:04 *.SCORE files being reformatted by gnus? Dmitry Yaitskov
@ 1999-03-23 17:55 ` Florian Weimer
1999-03-23 19:03 ` Dmitry Yaitskov
1999-03-23 20:55 ` Hallvard B Furuseth
0 siblings, 2 replies; 5+ messages in thread
From: Florian Weimer @ 1999-03-23 17:55 UTC (permalink / raw)
Cc: Ding
Dmitry Yaitskov <dimas@home.com> writes:
> I noticed that my *.SCORE files are being reformatted by gnus, thus
> not only chaning the indentation, but removing comments etc. Is this a
> bug or a feature?
I think it's a feature. Otherwise, expiring score entries and the
interactive scoring commands wouldn't work (or would be very, very hard
to implement in a satisfactory manner).
> If latter, can it be turned off? Thanks.
You can put the stuff that requires extensive comments (for example,
tricky regexps) into a separate file, put `(read-only t)' into it,
and include this file from the regular score file using `(file "blah")'.
But as a result, Gnus sometimes selects the wrong default score file
for the interactive scoring files (i.e., one of the read-only files).
You can correct that with
(setq gnus-home-score-file 'gnus-score-file-name)
in your ~/.gnus file.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: *.SCORE files being reformatted by gnus?
1999-03-23 17:55 ` Florian Weimer
@ 1999-03-23 19:03 ` Dmitry Yaitskov
1999-03-23 20:55 ` Hallvard B Furuseth
1 sibling, 0 replies; 5+ messages in thread
From: Dmitry Yaitskov @ 1999-03-23 19:03 UTC (permalink / raw)
Florian Weimer <fw@cygnus.stuttgart.netsurf.de> wrote:
> Dmitry Yaitskov <dimas@home.com> writes:
>
> > I noticed that my *.SCORE files are being reformatted by gnus, thus
> > not only chaning the indentation, but removing comments etc. Is this a
> > bug or a feature?
>
> I think it's a feature. Otherwise, expiring score entries and the
> interactive scoring commands wouldn't work (or would be very, very hard
> to implement in a satisfactory manner).
I see. Haven't thought of it. Thanks.
--
Cheers,
-Dima.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: *.SCORE files being reformatted by gnus?
1999-03-23 17:55 ` Florian Weimer
1999-03-23 19:03 ` Dmitry Yaitskov
@ 1999-03-23 20:55 ` Hallvard B Furuseth
1999-03-23 21:31 ` Dmitry Yaitskov
1 sibling, 1 reply; 5+ messages in thread
From: Hallvard B Furuseth @ 1999-03-23 20:55 UTC (permalink / raw)
Florian Weimer writes:
> You can put the stuff that requires extensive comments (for example,
> tricky regexps) into a separate file, put `(read-only t)' into it,
> and include this file from the regular score file using `(file "blah")'.
You can probably write it as (comment "....") at the outermost level in
the score alist, since Gnus appears to ignore unrecognized score
entries. I just put
((comment "foobar")
("subject"
("\\<Maxtemp\\>" -1000 nil r)
...more scores...)
in a *.SCORE file and used the I command to modify it, and the comment
stayed put. Though I wouldn't try to put a comment inside a list of
scores, e.g. between "subject" and ("\\<Maxtemp\\>" ...).
--
Hallvard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: *.SCORE files being reformatted by gnus?
1999-03-23 20:55 ` Hallvard B Furuseth
@ 1999-03-23 21:31 ` Dmitry Yaitskov
0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Yaitskov @ 1999-03-23 21:31 UTC (permalink / raw)
Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote:
> Florian Weimer writes:
> > You can put the stuff that requires extensive comments (for example,
> > tricky regexps) into a separate file, put `(read-only t)' into it,
> > and include this file from the regular score file using `(file "blah")'.
>
> You can probably write it as (comment "....") at the outermost level in
> the score alist, since Gnus appears to ignore unrecognized score
> entries.
Thank you, that's certainly a good idea. Will try it.
--
Cheers,
-Dima.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-03-23 21:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-23 4:04 *.SCORE files being reformatted by gnus? Dmitry Yaitskov
1999-03-23 17:55 ` Florian Weimer
1999-03-23 19:03 ` Dmitry Yaitskov
1999-03-23 20:55 ` Hallvard B Furuseth
1999-03-23 21:31 ` Dmitry Yaitskov
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).