unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org
Subject: Re: Save multiple / all attachments without prompting (unless overwriting)
Date: Wed, 10 Apr 2019 15:21:36 +0200	[thread overview]
Message-ID: <87sguq9esf.fsf@ambrevar.xyz> (raw)
In-Reply-To: <m2tvf611ff.fsf@dme.org>

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Hi David,

Thanks for the suggestion!

> You might be able to avoid mm altogether and go direct to notmuch to
> save the parts, which might make things a bit easier to control from the
> front end.
>
> Iterate over the buttons in the region, examining them to see if they
> are attachments, then provoke the 'save' method (which might need some
> surgery to use a default directory and avoid prompting).

Unless I'm misunderstood, it seems that notmuch dispatches all the
saving to `mm-save-part'.  I don't see how to avoid mm without
re-implementing a big part of mm.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2019-04-10 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20  9:11 Save multiple / all attachments without prompting (unless overwriting) Pierre Neidhardt
2019-04-10 10:35 ` Pierre Neidhardt
2019-04-10 12:37   ` David Edmondson
2019-04-10 13:21     ` Pierre Neidhardt [this message]

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=87sguq9esf.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=dme@dme.org \
    --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).