Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnml-active-file customization
@ 2005-09-19 12:41 romeomedina
  2005-09-19 13:18 ` Albert Reiner
  0 siblings, 1 reply; 4+ messages in thread
From: romeomedina @ 2005-09-19 12:41 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-20 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-19 12:41 nnml-active-file customization romeomedina
2005-09-19 13:18 ` Albert Reiner
2005-09-19 15:45   ` David Z Maze
2005-09-20 13:15     ` romeomedina

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).