From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15711 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.gnus.user Subject: Re: Is there exist a way to set score preference without all.SCORE? Date: Sun, 12 Aug 2012 11:30:55 +0300 Organization: At home. Message-ID: <87wr145x6o.fsf@gavenkoa.example.com> References: <87mx207kaz.fsf@gavenkoa.example.com> <871ujc7e45.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344760271 5223 80.91.229.3 (12 Aug 2012 08:31:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2012 08:31:11 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Aug 12 10:31:12 2012 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T0TZm-000878-Ex for gegu-info-gnus-english@m.gmane.org; Sun, 12 Aug 2012 10:31:10 +0200 Original-Received: from localhost ([::1]:57342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0TZl-0007qD-Kq for gegu-info-gnus-english@m.gmane.org; Sun, 12 Aug 2012 04:31:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0TZj-0007q8-NU for info-gnus-english@gnu.org; Sun, 12 Aug 2012 04:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0TZi-00083y-Pj for info-gnus-english@gnu.org; Sun, 12 Aug 2012 04:31:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0TZi-00081N-Di for info-gnus-english@gnu.org; Sun, 12 Aug 2012 04:31:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T0TZh-0007wH-8p for info-gnus-english@gnu.org; Sun, 12 Aug 2012 10:31:05 +0200 Original-Received: from 37.229.12.55 ([37.229.12.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Aug 2012 10:31:05 +0200 Original-Received: from gavenkoa by 37.229.12.55 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Aug 2012 10:31:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 37.229.12.55 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:Kukg5s+5hTMY+QqjK/G80vAuF78= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15711 Archived-At: 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!