From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55788 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: No Gnus feature request: simpler file structure for synching Date: Wed, 07 Jan 2004 13:44:09 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <87u138j5d2.fsf@emptyhost.emptydomain.de> References: <873casgr4f.fsf@naz.lickey.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073479495 2913 80.91.224.253 (7 Jan 2004 12:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 12:44:55 +0000 (UTC) Original-X-From: ding-owner+M4328@lists.math.uh.edu Wed Jan 07 13:44:51 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 1AeD3L-0007nS-00 for ; Wed, 07 Jan 2004 13:44:51 +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 1AeD2h-0006d7-00; Wed, 07 Jan 2004 06:44:11 -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 1AeD2V-0006cz-00 for ding@lists.math.uh.edu; Wed, 07 Jan 2004 06:43:59 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 187EC3A004B for ; Wed, 7 Jan 2004 06:43:59 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AeD2T-0005rX-00 for ; Wed, 07 Jan 2004 13:43:57 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 25 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de Original-X-Trace: quimby.gnus.org 1073479434 22014 213.203.244.156 (7 Jan 2004 12:43:54 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 7 Jan 2004 12:43:54 +0000 (UTC) User-Agent: Gnus/5.1004 (Gnus v5.10.4) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:ssxMuwj79mCN+rv4IyOFw2Zh1Fs= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55788 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55788 Matt Armstrong writes: > (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. (setq gnus-secondary-select-methods `((nnml "" (nnml-directory ,(expand-file-name "~/g/nnml")) (nnml-active-file ,(expand-file-name "~/g/nnml/active")) (nnml-newsgroupsfile ,(expand-file-name "~/g/nnml/newsgroups"))))) The trick is in the ` (backtick) and , (comma). But maybe it works to just say (nnml-directory "~/g/nnml")? Maybe Gnus groks the tilde. Kai