unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* wish: notmuch-emacs: handle RFC822 attachments as email (allow for replying)
@ 2019-11-13  8:42 Gregor Zattler
  2019-11-13  9:44 ` David Edmondson
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Zattler @ 2019-11-13  8:42 UTC (permalink / raw)
  To: notmuch

Dear notmuch developers,

notmuch-emacs shows rfc822 attachments as emails which is nice,
but with point in such attachment it is not possible to act on it
as an email as for instance reply to it.

It would be nice if replying and forwarding such
email-as-attachment would be possible.


As a mailing list owner I get emails from mailman if mails are
for some reason to be approved before distribution.  They contain
two rfc822 Attachments: The original email which is to be
approved and a second email to which I am could reply in order to
delete or approve said message.  This is an incredibly useful
interface to mailman since it does not involve a context switch.
You read the mailinglist and act on emails, that's it.  Sadly
with notmoch-show this is not possible (as for instance is with
mutt).

Thanks for your attention, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wish: notmuch-emacs: handle RFC822 attachments as email (allow for replying)
  2019-11-13  8:42 wish: notmuch-emacs: handle RFC822 attachments as email (allow for replying) Gregor Zattler
@ 2019-11-13  9:44 ` David Edmondson
  2019-11-21  2:31   ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 3+ messages in thread
From: David Edmondson @ 2019-11-13  9:44 UTC (permalink / raw)
  To: Gregor Zattler, notmuch

On Wednesday, 2019-11-13 at 09:42:26 +01, Gregor Zattler wrote:

> Dear notmuch developers,
>
> notmuch-emacs shows rfc822 attachments as emails which is nice,
> but with point in such attachment it is not possible to act on it
> as an email as for instance reply to it.
>
> It would be nice if replying and forwarding such
> email-as-attachment would be possible.
>
>
> As a mailing list owner I get emails from mailman if mails are
> for some reason to be approved before distribution.  They contain
> two rfc822 Attachments: The original email which is to be
> approved and a second email to which I am could reply in order to
> delete or approve said message.  This is an incredibly useful
> interface to mailman since it does not involve a context switch.
> You read the mailinglist and act on emails, that's it.  Sadly
> with notmoch-show this is not possible (as for instance is with
> mutt).

Two approaches to this occur to me:

1. extract the attachment, add it to the database and use normal reply
   processing (maybe remember to remove the message from the database
   after?),
2. hack something just in the emacs UI to generate a reply to the part.

The second is probably quicker to implement, but will side-step a bunch
of normal notmuch processing of the reply (whether this is important or
not I'm unsure).

The first seems “right”, but is perhaps invasive?

dme.
-- 
I'm not living in the real world, no more, no more.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wish: notmuch-emacs: handle RFC822 attachments as email (allow for replying)
  2019-11-13  9:44 ` David Edmondson
@ 2019-11-21  2:31   ` Daniel Kahn Gillmor
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2019-11-21  2:31 UTC (permalink / raw)
  To: David Edmondson, Gregor Zattler, notmuch

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

On Wed 2019-11-13 09:44:41 +0000, David Edmondson wrote:
> 1. extract the attachment, add it to the database and use normal reply
>    processing (maybe remember to remove the message from the database
>    after?),

I do this in the notmuch-emacs interface with:

   . | notmuch insert

I don't bother removing it from the database afterward, i'm happy to
have it retained in the db as a first-class object for future reference.

  --dkg

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-21  5:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  8:42 wish: notmuch-emacs: handle RFC822 attachments as email (allow for replying) Gregor Zattler
2019-11-13  9:44 ` David Edmondson
2019-11-21  2:31   ` Daniel Kahn Gillmor

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).