[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there exist a way to set score preference without all.SCORE?
From: |
Oleksandr Gavenko |
Subject: |
Re: Is there exist a way to set score preference without all.SCORE? |
Date: |
Sun, 12 Aug 2012 10:39:54 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
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!