Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Is there exist a way to set score preference without all.SCORE?
Date: Sun, 12 Aug 2012 11:30:55 +0300	[thread overview]
Message-ID: <87wr145x6o.fsf@gavenkoa.example.com> (raw)
In-Reply-To: <871ujc7e45.fsf@gavenkoa.example.com>

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!

      reply	other threads:[~2012-08-12  8:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-12  5:26 Oleksandr Gavenko
2012-08-12  7:39 ` Oleksandr Gavenko
2012-08-12  8:30   ` Oleksandr Gavenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wr145x6o.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).