Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Is there exist a way to set score preference without all.SCORE?
@ 2012-08-12  5:26 Oleksandr Gavenko
  2012-08-12  7:39 ` Oleksandr Gavenko
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksandr Gavenko @ 2012-08-12  5:26 UTC (permalink / raw)
  To: info-gnus-english

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!

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

* Re: Is there exist a way to set score preference without all.SCORE?
  2012-08-12  5:26 Is there exist a way to set score preference without all.SCORE? Oleksandr Gavenko
@ 2012-08-12  7:39 ` Oleksandr Gavenko
  2012-08-12  8:30   ` Oleksandr Gavenko
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksandr Gavenko @ 2012-08-12  7:39 UTC (permalink / raw)
  To: info-gnus-english

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!

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

* Re: Is there exist a way to set score preference without all.SCORE?
  2012-08-12  7:39 ` Oleksandr Gavenko
@ 2012-08-12  8:30   ` Oleksandr Gavenko
  0 siblings, 0 replies; 3+ messages in thread
From: Oleksandr Gavenko @ 2012-08-12  8:30 UTC (permalink / raw)
  To: info-gnus-english

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!

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

end of thread, other threads:[~2012-08-12  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-12  5:26 Is there exist a way to set score preference without all.SCORE? Oleksandr Gavenko
2012-08-12  7:39 ` Oleksandr Gavenko
2012-08-12  8:30   ` Oleksandr Gavenko

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).