Hello,

On Thu 17 Mar 2022 at 01:51PM -04, Daniel Kahn Gillmor wrote:

> Package: mailscripts
> Version: 0.24-1
> Severity: wishlist
> X-Debbugs-Cc: Jameson Rollins <jroll...@finestructure.net>
>
> notmuch has had an "insert" subcommand since notmuch 0.16 (2013-08-03,
> according to /usr/share/doc/notmuch/NEWS.gz
>
> rather than guessing at maildir paths or whatever, notmuch-slurp-debbug
> should just feed the retreived messages into "notmuch insert".
>
> For backward compatibility, if a "maildir" configuration variable is
> present, it could fall back to the old form of insertion, but emit a
> warning that it is doing so.

How about using 'notmuch insert --folder=<maildir>' if the old config
key is present, and not issuing a warning?

> When the old method is *not* used, we could add a passthrough option
> that lets the user append arbitrary arguments to "notmuch insert",
> which would also conveniently solve #995842.

Nice.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to