Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is there exist a way to set score preference without all.SCORE?

9 views
Skip to first unread message

Oleksandr Gavenko

unread,
Aug 12, 2012, 1:26:12 AM8/12/12
to info-gnu...@gnu.org
I have best experience with '.emacs' to spread my config across different
hosts and store it in DVCS and install it with GNU Make and POSIX utilities.

As I know 'all.SCORE' auto-updated by Emacs. So I can't just overwrite it (am
I right?).

So I look for way to store setting from all.SCORE like:

(("from"
("Oleksandr Gavenko" 200))
("references"
("@gavenkoa.example.com" 100)
("@desktop.home.int" 100))

in '.emacs' or hint how install that config by using usual POSIX utilities.

--
Best regards!


Oleksandr Gavenko

unread,
Aug 12, 2012, 3:39:54 AM8/12/12
to info-gnu...@gnu.org
On 2012-08-12, Oleksandr Gavenko wrote:

> I have best experience with '.emacs' to spread my config across different
> hosts and store it in DVCS and install it with GNU Make and POSIX utilities.
>
> As I know 'all.SCORE' auto-updated by Emacs. So I can't just overwrite it (am
> I right?).
>
Still interesting...

> So I look for way to store setting from all.SCORE like:
>
> (("from"
> ("Oleksandr Gavenko" 200))
> ("references"
> ("@gavenkoa.example.com" 100)
> ("@desktop.home.int" 100))
>
> in '.emacs' or hint how install that config by using usual POSIX utilities.

As I think storing this settings in '.emacs' file is not possible. I read
'gnus-score-load-file' function from lisp/gnus/gnus-score.el and found that
Emacs uses 'gnus-score-cache' variable for holding scores. Which is alist of
files and associated parsed content.

So I try make such thing in my Makefile in order to install my settings:

install all.SCORE $HOME/.gnus/score

But see question in previous quotation.

--
Best regards!


Oleksandr Gavenko

unread,
Aug 12, 2012, 4:30:55 AM8/12/12
to info-gnu...@gnu.org
On 2012-08-12, Oleksandr Gavenko wrote:

> On 2012-08-12, Oleksandr Gavenko wrote:
>
>> I have best experience with '.emacs' to spread my config across different
>> hosts and store it in DVCS and install it with GNU Make and POSIX
>> utilities.
>>
>> As I know 'all.SCORE' auto-updated by Emacs. So I can't just overwrite it
>> (am I right?).
>>
> Still interesting...
>
See below...

>> So I look for way to store setting from all.SCORE like:
>>
>> (("from"
>> ("Oleksandr Gavenko" 200))
>> ("references"
>> ("@gavenkoa.example.com" 100)
>> ("@desktop.home.int" 100))
>>
>> in '.emacs' or hint how install that config by using usual POSIX utilities.
>
> As I think storing this settings in '.emacs' file is not possible. I read
> 'gnus-score-load-file' function from lisp/gnus/gnus-score.el and found that
> Emacs uses 'gnus-score-cache' variable for holding scores. Which is alist of
> files and associated parsed content.
>
I discover gnus-score-search-global-directories variable.

So you can point Gnus to separate all.SCORE file. I suppose...

But I don't tested that so:

> So I try make such thing in my Makefile in order to install my settings:
>
> install all.SCORE $HOME/.gnus/score
>
I think that's good.

But I change my mind if some competent users say what it really right thing.

--
Best regards!


0 new messages