From: Elias Oltmanns <eo@nebensachen.de>
To: ding@gnus.org
Subject: Externally feeding the drafts folder -- git format-patch integration
Date: Sat, 22 Feb 2014 10:20:42 +0100 [thread overview]
Message-ID: <87eh2v5wr9.fsf@denkblock.local> (raw)
Hi there,
my question is how best to sneak externally drafted e-mails into the
gnus ecosystem in order to be able to post edit them, have them on file
after sending them off, have the registry know all about it for
splitting by parent etc. For example, I would like to smooth the way for
patch reviewal and discussion. Ideally, the work flow would look similar
to this:
1. Do some development in local git repository (using magit).
2. Generate a patch series from the local commits with a command like
$ git format-patch --thread --cover-letter --to developer@example.org \
--cc devel@list.example.org --stdout > ~/Mail/git.spool
3. Fire up gnus and have the patch series stored in ~/Mail/git.spool
magically appear in the drafts group so I can edit the cover letter
and possibly annotate some of the other messages too before sending
the off.
4. Replies to those e-mails should go to the corresponding devel folder
by means of gnus-registry-split-fancy-with-parent.
As you may have guessed, my setup is failing at step 3. My lain attempt
was to put the following into my .gnus.el:
(setq mail-sources
'((file :plugged t)
(file :path "~/Mail/git.spool" :plugged t)))
...
(setq nnmail-split-fancy
'(| ("x-gnus-mail-source" "git.spool" "nndraft:drafts")
...
(: gnus-registry-split-fancy-with-parent)
...
"INBOX"))
Unfortunately, the contents git.spool ends up in a newly created (and
masked) nnml directory nndraft:drafts under ~/Mail instead of the
special drafts group. Do you have any suggestions how to achieve this or
something similar?
Thanks in advance for all hints,
Elias
next reply other threads:[~2014-02-22 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 9:20 Elias Oltmanns [this message]
2014-02-27 14:32 ` Ted Zlatanov
2014-03-04 10:40 ` lee
2014-03-04 16:25 ` Elias Oltmanns
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=87eh2v5wr9.fsf@denkblock.local \
--to=eo@nebensachen.de \
--cc=ding@gnus.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).