From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61585 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general Subject: Re: nnml-directory not customizable Date: Mon, 19 Dec 2005 12:39:22 -0800 Organization: Newt Software Message-ID: <13295.1135024762@olgas.newt.com> References: <15901.1134757942@olgas.newt.com> <17279.1134762638@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135025479 23498 80.91.229.2 (19 Dec 2005 20:51:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 20:51:19 +0000 (UTC) Original-X-From: ding-owner+m10117@lists.math.uh.edu Mon Dec 19 21:51:08 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoRxK-00064z-SS for ding-account@gmane.org; Mon, 19 Dec 2005 21:50:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EoRx8-0000eW-00; Mon, 19 Dec 2005 14:49:50 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EoRnI-0000eR-00 for ding@lists.math.uh.edu; Mon, 19 Dec 2005 14:39:40 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EoRnC-00050O-01 for ding@lists.math.uh.edu; Mon, 19 Dec 2005 14:39:40 -0600 Original-Received: from 69-93-192-76.acornhosting.net ([69.93.192.76] helo=tassie.newt.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EoRn6-0008CD-00 for ; Mon, 19 Dec 2005 21:39:29 +0100 Original-Received: from olgas.newt.com (m110e36d0.tmodns.net [208.54.14.17]) by tassie.newt.com (Postfix) with ESMTP id 26D3C2D4013 for ; Mon, 19 Dec 2005 12:39:27 -0800 (PST) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id CB15816FE1; Mon, 19 Dec 2005 12:39:22 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id C696E16FAC for ; Mon, 19 Dec 2005 12:39:22 -0800 (PST) Original-To: ding@gnus.org In-Reply-To: Reiner Steib's message of Sat, 17 Dec 2005 00:27:03 +0100. X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 22.0.50.10 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61585 Archived-At: Reiner Steib wrote: > > By the way, how come nnml-directory isn't customizable? I have moved > > nearly my entire Gnus settings to customize except for that option. > > `nnml-directory' is a server variable: OK, now I get it. But there's a catch. I'd like to have something like the following in my customize-set-variables stanza: '(gnus-secondary-select-methods (quote ((nnml "" (nnml-directory (expand-file-name "lists" message-directory)))))) ... '(message-directory "~/var/mail/") However, I'm getting the following messages: Opening nnml server... Unable to open server due to: Wrong type argument: stringp, (expand-file-n... Opening nnml server...failed It would be nice not to have to hard-code the path to the nnml-directory in the secondary select method so I only have to modify message-directory if my directory changes. Any thoughts? Is the ability to have arbitrary forms as a server variable value a feature request? If so, the evaluation of the above form would have to happen *after* custom-set-variables is done so that it gets the correct value of message-directory. -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.