From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55784 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.gnus.general Subject: Re: No Gnus feature request: simpler file structure for synching Date: Tue, 06 Jan 2004 23:22:24 -0800 Sender: ding-owner@lists.math.uh.edu Message-ID: <873casgr4f.fsf@naz.lickey.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073460192 996 80.91.224.253 (7 Jan 2004 07:23:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 07:23:12 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M4324@lists.math.uh.edu Wed Jan 07 08:23:09 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ae820-0000lr-00 for ; Wed, 07 Jan 2004 08:23:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ae81W-0005Qg-00; Wed, 07 Jan 2004 01:22:38 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ae81L-0005Qa-00 for ding@lists.math.uh.edu; Wed, 07 Jan 2004 01:22:27 -0600 Original-Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by justine.libertine.org (Postfix) with ESMTP id D73B03A0026 for ; Wed, 7 Jan 2004 01:22:26 -0600 (CST) Original-Received: from naz.lickey.com (12-228-204-188.client.attbi.com[12.228.204.188]) by comcast.net (rwcrmhc13) with ESMTP id <2004010707222601500b5d7ee>; Wed, 7 Jan 2004 07:22:26 +0000 Original-Received: by naz.lickey.com (Postfix, from userid 1000) id ECE291867E; Tue, 6 Jan 2004 23:22:24 -0800 (PST) Original-To: John Owens In-Reply-To: (John Owens's message of "Tue, 06 Jan 2004 16:24:53 -0800") User-Agent: Gnus/5.1004 (Gnus v5.10.4) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55784 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55784 John Owens writes: > Unfortunately, the file structure for gnus is fairly complex. Kai > points out that he synchs the following files to move state: > > "~/.newsrc*, ~/Mail/, ~/News/, ~/.nnmail-cache, and ~/.authinfo" To solve similar problems, I have subdued Gnus into sticking all files under my ~/g/ directory with the following in my .emacs: ---------------------------------------------------------------------- (setq gnus-home-directory (expand-file-name "~/g/") nnmail-message-id-cache-file (concat gnus-home-directory ".nnmail-cache") mail-source-directory (concat gnus-home-directory "Mail/") mail-source-crash-box (concat mail-source-directory ".emacs-mail-crash-box") message-directory (concat gnus-home-directory "Mail/") gnus-startup-file (concat gnus-home-directory ".newsrc")) (setq-default gnus-init-file (expand-file-name "~/env/dot/gnus")) And the following in my .gnus (which is actually ~/env/dot/gnus, see above) ---------------------------------------------------------------------- (setq gnus-secondary-select-methods '((nnml "" (nnml-directory "/home/matt/g/nnml") (nnml-active-file "/home/matt/g/nnml/active") (nnml-newsgroupsfile "/home/matt/g/nnml/newsgroups")))) I haven't figured out the lispy magic required to use "~/g/nnml" etc. in the gnus-secondary-select-methods setq above. -- matt (UCD grad)