Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: romeomedina@libero.it
Subject: Re: nnml directory customization
Date: 17 Sep 2005 00:34:40 -0700	[thread overview]
Message-ID: <1126942480.831335.31440@o13g2000cwo.googlegroups.com> (raw)
In-Reply-To: <v9psreugv9.fsf@marauder.physik.uni-ulm.de>

Rodolfo wrote:

> If I put in my ~/.gnus.el the following:
>
> (setq gnus-select-method
>       '(nnml ""
>         (nnml-directory "/path/to/my/nnml/directory")))
>
> , everything seems to be all right: I get no error messages.
> Instead, if I first put the following line:
>
> (setq my-nnml-directory "/path/to/my/nnml/directory")
>
> and then:
>
> (setq gnus-select-method
>       '(nnml ""
>         (nnml-directory my-nnml-directory)))
>
> , when starting gnus I get the following error message:
>
> nnml () open error: ''.  Continue? (y or n)
>
> . Why? Any idea?


David wrote:

> perhaps the most straightforward thing is
>
> (setq gnus-select-method
>       `(nnml ""
>         (nnml-directory ,my-nnml-directory)))
>
> (note the backquote and comma).


Reiner wrote:

> See (info "(elisp)Backquote") to learn more about "`" and ",".


Thanks indeed!
That worked fine.
Rodolfo


  reply	other threads:[~2005-09-17  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 16:12 romeomedina
2005-09-12 21:16 ` Reiner Steib
2005-09-17  7:34   ` romeomedina [this message]
2005-09-13 21:15 ` David Z Maze
2005-09-13 21:51   ` Feng Chen
2005-09-13 22:23     ` Adam Sjøgren

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=1126942480.831335.31440@o13g2000cwo.googlegroups.com \
    --to=romeomedina@libero.it \
    /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).