Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: romeomedina@libero.it
Subject: nnml-active-file customization
Date: 19 Sep 2005 05:41:28 -0700	[thread overview]
Message-ID: <1127133688.493087.217410@o13g2000cwo.googlegroups.com> (raw)

Hi.

I put in my ~/.emacs the following:

(setq my-nnml-directory "/path/to/my/nnml/directory/")

, and in my ~/.gnus.el the following
(see thread 'nnml-direcory customiztion' on the present newsgroup):

(setq gnus-select-method
       `(nnml ""
         (nnml-directory ,my-nnml-directory)))

, and it worked fine. Now, if I implement the gnus-select-method
setting this way:

(setq gnus-select-method
      `(nnml ""
	     (nnml-directory ,my-nnml-directory)
	     (nnml-active-file "/path/to/my/nnml/directory/bla-bla/active")
))

, everything seems to be all right: I get no error messages.
Instead, if I do:

(setq gnus-select-method
      `(nnml ""
	     (nnml-directory ,my-nnml-directory)
	     (nnml-active-file (concat my-nnml-directory "bla-bla/active"))
))

, when starting gnus I get an error message:

Wrong type argument: stringp, (concat my-nnml-directory
"bla-bla/active")

. I also tried with:

(setq gnus-select-method
      `(nnml ""
	     (nnml-directory ,my-nnml-directory)
	     `(nnml-active-file (concat ,my-nnml-directory "bla-bla/active"))
))

. This way I get no error messages but if I do: 'C-h v nnml-active-file
RET'
I see that the value of 'nnml-active-file' is not what I want,
i.e. "/path/to/my/nnml/directory/bla-bla/active".
Any suggestion about what the right syntax should be in ~/.gnus.el
in order to set 'nnml-active-file' to the desired value using 'concat'?

 
Thanks, 
Rodolfo


             reply	other threads:[~2005-09-19 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19 12:41 romeomedina [this message]
2005-09-19 13:18 ` Albert Reiner
2005-09-19 15:45   ` David Z Maze
2005-09-20 13:15     ` romeomedina

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=1127133688.493087.217410@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).