Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Fernando de Morais <fernandodemorais.jf@gmail.com>
To: info-gnus-english@gnu.org
Subject: Help needed: nnmaildir and create-directory parameter.
Date: Wed, 23 Nov 2022 11:25:25 -0300	[thread overview]
Message-ID: <87y1s1oii2.fsf@gmail.com> (raw)

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 "news.gwene.org")
                            (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" "")))
#+end_src

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.


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

-- 
Regards,
Fernando de Morais.


             reply	other threads:[~2022-11-23 15:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 14:25 Fernando de Morais [this message]
2022-11-23 14:44 Fernando de Morais
2022-11-23 18:00 ` Eric Abrahamsen
2022-11-24  5:52   ` Fernando de Morais
2022-11-25 19:21     ` Eric Abrahamsen
2022-11-26  0:16       ` Andrew Cohen
2022-11-26 18:02         ` Eric Abrahamsen

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=87y1s1oii2.fsf@gmail.com \
    --to=fernandodemorais.jf@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /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).