From: Jani Nikula <jani@nikula.org>
To: David Bremner <david@tethera.net>,
Arun Isaac <arunisaac@systemreboot.net>,
notmuch@notmuchmail.org
Subject: Re: notmuch-emacs: Fcc to top-level directory given by database.path
Date: Mon, 02 Oct 2017 19:29:15 +0300 [thread overview]
Message-ID: <873771ikdg.fsf@nikula.org> (raw)
In-Reply-To: <87y3owr22c.fsf@nikula.org>
On Sat, 30 Sep 2017, Jani Nikula <jani@nikula.org> wrote:
> On Sat, 23 Sep 2017, David Bremner <david@tethera.net> wrote:
>> Do you happen to know if it calls with an empty string as the folder
>> name? It would be consistent with searching for that to insert at the
>> top level.
>
> notmuch insert --folder= or --folder="" does not work:
>
> String argument for option "folder" must be non-empty.
> Unrecognized option: --folder=
>
> It seems that our argument parser doesn't accept empty strings at all,
> which is a bit of a limitation. It would be logical for the empty string
> to work here, and AFAICT the notmuch insert code would handle this if
> the argument was let through the parsing.
Turns out this is trivial to address on top of the arg parsing series:
id:20171002162552.4827-1-jani@nikula.org.
BR,
Jani.
next prev parent reply other threads:[~2017-10-02 16:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-23 9:37 notmuch-emacs: Fcc to top-level directory given by database.path Arun Isaac
2017-09-23 11:41 ` David Bremner
2017-09-23 12:08 ` Mark Walters
2017-09-23 14:52 ` Arun Isaac
2017-09-24 12:14 ` David Bremner
2017-09-25 15:25 ` Tomi Ollila
2017-09-30 6:24 ` Mark Walters
2017-10-01 19:06 ` Arun Isaac
2017-10-02 6:48 ` Mark Walters
2017-10-02 16:03 ` Jani Nikula
2017-09-30 9:03 ` Jani Nikula
2017-10-02 16:29 ` Jani Nikula [this message]
2017-10-04 9:30 ` Arun Isaac
2018-06-06 14:04 ` David Bremner
2018-06-19 9:06 ` Arun Isaac
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873771ikdg.fsf@nikula.org \
--to=jani@nikula.org \
--cc=arunisaac@systemreboot.net \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).