[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sending patch with Gnus
From: |
Francis Moreau |
Subject: |
Re: Sending patch with Gnus |
Date: |
Fri, 17 Dec 2010 08:33:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Štěpán Němec <address@hidden> writes:
> Lars Magne Ingebrigtsen <address@hidden> writes:
>
>> Leo <address@hidden> writes:
>>
>>>>> I tweaked gnus-dired to support git-send-email (patches attached). So if
>>>>> you have gnus-dired loaded you can in dired buffer:
>>>>>
>>>>> C-c C-m C-i import patches as DRAFTS
>>>>> C-c C-m C-s send patches directly
>>>>
>>>> Is this for git only, or a general VC mechanism?
>>>
>>> It imports/sends any mbox files. So not related to any specific VC.
>>
>> Then the description of these commands is a bit misleading. :-)
>>
>> But the use case is that you have an entire mbox of messages, and you
>> want to send them all?
>
> Does Gnus have anything akin to Mutt's -H option?
>
> -H draft
> Specify a draft file which contains header and body to use to send a
> message.
>
I don't think so and that's mostly the whole point of the discussion.
>
> I.e., you do `mutt -H <mboxfile>' and Mutt opens the file, you can
>edit
> it the same as when composing a new message and then send it. Useful
> e.g. when sending single patches produced by `git format-patch'.
I tried it and that's indeed what I'd like to have with Gnus.
Except that Gnus could do better I guess, since I believe it could
handle a mbox file embedding several patches... Perhaps it would be
interesting to create a /draft/ group like it's possible to create a
nndoc group.
Also it would be nice if we could create a draft (group) from a buffer
(not only from a file), that would avoid to use a temporary mbox file
which I find a bit awkward. For example with mutt:
$ git format-patch --stdout HEAD~1 | mutt -H
Thanks
--
Francis
- Re: Sending patch with Gnus, (continued)
- Re: Sending patch with Gnus, Thierry Volpiatto, 2010/12/15
- Re: Sending patch with Gnus, Lars Magne Ingebrigtsen, 2010/12/16
- Message not available
- Re: Sending patch with Gnus, Lars Magne Ingebrigtsen, 2010/12/16
- Re: Sending patch with Gnus, Štěpán Němec, 2010/12/17
- Re: Sending patch with Gnus,
Francis Moreau <=
- Re: Sending patch with Gnus, Reiner Steib, 2010/12/18
- Re: Sending patch with Gnus, Štěpán Němec, 2010/12/19
Re: Sending patch with Gnus, Tassilo Horn, 2010/12/15