[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed: nnmaildir and create-directory parameter.

From: Fernando de Morais
Subject: Help needed: nnmaildir and create-directory parameter.
Date: Wed, 23 Nov 2022 11:25:25 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello everyone,

According to the manual, for a `nnmaildir' server, if my split rules
create new groups, I need to supply a `create-directory' server
parameter[1].  Ok, so considering the following example snippet:

#+begin_src emacs-lisp
  (customize-set-variable 'gnus-select-method '(nnnil ""))
  (customize-set-variable 'gnus-secondary-select-methods
                          '((nntp "")
                            (nnmaildir ""
                                       (directory "~/Mail/maildirs")
                                       (target-prefix "")
                                       (get-new-mail t)
                                       (create-directory ...)))) ; <-- Here
  (customize-set-variable 'mail-sources '((file :path "~/Mail/emaple_mbox")))
  (customize-set-variable 'nnmail-split-methods '(("inbox" "")))

Following the example snippet above, what is the expected value for the
parameter `create-directory'?  Unfortunately the manual brings no
details about expected values.

I've been experimenting with some ``logical'' values (basically the same
values accepted in `target-prefix' parameter), but every time I get an
error and an crash box[2].

Can anyone help me with this matter?

Thanks in advance.

[1]  (info "(gnus) Maildir")
[2]  (info "(gnus) Mail Source Customization")

Fernando de Morais.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]